blob: 70afe31f244307c4e50838f079f109433ba9d6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!-- BEGIN AUTHORED CONTENT -->
<p id="classSummary">
The <code>chrome.extension</code> module
has utilities that can be used by any extension page.
</p>
<h2 id="content scripts">Support for content scripts</h2>
<p>
Unlike the other chrome.* APIs,
parts of <code>chrome.extension</code>
can be used by content scripts:
</p>
<dl>
<dt>
<a href="#method-connect"><code>connect()</code></a> and
<a href="#event-onConnect"><code>onConnect</code></a>
</dt>
<dd>
Communication with extension pages
</dd>
<dt>
<a href="#method-getURL"><code>getURL()</code></a>
</dt>
<dd>
Access to extension resources such as image files
</dd>
</dl>
<p>
For details, see
<a href="content_scripts.html">Content Scripts</a>.
</p>
<!-- END AUTHORED CONTENT -->
|