Skip to content

Commit

Permalink
add fortnite geoguessr and update fn
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus committed Sep 16, 2024
1 parent 571b616 commit afc86cd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion static/!.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<script src="/assets/js/script.js?v=10" async></script>
<link href="/img/favicon.ico" rel="icon" type="image/x-icon" />
<script src="/assets/js/frame.js?v=3"></script>
<script src="/assets/js/frame.js?v=4"></script>
<script crossorigin="anonymous" src="/assets/js/font.js"></script>
<script src="/assets/js/easteregg.min.js" async></script>
<meta charset="utf-8" />
Expand Down
10 changes: 7 additions & 3 deletions static/assets/js/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ window.addEventListener("DOMContentLoaded", function () {
if (searchBar) {
searchBar.setAttribute(
"value",
decodeURL(sessionStorage.getItem("encodedUrl")),
decodeURL(sessionStorage.getItem("encodedUrl"))
);
// search bar functionality
searchBar.addEventListener("keydown", function (event) {
Expand All @@ -57,7 +57,11 @@ window.addEventListener("DOMContentLoaded", function () {
loadNewPage(url);
}
});
if (searchBar.value === "http://api.v6.wiki/") {
if (
searchBar.value === "http://api.v6.wiki/" ||
searchBar.value ===
"https://api.v6.wiki/apps/frogiee1/69420/custom-thingy-loader.html"
) {
document.getElementById("iframeid").sandbox =
"allow-scripts allow-pointer-lock allow-forms allow-same-origin allow-downloads";
searchBar.value = "gms://roblox";
Expand All @@ -76,7 +80,7 @@ function reload() {
document.onfullscreenchange = function () {
document.body.classList.toggle(
"fullscreen-active",
document.fullscreenElement,
document.fullscreenElement
);
iframe = document.getElementById("iframeid");
if (document.fullscreenElement) {
Expand Down
8 changes: 7 additions & 1 deletion static/assets/json/load/games.json
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
},
{
"name": "Fortnite (Mobile)",
"url": "https://now.gg/apps/aptoide/5874/aptoide.html",
"url": "https://api.v6.wiki/apps/frogiee1/69420/custom-thingy-loader.html",
"image": "/img/games/fortnite.jpeg",
"alert": "Search up fortnite, download and play.",
"usesProxy": true
Expand Down Expand Up @@ -1242,6 +1242,12 @@
"image": "/misc/retro-bowl/img/icon.jpg",
"usesProxy": false
},
{
"name": "Fortnite GeoGuessr",
"url": "https://lostgamer.io/fortnite",
"image": "/img/games/fngc.webp",
"usesProxy": true
},
{
"name": "Polytrack",
"url": "/misc/polytrack/",
Expand Down
Binary file added static/img/games/fngc.webp
Binary file not shown.

0 comments on commit afc86cd

Please sign in to comment.