Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: chrome/common/extensions/docs/templates/articles/content_scripts.html

Issue 226663003: Allow content script insertion on about:-URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move GetEffectiveDocumentURL to ScriptContext Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/articles/content_scripts.html
diff --git a/chrome/common/extensions/docs/templates/articles/content_scripts.html b/chrome/common/extensions/docs/templates/articles/content_scripts.html
index c6a18098fb0df9baab358baf3f3463eb8a1cce55..c1bb6a6c6391c519551348457d0a35255420477a 100644
--- a/chrome/common/extensions/docs/templates/articles/content_scripts.html
+++ b/chrome/common/extensions/docs/templates/articles/content_scripts.html
@@ -134,6 +134,18 @@ can have the following properties:</p>
for information on how to exclude URLs.</td>
</tr>
<tr>
+ <td><code>match_about_blank<code></td>
+ <td>boolean</td>
+ <td><em>Optional.</em>
+ Whether to insert the content script on <code>about:blank</code> and
+ <code>about:srcdoc</code>. Content scripts will only be injected on pages if
+ your extension has access to the page's parent document. Scripts are only
+ inserted in a top-level <code>about:blank</code> frame when its opener is
+ accessible by the extension.
+ <br><br>
+ Defaults to <code>false</code>.</td>
+ </tr>
+ <tr>
<td><code>css<code></td>
<td>array of strings</td>
<td><em>Optional.</em>
« no previous file with comments | « chrome/common/extensions/api/tabs.json ('k') | chrome/common/extensions/manifest_handlers/content_scripts_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698