summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static/cookies.html
blob: b74bdfe85e8cbd670db8ab1a179fe49034f837ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- BEGIN AUTHORED CONTENT -->
<h2 id="manifest">Manifest</h2>

<p>To use the cookies API,
you must declare the "cookies" permission in your manifest,
along with <a href="manifest.html#permissions">host permissions</a>
for any hosts whose cookies
you want to access.
For example:</p>

<pre>{
  "name": "My extension",
  ...
  <b>"permissions": [
    "cookies",
    "*://*.google.com"
  ]</b>,
  ...
}</pre>

<!-- END AUTHORED CONTENT -->