您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disable country selection nag which comes up every time if cookies are deactivated
// ==UserScript== // @name Mathworks no select country // @namespace org.spineeye // @description Disable country selection nag which comes up every time if cookies are deactivated // @include https://*.mathworks.com/* // @include http://*.mathworks.com/* // @version 1.0.1 // @grant // @run-at document-start // ==/UserScript== // this is only possible with no @grant and @run-at document-start // see https://wiki.greasespot.net/Content_Script_Injection window.overrideDomainSelector = true; /* GM_addStyle("#country-unselected { display: none !important; }"); var waitForNag = setInterval(function() { if (document.querySelector("#country-unselected")) { clearInterval(waitForNag); console.log(document.querySelector("#country-unselected")); document.body.className = document.body.className.replace( /(?:^|\s)modal-open(?!\S)/, ""); } }, 10); */
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址