change settings page
This commit is contained in:
parent
b47f9939b9
commit
5b2be7d90f
1 changed files with 3 additions and 7 deletions
|
@ -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 = `
|
||||
<link href="https://swee.codes/style.css" rel="stylesheet" type="text/css">
|
||||
<title>Builded settings</title>
|
||||
<br>
|
||||
<center>
|
||||
<h1><img src="https://git.swee.codes/swee/Builded/raw/branch/main/Builded-full.svg"> Settings</h1>
|
||||
<p>If you see this text, the userscript successfully rendered the settings page.</p>
|
||||
`
|
||||
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';
|
||||
|
|
Loading…
Reference in a new issue