/* eslint-env browser */ // ==UserScript== // @name []urlLet // @description urlLet // @include * // @version 1.0.134 // @created 2020-10-13 10:44:15 // @modified 2024-07-09 21:13:37 // @author dodying // @namespace https://github.com/dodying/UserJs // @supportURL https://github.com/dodying/UserJs/issues // @icon https://github.com/dodying/UserJs/raw/master/Logo.png // @run-at document-end // @grant GM_registerMenuCommand // @grant GM_getResourceText // @noframes // @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.js // ==/UserScript== /* eslint-disable no-debugger */ /* global $ */ /* global GM_registerMenuCommand */ (function () { let script = window.location.hash.match(/#javascript:(.*)$/); if (script) { script = decodeURI(script[1]); new Function(script)(); // eslint-disable-line no-new-func window.history.pushState(null, null, window.location.href.replace(/#javascript:(.*)$/, '')); } $('