Skip to content

Commit b25f639

Browse files
committed
V5.2.2 - Updated Ads + Formatted
1 parent 3105294 commit b25f639

File tree

13 files changed

+324
-315
lines changed

13 files changed

+324
-315
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ As of January 1st, 2024, Replit is [no longer free](https://blog.replit.com/host
6363
3. In the terminal at the bottom, paste `pnpm i && pnpm start`.
6464
4. Respond to the application popup by clicking "Make public."
6565
> [!IMPORTANT]
66-
> Make sure you click the "Make public." button, or the proxy won't function properly.
66+
> Make sure you click the "Make public." button, or the proxy won't function properly.
6767
5. Access the deployed website from the ports tab.
6868
6. For subsequent uses in the same codespace, just run `pnpm start`
6969

static/404.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ <h3>Page not found.</h3>
2626
</div>
2727
<script type="text/javascript" src="//oysterscoldtiny.com/1c/c3/8a/1cc38a6899fdf8ba4dfe779bcc54627b.js"></script>
2828
</body>
29+
<div id="adv"></div>
2930
<script src="/assets/scripts/i.js?V=42"></script>
3031
<script src="/assets/-/bundle.js?v=5-5-2024"></script>
3132
<script src="/assets/-/config.js?v=5-5-2024"></script>
32-
<script src="/assets/scripts/m.js?v=60"></script>
33+
<script src="/assets/scripts/m.js?v=62"></script>
3334
</html>

static/apps.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1313
<link rel="stylesheet" href="/assets/styles/main.css?v=16" />
1414
<link rel="stylesheet" href="/assets/styles/global.css?v=8" />
15-
<script src="/assets/scripts/m.js?v=60"></script>
15+
<script src="/assets/scripts/m.js?v=62"></script>
1616
<script src="/assets/scripts/i.js?V=42"></script>
1717
<script src="https://kit.fontawesome.com/1237c86ba0.js" crossorigin="anonymous"></script>
18-
<script src="assets/scripts/ap.js?v=98"></script>
1918
<script type="text/javascript" src="//oysterscoldtiny.com/4d/2f/92/4d2f92b8c68718dd3efb74b9f9b5fa4e.js"></script>
2019
</head>
2120
<body>
@@ -39,7 +38,8 @@
3938
</div>
4039
<div class="pinned-apps"></div>
4140
<div class="container-apps"></div>
42-
<script src="/assets/scripts/m.js?v=60"></script>
41+
<script src="assets/scripts/ap.js?v=100"></script>
42+
<script src="/assets/scripts/m.js?v=62"></script>
4343
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WKJQ5QHQTJ"></script>
4444
<!-- DO NOT REMOVE-->
4545
<script>
@@ -52,6 +52,7 @@
5252
gtag("config", "G-WKJQ5QHQTJ")
5353
</script>
5454
<!-- DO NOT REMOVE-->
55+
<div id="adv"></div>
5556
<script type="text/javascript" src="//oysterscoldtiny.com/1c/c3/8a/1cc38a6899fdf8ba4dfe779bcc54627b.js"></script>
5657
</body>
5758
</html>

static/assets/scripts/ap.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function pinContains(i, p) {
106106
if (p == "") {
107107
return false
108108
}
109-
for (var x = 0; x < p.length; x++) {
109+
for (var x = 0; x < p.length; x += 1) {
110110
if (p[x] === i) {
111111
return true
112112
}
@@ -206,8 +206,12 @@ fetch(path)
206206
})
207207
.then((appsList) => {
208208
appsList.sort((a, b) => {
209-
if (a.name.startsWith("[Custom]")) return -1
210-
if (b.name.startsWith("[Custom]")) return 1
209+
if (a.name.startsWith("[Custom]")) {
210+
return -1
211+
}
212+
if (b.name.startsWith("[Custom]")) {
213+
return 1
214+
}
211215
return a.name.localeCompare(b.name)
212216
})
213217
const nonPinnedApps = document.querySelector(".container-apps")
@@ -310,7 +314,7 @@ fetch(path)
310314
} else {
311315
nonPinnedApps.appendChild(columnDiv)
312316
}
313-
appInd++
317+
appInd += 1
314318
})
315319

316320
const appsContainer = document.getElementById("apps-container")
@@ -325,7 +329,7 @@ function show_category() {
325329
var selectedCategories = Array.from(document.querySelectorAll("#category option:checked")).map((option) => option.value)
326330
var games = document.getElementsByClassName("column")
327331

328-
for (var i = 0; i < games.length; i++) {
332+
for (var i = 0; i < games.length; i += 1) {
329333
var game = games[i]
330334
var categories = game.getAttribute("data-category").split(" ")
331335

@@ -342,7 +346,7 @@ function search_bar() {
342346
var filter = input.value.toLowerCase()
343347
var games = document.getElementsByClassName("column")
344348

345-
for (var i = 0; i < games.length; i++) {
349+
for (var i = 0; i < games.length; i += 1) {
346350
var game = games[i]
347351
var name = game.getElementsByTagName("p")[0].textContent.toLowerCase()
348352

static/assets/scripts/m.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*
21
// Ads
32
document.addEventListener("DOMContentLoaded", function () {
43
if (localStorage.getItem("ad") === null || localStorage.getItem("ad") === "default") {
@@ -9,12 +8,12 @@ document.addEventListener("DOMContentLoaded", function () {
98
if (advDiv && localStorage.getItem("ad") === "on") {
109
var script = document.createElement("script")
1110
script.type = "text/javascript"
12-
script.src = "//oysterscoldtiny.com/4d/2f/92/4d2f92b8c68718dd3efb74b9f9b5fa4e.js"
11+
script.src = "//oysterscoldtiny.com/54/8d/25/548d25a3d0428027eb19da7447bb6c85.js"
1312
advDiv.appendChild(script)
14-
} else if (advDiv && localStorage.getItem("ad") === "banner") {
13+
} else if (advDiv && localStorage.getItem("ad") === "no") {
1514
advDiv.remove()
1615
}
17-
}) */
16+
})
1817

1918
// Dynamic & Ads
2019
document.addEventListener("DOMContentLoaded", function () {

0 commit comments

Comments
 (0)