Html程序  |  19行  |  354 B

<div id="pageData-name" class="pageData">Idle</div>

<!-- BEGIN AUTHORED CONTENT -->
<h2 id="manifest">Manifest</h2>
<p>You must declare the "idle" permission in your extension's manifest to use the idle API.
For example:
</p>

<pre>{
  "name": "My extension",
  ...
  <b>"permissions": [
    "idle"
  ]</b>,
  ...
}</pre>

<!-- END AUTHORED CONTENT -->