Home | History | Annotate | Download | only in intros
      1 <h2 id="manifest">Manifest</h2>
      2 <p>You must declare the "idle" permission in your extension's manifest to use the idle API.
      3 For example:
      4 </p>
      5 
      6 <pre data-filename="manifest.json">
      7 {
      8   "name": "My extension",
      9   ...
     10   <b>"permissions": [
     11     "idle"
     12   ]</b>,
     13   ...
     14 }
     15 </pre>
     16