// ==UserScript== // @name Example UserCSS style // @namespace github.com/openstyles/stylus // @version 1.0.0 // @description Move navbar position, change font color, and more. // @license unlicense // @grant GM_addStyle // @run-at document-start // @match *://*.example.com/* // @downloadURL none // ==/UserScript== (function() { let css = ` a { color: red; } `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();