use inject-into replace unsafeWindow

This commit is contained in:
Gabe Yuan
2023-08-29 00:06:50 +08:00
parent 47c7048538
commit 45ba9d3320
6 changed files with 106 additions and 19 deletions

View File

@@ -89,7 +89,7 @@ const userscriptWebpack = (config, env) => {
// @grant GM.getValue
// @grant GM.deleteValue
// @grant GM.info
// @grant unsafeWindow
// @inject-into content
// @connect translate.googleapis.com
// @connect api-edge.cognitive.microsofttranslator.com
// @connect edge.microsoft.com