Skip to content

Commit 50bc260

Browse files
committed
fix
1 parent 3ab4ab4 commit 50bc260

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

static/assets/js/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ const input = document.querySelector("input");
33
const remove = document.querySelectorAll('body > :not(#particles-js)');
44

55
form.addEventListener("submit", async (event) => {
6-
remove.forEach(element => {
7-
element.remove();
8-
});
96
event.preventDefault();
107
window.navigator.serviceWorker
118
.register("./sw.js", {
@@ -17,6 +14,9 @@ form.addEventListener("submit", async (event) => {
1714
else if (!(url.startsWith("https://") || url.startsWith("http://")))
1815
url = "http://" + url;
1916
localStorage.setItem("encodedUrl", __uv$config.encodeUrl(url));
17+
remove.forEach(element => {
18+
element.remove();
19+
});
2020
location.href = "/student";
2121
});
2222
});

static/assets/js/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ function loadCSS(href, callback) {
2424
loadScript("/uv/uv.handler.js", function () {
2525
loadScript("/uv/uv.bundle.js", function () {
2626
loadScript("/uv/uv.config.js", function () {
27-
console.log("[✔️] UV Loaded");
2827
window.navigator.serviceWorker.register("/sw.js", {
2928
scope: __uv$config.prefix,
3029
});
30+
console.log("[✔️] UV Loaded");
3131
});
3232
});
3333
});
@@ -64,6 +64,7 @@ if (window.location.pathname === "/index.html" || window.location.pathname === "
6464
"Tab Cloaking is highly recommended",
6565
"About:Blank Cloak is highly recommended",
6666
"The #1 site unblocker, with 90K users daily",
67+
"The #1 site unblocker, with 90K users daily",
6768
"Finally, an actual site unblocker that works fast!",
6869
"Do not share this link with anyone.",
6970
"Join our community at discord.gg/unblocking",

static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<link rel="stylesheet" href="/assets/css/app.css">
99
<link rel="stylesheet" href="/assets/css/menu.css">
1010
<script rel="preload" src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
11-
<script rel="preload" src="/assets/js/particles.js"></script>
1211
<script src="/assets/js/functions.js"></script>
1312
<script src="/assets/js/anym.js"></script>
1413
<title>Doge | V4</title>
@@ -38,9 +37,10 @@
3837
<div class="bottom-right-content themesExcluded">
3938
<a href="/credits">Credits</a>
4039
</div>
40+
<script rel="preload" src="/assets/js/main.js"></script>
4141
<script src="/assets/js/themes.js"></script>
42+
<script src="/assets/js/particles.js"></script>
4243
<script src="/assets/js/index.js"></script>
43-
<script src="/assets/js/main.js"></script>
4444
</div>
4545
<script type='text/javascript' src='//pl22991509.profitablegatecpm.com/df/d2/e1/dfd2e1c094b00a158058ce0068d7df84.js'></script>
4646
</body>

0 commit comments

Comments
 (0)