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

Side by Side Diff: chrome/common/extensions/docs/content_scripts.html

Issue 430003: Revert change that disallowed content scripts access to file:// (Closed)
Patch Set: Can't go back, only through Created 11 years, 1 month 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 unified diff | Download patch
OLDNEW
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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 </li> 307 </li>
308 <li> 308 <li>
309 Use variables or functions defined by their extension's pages 309 Use variables or functions defined by their extension's pages
310 </li> 310 </li>
311 <li> 311 <li>
312 Use variables or functions defined by web pages or by other content scripts 312 Use variables or functions defined by web pages or by other content scripts
313 </li> 313 </li>
314 <li> 314 <li>
315 Make cross-site XMLHttpRequests 315 Make cross-site XMLHttpRequests
316 </li> 316 </li>
317 <li>
318 Execute on file:// urls.
319 </li>
320 </ul> 317 </ul>
321 318
322 <p> 319 <p>
323 These limitations aren't as bad as they sound. 320 These limitations aren't as bad as they sound.
324 Content scripts can <em>indirectly</em> use the chrome.* APIs, 321 Content scripts can <em>indirectly</em> use the chrome.* APIs,
325 get access to extension data, 322 get access to extension data,
326 and request extension actions 323 and request extension actions
327 by exchanging <a href="messaging.html">messages</a> 324 by exchanging <a href="messaging.html">messages</a>
328 with their parent extension. 325 with their parent extension.
329 Content scripts can also 326 Content scripts can also
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 urchinTracker(); 658 urchinTracker();
662 } 659 }
663 catch(e) {/* urchinTracker not available. */} 660 catch(e) {/* urchinTracker not available. */}
664 </script> 661 </script>
665 <!-- end analytics --> 662 <!-- end analytics -->
666 </div> 663 </div>
667 </div> <!-- /gc-footer --> 664 </div> <!-- /gc-footer -->
668 </div> <!-- /gc-container --> 665 </div> <!-- /gc-container -->
669 </body></html> 666 </body></html>
670 667
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698