OLD | NEW |
1 <div id="pageData-name" class="pageData">Content Scripts</div> | 1 <h1>Content Scripts</h1> |
2 <div id="pageData-showTOC" class="pageData">true</div> | 2 |
3 | 3 |
4 <p> | 4 <p> |
5 Content scripts are JavaScript files that run in the context of web pages. | 5 Content scripts are JavaScript files that run in the context of web pages. |
6 By using the standard | 6 By using the standard |
7 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/">Document | 7 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/">Document |
8 Object Model</a> (DOM), | 8 Object Model</a> (DOM), |
9 they can read details of the web pages the browser visits, | 9 they can read details of the web pages the browser visits, |
10 or make changes to them. | 10 or make changes to them. |
11 </p> | 11 </p> |
12 | 12 |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 </p> | 451 </p> |
452 | 452 |
453 <p> | 453 <p> |
454 The next video describes message passing, | 454 The next video describes message passing, |
455 featuring an example of a content script | 455 featuring an example of a content script |
456 sending a request to its parent extension. | 456 sending a request to its parent extension. |
457 </p> | 457 </p> |
458 | 458 |
459 <p> | 459 <p> |
460 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo
utube.com/embed/B4M_a7xejYI?rel=0" frameborder="0" allowfullscreen></iframe> | 460 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo
utube.com/embed/B4M_a7xejYI?rel=0" frameborder="0" allowfullscreen></iframe> |
461 </p> | 461 </p> |
OLD | NEW |