|
@@ -0,0 +1,59 @@
|
|
|
+{
|
|
|
+ "manifest_version": 3,
|
|
|
+ "name": "DeNet",
|
|
|
+ "description": "chrome extension",
|
|
|
+ "version": "0.0.1",
|
|
|
+ "background": {
|
|
|
+ "service_worker": "/js/background.js"
|
|
|
+ },
|
|
|
+ "icons": {
|
|
|
+ "16": "/logo/16.png",
|
|
|
+ "48": "/logo/48.png",
|
|
|
+ "128": "/logo/128.png"
|
|
|
+ },
|
|
|
+ "action": {
|
|
|
+ "default_popup": "popup.html"
|
|
|
+ // "default_icon": {
|
|
|
+ // "16": "/logo/16.png",
|
|
|
+ // "48": "/logo/48.png",
|
|
|
+ // "128": "/logo/128.png"
|
|
|
+ // }
|
|
|
+ },
|
|
|
+ "content_scripts": [
|
|
|
+ {
|
|
|
+ "matches": [
|
|
|
+ "<all_urls>"
|
|
|
+ ],
|
|
|
+ "run_at": "document_start",
|
|
|
+ "js": [
|
|
|
+ "/js/content.js"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "host_permissions": [
|
|
|
+ "*://*/*",
|
|
|
+ "https://de-net-test.piaoquantv.com"
|
|
|
+ ],
|
|
|
+ "permissions": [
|
|
|
+ "tabs",
|
|
|
+ "action",
|
|
|
+ "cookies",
|
|
|
+ "declarativeNetRequest",
|
|
|
+ "webNavigation",
|
|
|
+ "activeTab",
|
|
|
+ "scripting",
|
|
|
+ "storage"
|
|
|
+ ],
|
|
|
+ "options_page": "options.html",
|
|
|
+ "web_accessible_resources": [
|
|
|
+ {
|
|
|
+ "resources": [
|
|
|
+ "/iframe/publish.html",
|
|
|
+ "/iframe/red-packet.html"
|
|
|
+ ],
|
|
|
+ "matches": [
|
|
|
+ "<all_urls>"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|