From b36ede73934e1b640eed36eb21adc994ca75983c Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Fri, 18 Aug 2023 13:19:40 +0800 Subject: [PATCH] fix userscript grant --- config-overrides.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config-overrides.js b/config-overrides.js index cccbc96..18d8c8e 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -83,13 +83,9 @@ const userscriptWebpack = (config, env) => { // @icon ${process.env.REACT_APP_LOGOURL} // @downloadURL ${process.env.REACT_APP_USERSCRIPT_DOWNLOADURL} // @updateURL ${process.env.REACT_APP_USERSCRIPT_DOWNLOADURL} -// @grant GM_xmlhttpRequest -// @grant GM.xmlhttpRequest -// @grant GM_setValue +// @grant GM.xmlHttpRequest // @grant GM.setValue -// @grant GM_getValue // @grant GM.getValue -// @grant GM_deleteValue // @grant GM.deleteValue // @grant unsafeWindow // @connect translate.googleapis.com