try to intercept settings
This commit is contained in:
parent
273777408c
commit
cdb3fcb137
1 changed files with 6 additions and 2 deletions
|
@ -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...
|
||||
if (location.host == "www.guilded.gg") {
|
||||
settings();
|
||||
} else {
|
||||
document.body.insertAdjacentHTML('beforeend', settings_HTML)
|
||||
}
|
||||
console.info("Builded Loaded <3")
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue