Builded/builded.user.js

32 lines
996 B
JavaScript
Raw Normal View History

2024-11-14 20:59:43 -08:00
// ==UserScript==
// @name Builded
// @namespace https://git.swee.codes/swee/Builded
2024-11-16 14:15:33 -08:00
// @version 0.0.1
2024-11-14 20:59:43 -08:00
// @description Vencord, but for Guilded
// @author Swee
2024-11-16 16:00:44 -08:00
// @match https://www.guilded.gg
2024-11-16 13:53:41 -08:00
// @match https://builded.swee.codes/settings
2024-11-14 21:02:25 -08:00
// @icon https://git.swee.codes/swee/Builded/raw/branch/main/Builded-solid.svg
2024-11-14 22:00:49 -08:00
// @grant GM_setValue
// @grant GM_getValue
2024-11-16 14:01:23 -08:00
// @run-at document-end
2024-11-14 20:59:43 -08:00
// ==/UserScript==
(function() {
2024-11-14 21:48:37 -08:00
let settings_HTML = `
2024-11-16 13:50:44 -08:00
<p>If you see this text, the userscript successfully rendered the settings page.</p>
2024-11-14 21:48:37 -08:00
`
function settings() {
2024-11-16 13:50:44 -08:00
let win = window.open("https://builded.swee.codes/settings", "ree", `titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no`);
2024-11-14 21:48:37 -08:00
}
2024-11-14 20:59:43 -08:00
'use strict';
// Your code here...
2024-11-16 13:57:59 -08:00
if (location.host == "www.guilded.gg") {
settings();
} else {
2024-11-16 14:09:42 -08:00
document.body.innerHTML += settings_HTML
2024-11-16 13:57:59 -08:00
}
2024-11-14 21:14:49 -08:00
console.info("Builded Loaded <3")
2024-11-14 20:59:43 -08:00
})();