/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// ==UserScript== // @name Design css // @namespace // @include http://www.example.com/* // ==/UserScript== var css = "@import url(http://localhost/your_css);"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.innerHTML = css; heads[0].appendChild(node); } }
Comments
