| OLD | NEW |
| 1 <table class="intro"> | 1 <table class="intro"> |
| 2 <tr> | 2 <tr> |
| 3 <th scope="col"></th> | 3 <th scope="col"></th> |
| 4 <th scope="col"></th> | 4 <th scope="col"></th> |
| 5 </tr> | 5 </tr> |
| 6 <tr> | 6 <tr> |
| 7 <td><strong>Description:</strong></td> | |
| 8 <td>Use the <code>chrome.declarativeContent</code> module to take | |
| 9 actions depending on the content of a page, without requiring | |
| 10 permission to read the page's content (see <a | |
| 11 href="#usage">Usage</a>).</td> | |
| 12 </tr> | |
| 13 <tr> | |
| 14 <td><strong>Availability:</strong></td> | |
| 15 <td>Trunk</td> | |
| 16 </tr> | |
| 17 <tr> | |
| 18 <td><strong>Permissions:</strong></td> | 7 <td><strong>Permissions:</strong></td> |
| 19 <td><code>"declarativeContent"</code> | 8 <td><code>"declarativeContent"</code> |
| 20 <!--TODO: Mention host permissions if/when some actions require them.--> | 9 <!--TODO: Mention host permissions if/when some actions require them.--> |
| 21 </td> | 10 </td> |
| 22 </tr> | 11 </tr> |
| 23 <tr> | 12 <tr> |
| 24 <td><strong>Learn more:</strong></td> | 13 <td><strong>Learn more:</strong></td> |
| 25 <td><a href="events.html">Declarative Events</a><br/> | 14 <td><a href="events.html">Declarative Events</a><br/> |
| 26 The <a href="activeTab.html">activeTab</a> permission</td> | 15 The <a href="activeTab.html">activeTab</a> permission</td> |
| 27 </tr> | 16 </tr> |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 a faster matching algorithm. | 107 a faster matching algorithm. |
| 119 </p> | 108 </p> |
| 120 | 109 |
| 121 <p> | 110 <p> |
| 122 Combine the above rule with the <a href="activeTab.html">activeTab</a> | 111 Combine the above rule with the <a href="activeTab.html">activeTab</a> |
| 123 permission to create an extension that doesn't need any install-time | 112 permission to create an extension that doesn't need any install-time |
| 124 permissions but can invite the user to click its page action on | 113 permissions but can invite the user to click its page action on |
| 125 relevant pages and can run on those pages when the user clicks the | 114 relevant pages and can run on those pages when the user clicks the |
| 126 page action. | 115 page action. |
| 127 </p> | 116 </p> |
| OLD | NEW |