OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 <li><a href="api_index.html">chrome.* APIs</a></li> | 182 <li><a href="api_index.html">chrome.* APIs</a></li> |
183 <li><a href="api_other.html">Other APIs</a></li> | 183 <li><a href="api_other.html">Other APIs</a></li> |
184 </ul> | 184 </ul> |
185 </li> | 185 </li> |
186 <li><h2><a href="samples.html">Samples</a></h2></li> | 186 <li><h2><a href="samples.html">Samples</a></h2></li> |
187 </ul> | 187 </ul> |
188 </div> | 188 </div> |
189 | 189 |
190 <div class="g-unit" id="gc-pagecontent"> | 190 <div class="g-unit" id="gc-pagecontent"> |
191 <div id="pageTitle"> | 191 <div id="pageTitle"> |
192 <h1 class="page_title">Content Scripts - Google Chrome Extensions - Goog
le Code</h1> | 192 <h1 class="page_title">Content Scripts</h1> |
193 </div> | 193 </div> |
194 <!-- TABLE OF CONTENTS --> | 194 <!-- TABLE OF CONTENTS --> |
195 <div id="toc"> | 195 <div id="toc"> |
196 <h2>Contents</h2> | 196 <h2>Contents</h2> |
197 <ol> | 197 <ol> |
198 <li> | 198 <li> |
199 <a href="#registration">Manifest</a> | 199 <a href="#registration">Manifest</a> |
200 <ol> | 200 <ol> |
201 <li style="display: none; "> | 201 <li style="display: none; "> |
202 <a>h3Name</a> | 202 <a>h3Name</a> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 </ol> | 268 </ol> |
269 </li> | 269 </li> |
270 </ol> | 270 </ol> |
271 </li> | 271 </li> |
272 </div> | 272 </div> |
273 </ol> | 273 </ol> |
274 </div> | 274 </div> |
275 <!-- /TABLE OF CONTENTS --> | 275 <!-- /TABLE OF CONTENTS --> |
276 | 276 |
277 <!-- STATIC CONTENT PLACEHOLDER --> | 277 <!-- STATIC CONTENT PLACEHOLDER --> |
278 <div id="static"><div id="pageData-title" class="pageData">Content Scrip
ts</div> | 278 <div id="static"><div id="pageData-name" class="pageData">Content Script
s</div> |
279 <div id="pageData-showTOC" class="pageData">true</div> | 279 <div id="pageData-showTOC" class="pageData">true</div> |
280 | 280 |
281 <p> | 281 <p> |
282 Content scripts are JavaScript files that run in the context of web pages. | 282 Content scripts are JavaScript files that run in the context of web pages. |
283 By using the standard | 283 By using the standard |
284 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/">Document | 284 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/">Document |
285 Object Model</a> (DOM), | 285 Object Model</a> (DOM), |
286 they can read details of the web pages the browser visits, | 286 they can read details of the web pages the browser visits, |
287 or make changes to them. | 287 or make changes to them. |
288 </p> | 288 </p> |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 urchinTracker(); | 720 urchinTracker(); |
721 } | 721 } |
722 catch(e) {/* urchinTracker not available. */} | 722 catch(e) {/* urchinTracker not available. */} |
723 </script> | 723 </script> |
724 <!-- end analytics --> | 724 <!-- end analytics --> |
725 </div> | 725 </div> |
726 </div> <!-- /gc-footer --> | 726 </div> <!-- /gc-footer --> |
727 </div> <!-- /gc-container --> | 727 </div> <!-- /gc-container --> |
728 </body></html> | 728 </body></html> |
729 | 729 |
OLD | NEW |