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

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

Issue 421443002: Add anchors to individual content_scripts properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 eca015edee7e9ed576ef9c6f1aef0da8026f70f7..b0b5cbf3c30bb6bf871db54a63eb49b8a40b2aec 100644
--- a/chrome/common/extensions/docs/templates/articles/content_scripts.html
+++ b/chrome/common/extensions/docs/templates/articles/content_scripts.html
@@ -112,7 +112,7 @@ can have the following properties:</p>
<th>Type</th>
<th>Description</th>
</tr>
- <tr>
+ <tr id="matches">
<td><code>matches</code></td>
<td>array of strings</td>
<td><em>Required.</em>
@@ -122,7 +122,7 @@ can have the following properties:</p>
and <a href="#match-patterns-globs">Match patterns and globs</a>
for information on how to exclude URLs.</td>
</tr>
- <tr>
+ <tr id="exclude_matches">
<td><code>exclude_matches</code></td>
<td>array of strings</td>
<td><em>Optional.</em>
@@ -133,7 +133,7 @@ can have the following properties:</p>
and <a href="#match-patterns-globs">Match patterns and globs</a>
for information on how to exclude URLs.</td>
</tr>
- <tr>
+ <tr id="match_about_blank">
<td><code>match_about_blank<code></td>
<td>boolean</td>
<td><em>Optional.</em>
@@ -147,13 +147,13 @@ can have the following properties:</p>
<br><br>
Defaults to <code>false</code>.</td>
</tr>
- <tr>
+ <tr id="css">
<td><code>css<code></td>
<td>array of strings</td>
<td><em>Optional.</em>
The list of CSS files to be injected into matching pages. These are injected in the order they appear in this array, before any DOM is constructed or displayed for the page.</td>
</tr>
- <tr>
+ <tr id="js">
<td><code>js<code></td>
<td><nobr>array of strings</nobr></td>
<td><em>Optional.</em>
@@ -182,7 +182,7 @@ can have the following properties:</p>
<b>Note:</b> With "document_idle", content scripts may not necessarily receive the <code>window.onload</code> event, because they may run after it has
already fired. In most cases, listening for the <code>onload</code> event is unnecessary for content scripts running at "document_idle" because they are guaranteed to run after the DOM is complete. If your script definitely needs to run after <code>window.onload</code>, you can check if <code>onload</code> has already fired by using the <code><a href="http://www.whatwg.org/specs/web-apps/current-work/#dom-document-readystate">document.readyState</a></code> property.</td>
</tr>
- <tr>
+ <tr id="all_frames">
<td><code>all_frames<code></td>
<td>boolean</td>
<td><em>Optional.</em>
@@ -190,14 +190,14 @@ can have the following properties:</p>
<br><br>
Defaults to <code>false</code>, meaning that only the top frame is matched.</td>
</tr>
- <tr>
+ <tr id="include_globs">
<td><code>include_globs</code></td>
<td>array of string</td>
<td><em>Optional.</em>
Applied after <code>matches</code> to include only those URLs that also match this glob. Intended to emulate the <a href="http://wiki.greasespot.net/Metadata_Block#.40include"><code>@include</code></a> Greasemonkey keyword.
See <a href="#match-patterns-globs">Match patterns and globs</a> below for more details.</td>
</tr>
- <tr>
+ <tr id="exclude_globs">
<td><code>exclude_globs</code></td>
<td>array of string</td>
<td><em>Optional.</em>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698