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

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

Issue 426014: Merge 32770 - Revert change that disallowed content scripts access to... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: 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 | Annotate | Revision Log
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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 </li> 276 </li>
277 <li> 277 <li>
278 Use variables or functions defined by their extension's pages 278 Use variables or functions defined by their extension's pages
279 </li> 279 </li>
280 <li> 280 <li>
281 Use variables or functions defined by web pages or by other content scripts 281 Use variables or functions defined by web pages or by other content scripts
282 </li> 282 </li>
283 <li> 283 <li>
284 Make cross-site XMLHttpRequests 284 Make cross-site XMLHttpRequests
285 </li> 285 </li>
286 <li>
287 Execute on file:// urls.
288 </li>
289 </ul> 286 </ul>
290 287
291 <p> 288 <p>
292 These limitations aren't as bad as they sound. 289 These limitations aren't as bad as they sound.
293 Content scripts can <em>indirectly</em> use the chrome.* APIs, 290 Content scripts can <em>indirectly</em> use the chrome.* APIs,
294 get access to extension data, 291 get access to extension data,
295 and request extension actions 292 and request extension actions
296 by exchanging <a href="messaging.html">messages</a> 293 by exchanging <a href="messaging.html">messages</a>
297 with their parent extension. 294 with their parent extension.
298 Content scripts can also 295 Content scripts can also
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 urchinTracker(); 670 urchinTracker();
674 } 671 }
675 catch(e) {/* urchinTracker not available. */} 672 catch(e) {/* urchinTracker not available. */}
676 </script> 673 </script>
677 <!-- end analytics --> 674 <!-- end analytics -->
678 675
679 </div> <!-- /pageFooter --> 676 </div> <!-- /pageFooter -->
680 </div> <!-- /container --> 677 </div> <!-- /container -->
681 </body></html> 678 </body></html>
682 679
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/docs/static/content_scripts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698