Open Chinaski1 opened 4 years ago
when it works ,there will be a button on the page.
@HITers2018, this script uses the GM_registerMenuCommand
method, which is removed from the GM API and therefore doesn't supported by AdGuard as we definitely explore modern and latest versions of well-known API. Nevertheless, we'll work on this issue and probably add this obsolete method's support in order to backward compatibility with the scripts like this.
As a temporary workaround, in order to make this script work please go to the "userscript" tab, click the gear icon near this script, select "edit" menu item. When the editor with the script data be open, please find and remove a further code snippet
if (userLang === 'zh_CN') {
//@ts-ignore
//todo: patch the type
GM.registerMenuCommand('Super_preloaderPlus_one_New 设置', setup);
} else {
//@ts-ignore
GM.registerMenuCommand('Super_preloaderPlus_one_New Settings', setup);
} // 查找是否是页面不刷新的站点
I'm glad to hear that you'll probably add this obsolete method's support. Thank your work!
Expected behavior
Screenshot:
![image](https://user-images.githubusercontent.com/49645813/87655817-6183bc80-c761-11ea-990c-6bae75803242.png)Actual behavior
Screenshot:
![image](https://user-images.githubusercontent.com/49645813/87655781-592b8180-c761-11ea-8550-1282e3cb87ca.png)Customer ID
2224241
Link to the script
Your environment