Home | History | Annotate | Download | only in intros
      1 <h2 id="content scripts">Support for content scripts</h2>
      2 <p>
      3 Unlike the other chrome.* APIs,
      4 parts of <code>chrome.extension</code>
      5 can be used by content scripts:
      6 </p>
      7 
      8 <dl>
      9   <dt>
     10     $ref:runtime.sendMessage and
     11     $ref:runtime.onMessage
     12   </dt>
     13   <dd>
     14     Simple communication with extension pages
     15   </dd>
     16   <dt>
     17     $ref:runtime.connect and
     18     $ref:runtime.onConnect
     19   </dt>
     20   <dd>
     21     Extended communication with extension pages
     22   </dd>
     23   <dt>
     24     $ref:extension.getURL
     25   </dt>
     26   <dd>
     27     Access to extension resources such as image files
     28   </dd>
     29 </dl>
     30 
     31 <p>
     32 For details, see
     33 <a href="content_scripts.html">Content Scripts</a>.
     34 </p>
     35