最終更新:2014-02-05 (水) 12:14:55 (3732d)
Google Chrome/拡張機能/イベントページ
https://developer.chrome.com/extensions/event_pages.html
概要
- 必要に応じてバックグラウンド動作 (Chrome 22~)
- 必要なときにロードされる
"background": { "scripts": ["eventPage.js"], "persistent": false },
- Google Chrome/拡張機能/バックグラウンドページにpersistent:falseを指定したもの。
ロードされるタイミング
- The app or extension is first installed or is updated to a new version (in order to register for events).
- The event page was listening for an event, and the event is dispatched.
- A content script or other extension sends a message.
- Another view in the extension (for example, a popup) calls runtime.getBackgroundPage?.