diff --git a/extension/manifest.json b/extension/manifest.json new file mode 100644 index 0000000..51f0a12 --- /dev/null +++ b/extension/manifest.json @@ -0,0 +1,25 @@ +{ + "manifest_version": 2, + "name": "Custom JavaScript for Websites 2", + "short_name": "customjs", + "version": "2.2.0", + "author": "xcv58", + "description": "Run custom JavaScript on any website.", + "icons": { + "128": "img/icon_128.png" + }, + "content_scripts": [ { + "js": [ "lib/api.js" ], + "matches": [ "\u003Call_urls>" ] + }, { + "all_frames": true, + "js": [ "lib/run.js" ], + "matches": [ "\u003Call_urls>" ] + } ], + "browser_action": { + "default_icon": "img/icon.png", + "default_popup": "popup.html" + }, + "content_security_policy": "script-src 'self' https://*.googleapis.com; object-src 'self'", + "permissions": [ "storage", "http://*/", "https://*/", "tabs" ] +}