This commit is contained in:
parent
1c51b5984a
commit
6f1588ba00
1 changed files with 30 additions and 1 deletions
|
@ -38,6 +38,35 @@ let settings_HTML = `
|
||||||
<p>There are no settings here... Want to suggest some <a href="https://discuss.swee.codes/c/10">here?</a> :3</p>
|
<p>There are no settings here... Want to suggest some <a href="https://discuss.swee.codes/c/10">here?</a> :3</p>
|
||||||
`;
|
`;
|
||||||
let settings_entry = `
|
let settings_entry = `
|
||||||
|
<div onclick="window.location = 'https://www.guilded.gg/explore/servers/overview';" class="DraggableHandle-container NavV4SelectorRow-container NavV4TeamSelectorBottomOptionsList-row">
|
||||||
|
<div class="NavV4SelectorRow-icon-container">
|
||||||
|
<div class="SVGIcon-container NavV4SelectorRow-svg-icon">
|
||||||
|
<svg class="icon SVGIcon-icon icon-globe" shape-rendering="geometricPrecision" role="img">
|
||||||
|
<use xml:space="http://www.w3.org/1999/xlink" xlink:href="#icon-globe"></use>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="NavV4SelectorRow-row-content">
|
||||||
|
<div class="NavV4TeamSelectorBottomOptionsList-label">
|
||||||
|
Discover
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div onclick="window.location = 'https://www.guilded.gg/chat';" class="DraggableHandle-container NavV4SelectorRow-container NavV4TeamSelectorBottomOptionsList-row NavV4TeamSelectorBottomOptionsList-dms">
|
||||||
|
<div class="NavV4SelectorRow-icon-container">
|
||||||
|
<div class="SVGIcon-container NavV4SelectorRow-svg-icon">
|
||||||
|
<svg class="icon SVGIcon-icon icon-dm" shape-rendering="geometricPrecision" role="img">
|
||||||
|
<use xml:space="http://www.w3.org/1999/xlink" xlink:href="#icon-dm">
|
||||||
|
</use>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="NavV4SelectorRow-row-content">
|
||||||
|
<div class="NavV4TeamSelectorBottomOptionsList-label">
|
||||||
|
Direct messages
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div onclick='window.open("https://builded.swee.codes/settings", "ree", "titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no");' class="DraggableHandle-container NavV4SelectorRow-container NavV4TeamSelectorBottomOptionsList-row">
|
<div onclick='window.open("https://builded.swee.codes/settings", "ree", "titlebar=yes,menubar=no,height=500px,width=300px,menubar=no,status=no");' class="DraggableHandle-container NavV4SelectorRow-container NavV4TeamSelectorBottomOptionsList-row">
|
||||||
<div class="NavV4SelectorRow-icon-container">
|
<div class="NavV4SelectorRow-icon-container">
|
||||||
<div class="SVGIcon-container NavV4SelectorRow-svg-icon">
|
<div class="SVGIcon-container NavV4SelectorRow-svg-icon">
|
||||||
|
@ -55,7 +84,7 @@ if (location.host == "www.guilded.gg") {
|
||||||
console.info("Guilded.GG detected.");
|
console.info("Guilded.GG detected.");
|
||||||
$.initialize('.NavV4TeamSelectorBottomOptionsList-container', function() {
|
$.initialize('.NavV4TeamSelectorBottomOptionsList-container', function() {
|
||||||
console.info("Injecting settings entry...")
|
console.info("Injecting settings entry...")
|
||||||
$(this)[0].innerHTML += settings_entry;
|
$(this)[0].innerHTML = settings_entry;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
document.body.innerHTML += settings_HTML;
|
document.body.innerHTML += settings_HTML;
|
||||||
|
|
Loading…
Reference in a new issue