diff --git a/Xbot PY Helper.zip b/Xbot PY Helper.zip deleted file mode 100644 index fbd3617..0000000 Binary files a/Xbot PY Helper.zip and /dev/null differ diff --git a/manifest.json b/manifest.json index 4c1ef05..bbdd9d9 100644 --- a/manifest.json +++ b/manifest.json @@ -22,7 +22,9 @@ ], "js": [ "scripts/content.js" - ] + ], + "run_at": "document_idle", + "all_frames": true } ], "web_accessible_resources": [ diff --git a/scripts/content.js b/scripts/content.js index b92cb99..de84f51 100644 --- a/scripts/content.js +++ b/scripts/content.js @@ -1,4 +1,7 @@ (function () { + + console.log("Content script injected into:", window.location.href); + // 清除之前的高亮样式 let previousHighlight = null; let copyButton = null;