This commit is contained in:
parent
8ea4829090
commit
6ba273abbe
1 changed files with 12 additions and 16 deletions
|
@ -11,21 +11,17 @@
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @run-at document-end
|
// @run-at document-end
|
||||||
// ==/UserScript==
|
// ==/UserScript==]
|
||||||
|
|
||||||
(function() {
|
|
||||||
let settings_HTML = `
|
let settings_HTML = `
|
||||||
<p>If you see this text, the userscript successfully rendered the settings page.</p>
|
<p>If you see this text, the userscript successfully rendered the settings page.</p>
|
||||||
`
|
`;
|
||||||
function settings() {
|
function settings() {
|
||||||
let win = window.open("https://builded.swee.codes/settings", "ree", `titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no`);
|
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") {
|
if (location.host == "www.guilded.gg") {
|
||||||
console.info("Guilded.GG detected.")
|
console.info("Guilded.GG detected.");
|
||||||
} else {
|
} else {
|
||||||
document.body.innerHTML += settings_HTML
|
document.body.innerHTML += settings_HTML;
|
||||||
}
|
}
|
||||||
console.info("Builded Loaded <3")
|
console.info("Builded Loaded <3");
|
||||||
})();
|
|
||||||
|
|
Loading…
Reference in a new issue