sync (leaving in comments for later)
This commit is contained in:
Generated
+15
@@ -17,6 +17,7 @@
|
||||
"javascript-obfuscator": "^4.1.0",
|
||||
"jsdom": "^23.0.1",
|
||||
"mime": "*",
|
||||
"sweetalert": "^2.1.2",
|
||||
"uuid": "^9.0.1"
|
||||
}
|
||||
},
|
||||
@@ -1544,6 +1545,11 @@
|
||||
"node": ">= 0.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/promise-polyfill": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-6.1.0.tgz",
|
||||
"integrity": "sha512-g0LWaH0gFsxovsU7R5LrrhHhWAWiHRnh1GPrhXnPgYsDkIqjRYUYSZEsej/wtleDrz5xVSIDbeKfidztp2XHFQ=="
|
||||
},
|
||||
"node_modules/proxy-addr": {
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
|
||||
@@ -1812,6 +1818,15 @@
|
||||
"char-regex": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/sweetalert": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/sweetalert/-/sweetalert-2.1.2.tgz",
|
||||
"integrity": "sha512-iWx7X4anRBNDa/a+AdTmvAzQtkN1+s4j/JJRWlHpYE8Qimkohs8/XnFcWeYHH2lMA8LRCa5tj2d244If3S/hzA==",
|
||||
"dependencies": {
|
||||
"es6-object-assign": "^1.1.0",
|
||||
"promise-polyfill": "^6.0.2"
|
||||
}
|
||||
},
|
||||
"node_modules/symbol-tree": {
|
||||
"version": "3.2.4",
|
||||
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"javascript-obfuscator": "^4.1.0",
|
||||
"jsdom": "^23.0.1",
|
||||
"mime": "*",
|
||||
"sweetalert": "^2.1.2",
|
||||
"uuid": "^9.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,6 +54,38 @@ if (params.get('load')) {
|
||||
else if (frame.msRequestFullscreen) frame.msRequestFullscreen();
|
||||
});
|
||||
|
||||
document.querySelector('#discord-join').addEventListener('click', () => {
|
||||
document.getElementById('loadframe').src = "/uv/service/hvtrs8%2F-dksaopd%2Ccmm-ilvktg%2Fqkmon-aoomwnkt%7B-%3B52427%3B3142839%3A737";
|
||||
/*
|
||||
swal("How would you like to open this?", {
|
||||
buttons: {
|
||||
cancel: "Cancel",
|
||||
proxy: {
|
||||
text: "Proxy",
|
||||
value: "proxy",
|
||||
},
|
||||
newtab: true,
|
||||
},
|
||||
})
|
||||
.then((value) => {
|
||||
switch (value) {
|
||||
|
||||
case "newtab":
|
||||
window.open("https://dsc.gg/skoolworld", '_blank').focus();
|
||||
break;
|
||||
|
||||
case "proxy":
|
||||
document.getElementById('loadframe').src = "/uv/service/hvtrs8%2F-dksaopd%2Ccmm-ilvktg%2Fqkmon-aoomwnkt%7B-%3B52427%3B3142839%3A737";
|
||||
break;
|
||||
|
||||
default:
|
||||
swal("you should have joined the server 🙄");
|
||||
}
|
||||
});
|
||||
*/
|
||||
});
|
||||
|
||||
|
||||
window.addEventListener('fullscreenchange', () => {
|
||||
if (document.fullscreenElement) document.querySelector('#loadframe').style.borderRadius = '0px';
|
||||
else document.querySelector('#loadframe').style.borderRadius = '';
|
||||
|
||||
+5
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
<link rel="stylesheet" href="/assets/css/main.css">
|
||||
<link rel="stylesheet" href="/assets/css/view.css">
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert@1.1.3/dist/sweetalert.min.js"></script>
|
||||
<title>View | Polaris</title>
|
||||
</head>
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
<i class="fa-solid fa-caret-left fa-lg"></i> <!-- Russell is actively undermining me here... -->
|
||||
</span>
|
||||
|
||||
<!--<span class="item" id="discord-join">
|
||||
<i class="fa-brands fa-discord"></i>
|
||||
</span>-->
|
||||
|
||||
<span class="item" id="fullscreen">
|
||||
<i class="fa-regular fa-expand"></i>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user