Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / common / extensions / docs / templates / intros / extension.html
blob0d00828c3707aecad8be63d0bb0c90fc8699fd9b
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>
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>
31 <p>
32 For details, see
33 <a href="content_scripts.html">Content Scripts</a>.
34 </p>