| OLD | NEW |
| 1 <div id="pageData-name" class="pageData">Content Scripts</div> | 1 <div id="pageData-name" class="pageData">Content Scripts</div> |
| 2 <div id="pageData-showTOC" class="pageData">true</div> | 2 <div id="pageData-showTOC" class="pageData">true</div> |
| 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. |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 </p> | 427 </p> |
| 428 | 428 |
| 429 <h2 id="videos"> Videos </h2> | 429 <h2 id="videos"> Videos </h2> |
| 430 | 430 |
| 431 <p> | 431 <p> |
| 432 The following videos discuss concepts that are important for content scripts. | 432 The following videos discuss concepts that are important for content scripts. |
| 433 The first video describes content scripts and isolated worlds. | 433 The first video describes content scripts and isolated worlds. |
| 434 </p> | 434 </p> |
| 435 | 435 |
| 436 <p> | 436 <p> |
| 437 <object width="560" height="340"><param name="movie" value="http://www.youtube.c
om/v/laLudeUmXHM&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="tr
ue"></param><param name="allowscriptaccess" value="always"></param><embed src="h
ttp://www.youtube.com/v/laLudeUmXHM&hl=en_US&fs=1&" type="application/x-shockwav
e-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="3
40"></embed></object> | 437 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo
utube.com/embed/laLudeUmXHM?rel=0" frameborder="0" allowfullscreen></iframe> |
| 438 </p> | 438 </p> |
| 439 | 439 |
| 440 <p> | 440 <p> |
| 441 The next video describes message passing, | 441 The next video describes message passing, |
| 442 featuring an example of a content script | 442 featuring an example of a content script |
| 443 sending a request to its parent extension. | 443 sending a request to its parent extension. |
| 444 </p> | 444 </p> |
| 445 | 445 |
| 446 <p> | 446 <p> |
| 447 <object width="560" height="340"><param name="movie" value="http://www.youtube.c
om/v/B4M_a7xejYI&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="tr
ue"></param><param name="allowscriptaccess" value="always"></param><embed src="h
ttp://www.youtube.com/v/B4M_a7xejYI&hl=en_US&fs=1&" type="application/x-shockwav
e-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="3
40"></embed></object> | 447 <iframe title="YouTube video player" width="640" height="390" src="http://www.yo
utube.com/embed/B4M_a7xejYI?rel=0" frameborder="0" allowfullscreen></iframe> |
| 448 </p> | 448 </p> |
| OLD | NEW |