Commit 529bb7c2 authored by crystallambert@chromium.org's avatar crystallambert@chromium.org Committed by Commit Bot

[Extension Documentation]Allowing Access - Permissions

This adds documentation that explains users must
allow file:// urls through extension management page

Bug: 850693
Change-Id: I214bd285c076babb4ba6a7769db4d4a9c54c1916
Reviewed-on: https://chromium-review.googlesource.com/1093257Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Crystal Lambert <crystallambert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567384}
parent 9d6e1dc2
...@@ -165,6 +165,28 @@ ...@@ -165,6 +165,28 @@
<li>Accepting a suggestion from the <a href="omnibox">omnibox API</a> <li>Accepting a suggestion from the <a href="omnibox">omnibox API</a>
</ul> </ul>
<h2 id="allow_access">Allowing Access</h2>
<p>
If an extension needs to access <code>file://</code> URLs
or operate in incognito mode,
users will need to enable access for those features inside the extension’s
detail page at chrome://extensions.
</p>
<img id="allow_access_img" src="{{static}}/images/allow_access.png"
alt="Allow file urls and incognito mode on the extension detial page">
<p>
An extension can detect if it is enabled in incognito mode by calling
<a href="/extensions/extension#method-isAllowedIncognitoAccess"><code>
extension.isAllowedIncognitoAccess()
</a></code>
or able run on <code>file://</code> URLs with
<a href="/extensions/extension#method-isAllowedFileSchemeAccess"><code>
extension.isAllowedFileSchemeAccess()
</a></code>.
</p>
<h2 id="view_warnings">Understanding Permissions</h2> <h2 id="view_warnings">Understanding Permissions</h2>
<p> <p>
Permission warnings exist to describe the capabilities Permission warnings exist to describe the capabilities
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment