diff --git a/builded.user.js b/builded.user.js index 9fadf82..fdf3a8f 100644 --- a/builded.user.js +++ b/builded.user.js @@ -10,6 +10,7 @@ // @icon https://git.swee.codes/swee/Builded/raw/branch/main/Builded-solid.svg // @grant GM_setValue // @grant GM_getValue +// @grant document.body // ==/UserScript== (function() { @@ -18,10 +19,13 @@ ` function settings() { let win = window.open("https://builded.swee.codes/settings", "ree", `titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no`); - win.document.body.insertAdjacentHTML('afterbegin', settings_HTML); } 'use strict'; // Your code here... - settings(); + if (location.host == "www.guilded.gg") { + settings(); + } else { + document.body.insertAdjacentHTML('beforeend', settings_HTML) + } console.info("Builded Loaded <3") })();