diff --git a/builded.user.js b/builded.user.js index 2dfc756..33cc81b 100644 --- a/builded.user.js +++ b/builded.user.js @@ -11,21 +11,17 @@ // @grant GM_setValue // @grant GM_getValue // @run-at document-end -// ==/UserScript== +// ==/UserScript==] -(function() { - let settings_HTML = ` +let settings_HTML = `
If you see this text, the userscript successfully rendered the settings page.
-` - function settings() { - let win = window.open("https://builded.swee.codes/settings", "ree", `titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no`); - } - 'use strict'; - // Your code here... - if (location.host == "www.guilded.gg") { - console.info("Guilded.GG detected.") - } else { - document.body.innerHTML += settings_HTML - } - console.info("Builded Loaded <3") -})(); +`; +function settings() { + let win = window.open("https://builded.swee.codes/settings", "ree", `titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no`); +} +if (location.host == "www.guilded.gg") { + console.info("Guilded.GG detected."); +} else { + document.body.innerHTML += settings_HTML; +} +console.info("Builded Loaded <3");