From 6ba273abbeb464e05ab06e286bceeec736de1253 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 18 Dec 2024 15:19:43 -0800 Subject: [PATCH] Update builded.user.js --- builded.user.js | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) 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");