From 5b2be7d90f52588f025d1009e474cc7fd2ef06f1 Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Sat, 16 Nov 2024 13:50:44 -0800 Subject: [PATCH] change settings page --- builded.user.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/builded.user.js b/builded.user.js index f992b4f..dd551d9 100644 --- a/builded.user.js +++ b/builded.user.js @@ -5,7 +5,7 @@ // @version 1.0.1 // @description Vencord, but for Guilded // @author Swee -// @match https://*.guilded.gg +// @match https://*.guilded.gg, https://builded.swee.codes/settings // @icon https://git.swee.codes/swee/Builded/raw/branch/main/Builded-solid.svg // @grant GM_setValue // @grant GM_getValue @@ -13,14 +13,10 @@ (function() { let settings_HTML = ` - -Builded settings -
-
-

Settings

+

If you see this text, the userscript successfully rendered the settings page.

` function settings() { - let win = window.open("about:blank", "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`); win.document.body.insertAdjacentHTML('afterbegin', settings_HTML); } 'use strict';