Builded/builded.user.js
2024-11-16 16:00:44 -08:00

31 lines
996 B
JavaScript

// ==UserScript==
// @name Builded
// @namespace https://git.swee.codes/swee/Builded
// @version 0.0.1
// @description Vencord, but for Guilded
// @author Swee
// @match https://www.guilded.gg
// @match https://builded.swee.codes/settings
// @icon https://git.swee.codes/swee/Builded/raw/branch/main/Builded-solid.svg
// @grant GM_setValue
// @grant GM_getValue
// @run-at document-end
// ==/UserScript==
(function() {
let settings_HTML = `
<p>If you see this text, the userscript successfully rendered the settings page.</p>
`
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") {
settings();
} else {
document.body.innerHTML += settings_HTML
}
console.info("Builded Loaded <3")
})();