This commit is contained in:
Russell2259
2023-12-04 21:29:37 -07:00
parent 71b25a2a0e
commit 0f6896bb99
17 changed files with 153 additions and 147 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ export default {
mode: 'dev',
minify: true,
assetScrambling: true,
allowDangerousTemplateInsert: false
allowDangerousTemplateInsert: true
};
+10 -5
View File
@@ -2,16 +2,19 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<!--el:meta-->
<!--el:adtop-->
<!--el:analytics-->
<link rel="stylesheet" href="/assets/css/main.css">
<title>404 Error | Polaris</title>
</head>
<body>
<!--el:navbar-->
<!--el:sidebar-->
<div class="content box">
<h1 style="font-size: 50px;">404</h1>
@@ -19,11 +22,13 @@
Looks you found a page that does not exist! Try checking your url for spelling mistakes.
<br>
<br>
Or, you can report it in our <a href="https://dsc.gg/skoolworld" class="link">discord server</a>.
Or, you can report it in our <a href="https://discord.gg/skool-community-950407933408198717" target="_blank" class="link">discord server</a>.
</p>
</div>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
</body>
</html>
+7 -5
View File
@@ -50,7 +50,7 @@ const html = (data) => {
for (let i = 0; i < dom.window.document.documentElement.querySelectorAll('script').length; i++) {
const script = dom.window.document.documentElement.querySelectorAll('script')[i];
if (script.src.startsWith('/') && !script.src.startsWith('//')) script.setAttribute('src', `/asset/${TokenManager.generate('asset', 20000, {
if (script.src.startsWith('/') && !script.src.startsWith('//') && fs.existsSync(path.join(__dirname, '../static', script.src))) script.setAttribute('src', `/asset/${TokenManager.generate('asset', 20000, {
asset: path.join(__dirname, '../static', script.src),
type: 'application/javascript'
}).token}`);
@@ -59,7 +59,7 @@ const html = (data) => {
for (let i = 0; i < dom.window.document.documentElement.querySelectorAll('link[rel="stylesheet"]').length; i++) {
const css = dom.window.document.documentElement.querySelectorAll('link[rel="stylesheet"]')[i];
if (css.href.startsWith('/') && !css.href.startsWith('//')) css.setAttribute('href', `/asset/${TokenManager.generate('asset', 20000, {
if (css.href.startsWith('/') && !css.href.startsWith('//') && fs.existsSync(path.join(__dirname, '../static', css.href))) css.setAttribute('href', `/asset/${TokenManager.generate('asset', 20000, {
asset: path.join(__dirname, '../static', css.href),
type: 'text/css'
}).token}`);
@@ -68,7 +68,7 @@ const html = (data) => {
for (let i = 0; i < dom.window.document.documentElement.querySelectorAll('img').length; i++) {
const img = dom.window.document.documentElement.querySelectorAll('img')[i];
if (img.src.startsWith('/') && !img.src.startsWith('//')) img.setAttribute('src', `/asset/${TokenManager.generate('asset', 20000, {
if (img.src.startsWith('/') && !img.src.startsWith('//') && fs.existsSync(path.join(__dirname, '../static', img.src))) img.setAttribute('src', `/asset/${TokenManager.generate('asset', 20000, {
asset: path.join(__dirname, '../static', img.src),
type: mime.getType(path.join(__dirname, '../static', img.src))
}).token}`);
@@ -96,7 +96,8 @@ const javascript = (data) => {
.map(data => data.split(';')[0]
.replaceAll('\'', '')
.replaceAll('`', '')
.replaceAll('"', ''));
.replaceAll('"', ''))
.filter(data => fs.existsSync(path.join(__dirname, '../templates', data + '.javascript')));
let javascript = String(data);
@@ -150,7 +151,8 @@ const css = (data) => {
else return false;
}
} else return false;
});
})
.filter(data => fs.existsSync(path.join(__dirname, '../templates', data + mime.getExtension(data))));
let css = String(data);
+4
View File
@@ -13,6 +13,7 @@
<body>
<!--el:navbar-->
<!--el:sidebar-->
<div class="content">
<h1>Apps</h1>
@@ -21,6 +22,9 @@
</div>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
<script>
window['nitroAds'].createAd('anchorad', {
"refreshTime": 30,
+1 -47
View File
@@ -17,7 +17,6 @@ body {
background: var(--background-color);
background-attachment: fixed;
color: var(--text);
text-align: center;
padding-top: 20vh;
background-repeat: no-repeat;
}
@@ -462,52 +461,6 @@ input:checked+.slider:before {
margin-top: 5vh;
}
.frame {
margin: auto;
display: block;
border-top: 3vh solid;
border-left: 3vh solid;
border-right: 3vh solid;
border-radius: 4vh 4vh 0vh 0vh;
background: #fff;
height: 70vh;
width: 75vw;
outline: none;
border-color: rgba(0, 0, 0);
}
.gamebar img {
width: 3.5vh;
height: 3.5vh;
margin: 1vh;
border-radius: 0.5vh;
}
.gamebar p {
font-weight: 900;
font-size: 2vh;
margin: auto 0;
}
.gamebar i {
font-size: 3vh;
margin: auto 0;
margin-left: auto;
cursor: pointer;
}
.gamebar {
width: 75vw;
margin: 0 auto;
border-left: 3vh solid black;
border-right: 3vh solid black;
display: flex;
border-radius: 0vh 0vh 4vh 4vh;
color: #ffffff;
border-color: rgba(0, 0, 0);
background: rgba(0, 0, 0);
}
.container {
background-color: var(--background-color);
box-shadow: 0vh 0.75vh 1.5vh 0vh var(--shadow-color);
@@ -519,6 +472,7 @@ input:checked+.slider:before {
overflow: hidden;
margin-left: 50px;
margin-right: 25px;
text-align: center;
}
.container.centered {
+1
View File
@@ -19,6 +19,7 @@
border-radius: 2vh;
padding: 1.5em;
padding-bottom: 1em;
text-align: center;
}
.navbar.scrolling {
+29
View File
@@ -0,0 +1,29 @@
@import url('/assets/css/themes.css');
.gamebar {
background: var(--background-darker);
position: fixed;
bottom: 0;
left: 0;
right: 0;
margin: 25px;
margin-left: 20vw;
margin-right: 20vw;
border-radius: 2vh;
padding: 10px;
display: flex;
}
.gamebar .logo {
width: 8vh;
border-radius: 1.5vh;
display: inline-flex;
}
.gamebar .title {
position: absolute;
text-align: center;
font-size: 40px;
width: calc(100% - 20px);
margin: 0px;
}
+4
View File
@@ -13,6 +13,7 @@
<body>
<!--el:navbar-->
<!--el:sidebar-->
<div class="content">
<h1>Cheats</h1>
@@ -21,6 +22,9 @@
</div>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
<script type="text/javascript">
atOptions = {
'key' : 'ae1638b56336895e2ecf7d1adc3492a4',
+4
View File
@@ -13,6 +13,7 @@
<body>
<!--el:navbar-->
<!--el:sidebar-->
<div class="content">
<h1 style="font-size: 6vh;">Games</h1>
@@ -40,6 +41,9 @@
</div>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
<script type="text/javascript">
atOptions = {
'key': 'ae1638b56336895e2ecf7d1adc3492a4',
+2
View File
@@ -13,6 +13,7 @@
<body>
<!--el:navbar-->
<!--el:sidebar-->
<div class="row mainpage">
<div class="container">
@@ -44,6 +45,7 @@
</div>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
</body>
+3 -1
View File
@@ -12,4 +12,6 @@ We do not store your personal information outside of advertising services and ou
Our sites code is open source and is hosted on github, it can be found here: https://github.com/Skoolgq
If you have any questions please contact us at skoolwrld@gmail.com
If you have any questions please contact us at skoolwrld@gmail.com
<!--el:{{mode === 'dev'}}:development-->
+4
View File
@@ -13,6 +13,7 @@
<body>
<!--el:navbar-->
<!--el:sidebar-->
<div class="content">
<div class="container centered">
@@ -27,6 +28,9 @@
</div>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
<script type="text/javascript">
atOptions = {
'key': 'ae1638b56336895e2ecf7d1adc3492a4',
+20 -18
View File
@@ -290,20 +290,20 @@ mso-themetint:166;">These Terms of Use constitute a legally binding agreement ma
style="font-size:11.0pt;line-height:115%;
font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="question">
<bdt class="block-component"></bdt>
</bdt><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="block-component"></bdt>
</span> We are registered in<bdt class="block-component"></bdt>
<bdt class="block-component"></bdt>
<bdt class="block-component"></bdt> <span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="question">North Carolina</bdt>, <bdt class="question">United States</bdt>
</span></span>
@@ -322,9 +322,9 @@ mso-themetint:166;">
<bdt class="question">27601</bdt>
<bdt class="statement-end-if-in-editor"></bdt>
</span></span></span></span></span><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="statement-end-if-in-editor">.</bdt>
<bdt class="else-block"></bdt>
@@ -340,7 +340,7 @@ mso-themetint:166;">
<div align="center" class="MsoNormal" style="text-align: left; line-height: 1;"><br></div>
<div align="center" class="MsoNormal" style="text-align: left; line-height: 150%;">
<div class="MsoNormal" data-custom-class="body_text" style="line-height: 1.5;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">Supplemental terms and conditions or documents that may be posted on the Site from time to time are
hereby expressly incorporated herein by reference. We reserve the right, in our sole discretion, to make
changes or modifications to these Terms of Use <bdt class="block-component"></bdt>from time to time<bdt
@@ -354,16 +354,16 @@ mso-themetint:166;">Supplemental terms and conditions or documents that may be p
<div align="center" class="MsoNormal" style="text-align: left; line-height: 1;"><br></div>
<div align="center" class="MsoNormal" style="text-align: left; line-height: 150%;">
<div class="MsoNormal" data-custom-class="body_text" style="line-height: 1.5;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">The information provided on the Site is not intended for distribution to or use by any person or
entity in any jurisdiction or country where such distribution or use would be contrary to law or regulation or
which would subject us to any registration requirement within such jurisdiction or country. Accordingly, those
persons who choose to access the Site from other locations do so on their own initiative and are solely
responsible for compliance with local laws, if and to the extent local laws are applicable.</span></div>
<div class="MsoNormal" style="line-height: 1.5;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="block-component"></bdt>
<bdt class="block-component"></bdt>
@@ -372,15 +372,15 @@ mso-themetint:166;">
<div align="center" class="MsoNormal" style="text-align: left; line-height: 1;"><br></div>
<div align="center" class="MsoNormal" style="text-align: left; line-height: 150%;">
<div class="MsoNormal" data-custom-class="body_text" style="line-height: 1.5;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">The Site is not tailored to comply with industry-specific regulations (Health Insurance Portability
and Accountability Act (HIPAA), Federal Information Security Management Act (FISMA), etc.), so if your
interactions would be subjected to such laws, you may not use this Site. You may not use the Site in a way
that would violate the Gramm-Leach-Bliley Act (GLBA).</span><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="block-component"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="statement-end-if-in-editor"></bdt>
</span></bdt>
@@ -418,7 +418,7 @@ mso-themetint:166;">
<div align="center" class="MsoNormal" style="text-align: left; line-height: 1;"><br></div>
<div align="center" class="MsoNormal" style="text-align: left; line-height: 150%;">
<div class="MsoNormal" data-custom-class="body_text" style="line-height: 1.5;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">Unless otherwise indicated, the Site is our proprietary
property and all source code, databases, functionality, software, website
designs, audio, video, text, photographs, and graphics on the Site
@@ -437,7 +437,7 @@ mso-themetint:166;">Unless otherwise indicated, the Site is our proprietary
<div align="center" class="MsoNormal" style="text-align: left; line-height: 1;"><br></div>
<div align="center" class="MsoNormal" style="text-align: left; line-height: 150%;">
<div class="MsoNormal" data-custom-class="body_text" style="line-height: 1.5;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">Provided that you are eligible to use the Site, you are
granted a limited license to access and use the Site and to download or print a
copy of any portion of the Content to which you have properly gained access
@@ -1856,9 +1856,9 @@ Calibri;color:#595959;mso-themecolor:text1;mso-themetint:166;">
style="color: rgb(89, 89, 89);"><strong><span style="font-size: 15px;">
<bdt class="statement-end-if-in-editor">
<bdt class="block-component"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;"><span style="font-size:11.0pt;line-height:115%;
Arial;mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-fareast-font-family:Calibri;color:#595959;mso-themecolor:text1;
mso-themetint:166;">
<bdt class="question">United States</bdt>
</span></span></bdt>
@@ -1905,4 +1905,6 @@ mso-themetint:166;">
font-family: Arial;
}
</style>
</div>
</div>
<!--el:{{mode === 'dev'}}:development-->
+11 -17
View File
@@ -7,31 +7,25 @@
<!--el:analytics-->
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/view.css">
<title>View | Polaris</title>
</head>
<body>
<!--el:navbar-->
<!--//el:sidebar-->
<div class="gamebar">
<a href="/">
<img src="/assets/img/logo.png" class="logo">
</a>
<div>
<div style="overflow: hidden; z-index: 1000000;">
<iframe class="frame" overflow: auto; frameborder="no"
sandbox="allow-scripts allow-forms allow-pointer-lock allow-same-origin"></iframe>
</div>
<div class="gamebar">
<img src="https://via.placeholder.com/20x20?text=img" id="gameicon" />
<p id="gametitle">Loading...</p>
<i class="fa-solid fa-expand" id="fullscreen"></i>
</div>
<h1 class="title">Game</h1>
</div>
<br>
<script src="/assets/js/main.js" type="module"></script>
<!--el:{{mode === 'dev'}}:development-->
</body>
</html>
+2 -2
View File
@@ -1,5 +1,5 @@
<script src="https://unpkg.com/eruda@latest/eruda/eruda.js"></script>
<script src="https://unpkg.com/eruda@latest/eruda.js"></script>
<script>
document.write('yourmom');
eruda.init();
</script>
+1 -51
View File
@@ -1,7 +1,7 @@
<div class="navbar">
<a class="title" href="/">
<img src="/assets/img/logo.png" />
<span>Polaris
<span>By Skool</span>
</span>
@@ -14,54 +14,4 @@
<a href="/cheats"><i class="fa-solid fa-computer fa-xs"></i>Cheats</a>
<a href="#settings" data-link="true" data-attr="sidebar_trigger"><i class="fa-solid fa-gear fa-sm"></i>Settings</a>
</div>
</div>
<div class="sidebar">
<div class="scroll">
<i class="fa-solid fa-chevron-down"></i>
</div>
<h1>Settings</h1>
<h3>Panic Key</h3>
<input class="settings-input" type="text" name="Panic Key" id="panic_key" value="No Key Selected" readonly />
<button class="settings-button" id="reset_panic">Reset</button>
<br>
<h3>Panic URL</h3>
<input class="settings-input" type="url" id="panic_url" placeholder="eg: https://google.com" />
<br>
<h3>Theme</h3>
<div id="themes">
<button class="settings-button">System Default</button>
<button class="settings-button">Dark</button>
<button class="settings-button">Light</button>
<button class="settings-button">Flamingo</button>
<button class="settings-button">Frost</button>
<button class="settings-button">Crimson</button>
<button class="settings-button">Inferno</button>
<button class="settings-button">Indigo</button>
<button class="settings-button">Violet</button>
</div>
<h3>Tab Cloak</h3>
<select id="cloak_select">
<option value="none">None</option>
<option value="custom">Custom</option>
<option value="canvas">Canvas Dashboard</option>
<option value="google">Google</option>
<option value="classroom">Google Classroom</option>
</select>
<div class="hidden" id="custom_cloak">
<input class="settings-input" type="text" placeholder="Title" id="title" />
<input class="settings-input" type="text" placeholder="eg: google.com" id="domain" />
</div>
</div>
+49
View File
@@ -0,0 +1,49 @@
<div class="sidebar">
<div class="scroll">
<i class="fa-solid fa-chevron-down"></i>
</div>
<h1>Settings</h1>
<h3>Panic Key</h3>
<input class="settings-input" type="text" name="Panic Key" id="panic_key" value="No Key Selected" readonly />
<button class="settings-button" id="reset_panic">Reset</button>
<br>
<h3>Panic URL</h3>
<input class="settings-input" type="url" id="panic_url" placeholder="eg: https://google.com" />
<br>
<h3>Theme</h3>
<div id="themes">
<button class="settings-button">System Default</button>
<button class="settings-button">Dark</button>
<button class="settings-button">Light</button>
<button class="settings-button">Flamingo</button>
<button class="settings-button">Frost</button>
<button class="settings-button">Crimson</button>
<button class="settings-button">Inferno</button>
<button class="settings-button">Indigo</button>
<button class="settings-button">Violet</button>
</div>
<h3>Tab Cloak</h3>
<select id="cloak_select">
<option value="none">None</option>
<option value="custom">Custom</option>
<option value="canvas">Canvas Dashboard</option>
<option value="google">Google</option>
<option value="classroom">Google Classroom</option>
</select>
<div class="hidden" id="custom_cloak">
<input class="settings-input" type="text" placeholder="Title" id="title" />
<input class="settings-input" type="text" placeholder="eg: google.com" id="domain" />
</div>
</div>