// ==UserScript== // @name Legacy Script Meta Block // @namespace - // @version 1.0.0 // @description returns old script meta block (as close as possible to old one) // @license GPL-3.0-or-later // @grant GM_addStyle // @run-at document-start // @match *://*.greasyfork.org/* // @match *://*.sleazyfork.org/* // @downloadURL none // ==/UserScript== (function() { let css = ` .inline-script-stats { display: unset; margin: 0; } .inline-script-stats dt, .inline-script-stats dd { float: left; width: 50%; } .script-meta-block { max-width: none; } #script-content .script-meta-block { max-width: 600px; } `; 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); } })();