123456789101112131415161718192021222324 |
- {
- "manifest_version" : 2,
- "name" : "Let's use the real architecture",
- "description" : "Use a background file and an event page to handle event instead of working on popup.js",
- "version" : "1.0",
- "browser_action" : {
- "default_icon" : "images/icon.png",
- "default_popup" : "html/popup.html"
- },
- "background" : {
- "scripts" : ["js/background.js"]
- },
- "content_scripts" : [{
- "matches" : ["http://*/*", "https://*/*"],
- "js" : ["js/notification.js"]
- }]
- }
|