TestHideCss.js Code:
\n// ==UserScript==\n// @name TestHideCss\n// @description Test CSS\n// @version 0.0.1\n// @author getoutnow\n// @match *://*/*\n// @grant GM_addStyle\n// ==/UserScript==\n\n(function () {\n const myStyleCss = `body.readable { display:none !important; }`;\n document.body.className += 'readable';\n GM_addStyle(myStyleCss);\n})();\nhttps://github.com/quoid/userscripts#api
\nUse GM.addStyle(css) instead of GM_addStyle.
-
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/quoid/userscripts#api Use |
Beta Was this translation helpful? Give feedback.
https://github.com/quoid/userscripts#api
Use
GM.addStyle(css)instead ofGM_addStyle.