Browse Source

[add][config]

zhangwei 2 years ago
parent
commit
39c34d7e87
2 changed files with 12 additions and 1 deletions
  1. 1 0
      src/entry/content_iframe.js
  2. 11 1
      src/manifest.json

+ 1 - 0
src/entry/content_iframe.js

@@ -0,0 +1 @@
+console.log('content_iframe', window.location)

+ 11 - 1
src/manifest.json

@@ -2,7 +2,7 @@
     "manifest_version": 3,
     "name": "DeNet",
     "description": "Growing more twitter followers with Denet",
-    "version": "1.1.5.1",
+    "version": "1.1.5.2",
     "denet_app_version_code": "16",
     "background": {
         "service_worker": "/js/background.js"
@@ -29,6 +29,16 @@
                 "/css/content_help.css"
             ]
         },
+        {
+            "matches": [
+                "<all_urls>"
+            ],
+            "run_at": "document_start",
+            "js": [
+                "/js/content_iframe.js"
+            ],
+            "all_frames": true
+        },
         {
             "matches": [
                 "https://*.twitter.com/*",