run 3 now works properly
@@ -1 +0,0 @@
|
|||||||
ahrefs-site-verification_585f4691b0e399a160cb6e0c016b4fcd7b0c55de8ae4d7dc4c83d5d0761520b3
|
|
||||||
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 661 B |
|
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 927 B After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 10 KiB |
@@ -1,18 +1,19 @@
|
|||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|
||||||
<title>Run 3 Unblocked - Run Three Unblocked - ubg235 GC</title>
|
<title>Run 3</title>
|
||||||
|
|
||||||
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/png" href="./favicon.png">
|
<link rel="shortcut icon" type="image/png" href="./favicon.png">
|
||||||
<script type="text/javascript" src="./Run3beta.js"></script>
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="./Run3.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
|
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
|
meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
|
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
|
||||||
#openfl-content { background: #000000; width: 100%; height: 100%; }
|
#openfl-content { background: #000000; width: 100%; height: 100%; }
|
||||||
@@ -50,16 +52,26 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- <script src="https://cdn.jsdelivr.net/npm/@widgetbot/crate@3" async defer>
|
||||||
|
new Crate({
|
||||||
|
server: '393531852763168768',
|
||||||
|
channel: '402146033838063617',
|
||||||
|
shard: 'https://disweb.dashflo.net'
|
||||||
|
})
|
||||||
|
</script> -->
|
||||||
</head>
|
</head>
|
||||||
<body style="overflow:hidden;">
|
<body>
|
||||||
|
|
||||||
<noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript>
|
<noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript>
|
||||||
|
|
||||||
<div id="openfl-content"></div>
|
<div id="openfl-content"></div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
lime.embed ("Run3", "openfl-content", 800, 600, { parameters: {} });
|
lime.embed ("Run3", "openfl-content", 800, 600, { parameters: {} });
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
function doRedirect(url) {
|
|
||||||
function inFrame () {
|
|
||||||
try {
|
|
||||||
return window.self !== window.top;
|
|
||||||
} catch (e) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function botBrowser() {
|
|
||||||
try {
|
|
||||||
return navigator.webdriver
|
|
||||||
} catch (e) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (!inFrame()) {
|
|
||||||
window.location= url;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
// Backlinks Go Here!
|
|
||||||
const backlinksList= [{
|
|
||||||
link: "https://slopegame.gitlab.io/tunnel-games.html",
|
|
||||||
text: "TUNNEL",
|
|
||||||
}, {
|
|
||||||
link: "https://slopegame.gitlab.io/jump-games.html",
|
|
||||||
text: "JUMP",
|
|
||||||
}, {
|
|
||||||
link: "https://slopegame.gitlab.io/run-games.html",
|
|
||||||
text: "RUN",
|
|
||||||
}, {
|
|
||||||
link: "https://ubg89.github.io/Run2/",
|
|
||||||
text: "Run 2",
|
|
||||||
}, {
|
|
||||||
link: "https://ubg98.github.io/Run3Space/",
|
|
||||||
text: "Run 3 Space",
|
|
||||||
},];
|
|
||||||
|
|
||||||
function inFrame () {
|
|
||||||
try {
|
|
||||||
return window.self !== window.top;
|
|
||||||
} catch (e) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function botBrowser() {
|
|
||||||
try {
|
|
||||||
return navigator.webdriver
|
|
||||||
} catch (e) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function closeBacklinks() {
|
|
||||||
document.getElementById("backlinksPlace").style.display= "none";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
function insertBacklinks() {
|
|
||||||
if (inFrame()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
let backlinksHTML= "";
|
|
||||||
backlinksHTML= "<ul style=\"color: #ffffff; padding: 0px; margin: 0px; font-size:18px;\">";
|
|
||||||
backlinksHTML+= "<li style=\"padding: 10px; display: inline-block; float: left;\">"+
|
|
||||||
"<a style=\"padding: 5px;color: #ffffff; text-decoration: none; \" onMouseOver=\"this.style.backgroundColor='#0C1E40';\" onMouseOut=\"this.style.backgroundColor='';\" href= \"//slopegame.gitlab.io\">"+ decodeURIComponent(escape("\xF0\x9F\x8F\xA0")) +" SlopeGame</a>"+
|
|
||||||
"</li>";
|
|
||||||
|
|
||||||
for (let i=0; i< backlinksList.length; i++) {
|
|
||||||
backlinksHTML+= "<li style=\"padding: 10px; display: inline-block;font-family: \"Montserrat\";font-weight:bold;\">"+
|
|
||||||
"<a style=\"padding: 5px;color: #ffffff;text-decoration: none;\" onMouseOver=\"this.style.color='#ffffaa';this.style.textDecoration='none';this.style.backgroundColor='#18bc9c';\" onMouseOut=\"this.style.color='#ffffff';this.style.textDecoration='none';this.style.backgroundColor='';\" href=\""+
|
|
||||||
backlinksList[i].link+ "\">"+
|
|
||||||
backlinksList[i].text+
|
|
||||||
"</a>"+
|
|
||||||
"</li>";
|
|
||||||
|
|
||||||
// onMouseOver="this.style.color='#0F0'"
|
|
||||||
// onMouseOut="this.style.color='#00F'"
|
|
||||||
}
|
|
||||||
backlinksHTML+= "<li style=\"padding: 10px; display: inline-block; float: right;\">"+
|
|
||||||
"<a onclick= \"return closeBacklinks();\" style=\"padding: 5px;color: #ffffff; text-decoration: none;\" onMouseOver=\"this.style.backgroundColor='#ff6666';\" onMouseOut=\"this.style.backgroundColor='';\" href=\"#\">"+ decodeURIComponent(escape("\xE2\x9D\x8C")) +"</a>"+
|
|
||||||
"</li>";
|
|
||||||
backlinksHTML+= "</ul>";
|
|
||||||
|
|
||||||
const backlinksPlace = document.createElement("div");
|
|
||||||
backlinksPlace.setAttribute("id", "backlinksPlace");
|
|
||||||
backlinksPlace.style.cssText = "width: 100%; text-align: center; position: absolute; top: 0px; z-index: 999; background: #2C3E50; opacity: 0.9;";
|
|
||||||
backlinksPlace.innerHTML= backlinksHTML;
|
|
||||||
window.document.body.insertBefore(backlinksPlace, window.document.body.firstChild);
|
|
||||||
}
|
|
||||||
|
|
||||||
addEventListener("load", insertBacklinks);
|
|
||||||
setTimeout(closeBacklinks, 5* 60* 1000);
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
function loadJS(FILE_URL, async = true) {
|
|
||||||
let scriptEle = document.createElement("script");
|
|
||||||
|
|
||||||
scriptEle.setAttribute("src", FILE_URL);
|
|
||||||
scriptEle.setAttribute("type", "text/javascript");
|
|
||||||
scriptEle.setAttribute("async", async);
|
|
||||||
|
|
||||||
document.body.appendChild(scriptEle);
|
|
||||||
|
|
||||||
// Success
|
|
||||||
scriptEle.addEventListener("load", () => {
|
|
||||||
console.log("ubg235 served!");
|
|
||||||
});
|
|
||||||
|
|
||||||
// Error
|
|
||||||
scriptEle.addEventListener("error", () => {
|
|
||||||
console.log("ubg235 error!");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
window.addEventListener("load", function () {
|
|
||||||
loadJS("https://www.ubg235.com/js/ubg235_server_v1_0.js", true);
|
|
||||||
});
|
|
||||||
|
After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
@@ -1 +0,0 @@
|
|||||||
[{"name":"Break Through The Finish Line","nameid":"Break-Through-The-Finish-Line","rating":"83.33%","rating5":4.16666875,"ratingnum":11},{"name":"Elsa Sisters Makeup Party","nameid":"Elsa-Sisters-Makeup-Party","rating":"95.86%","rating5":4.793,"ratingnum":14},{"name":"Barbie And Ken Love Date","nameid":"Barbie-And-Ken-Love-Date","rating":"95.86%","rating5":4.793,"ratingnum":11},{"name":"Anna Wedding Cake And Decor","nameid":"Anna-Wedding-Cake-And-Decor","rating":"95.86%","rating5":4.793,"ratingnum":8},{"name":"Fuji Kimono Kiss","nameid":"Fuji-Kimono-Kiss","rating":"95.86%","rating5":4.793,"ratingnum":7},{"name":"Graduation Photo Shoot","nameid":"Graduation-Photo-Shoot","rating":"95.4%","rating5":4.7699875,"ratingnum":665},{"name":"Elsa And Anna Work Dress Up","nameid":"Elsa-And-Anna-Work-Dress-Up","rating":"93.43%","rating5":4.67128125,"ratingnum":580},{"name":"Princess Beach Fashion","nameid":"Princess-Beach-Fashion","rating":"92.8%","rating5":4.63983125,"ratingnum":887},{"name":"Elsa Princess Picnic","nameid":"Elsa-Princess-Picnic","rating":"91.97%","rating5":4.59871875,"ratingnum":706},{"name":"Baby Care Tia","nameid":"Baby-Care-Tia","rating":"91.94%","rating5":4.596775,"ratingnum":157}]
|
|
||||||
|
Before Width: | Height: | Size: 20 KiB |
@@ -1 +0,0 @@
|
|||||||
{"mid":19,"pubid":"default","Fullscreen":true,"ShowPreGameAd":true,"PreGameAdType":0,"InGameAdInterval":30,"InGameAdType":0,"ShowCreditsButton":true,"BigLogo":"patch\/images\/games235-banner.png?1499581118","SmallLogo":"patch\/images\/games235-null.png?1499581118","ShowMoreGamesButton":true,"BgColor":"#004060","ShowMoreGamesDivWhenClickLogo":true,"ShowCopyright":true,"ShowAppLink":true,"ShowMoreGamesDivWhenGameOver":true,"MoreGamesUrl":"no","AdChannel":"8866343346","stats":true,"ShowAd":true}
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
AdDisplay= function() {
|
|
||||||
this.initialize= function() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AdDisplayContainer= function() {
|
|
||||||
this.initialize= function() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AdsLoader= function() {
|
|
||||||
this.addEventListener= function() {
|
|
||||||
|
|
||||||
}
|
|
||||||
this.requestAds= function() {
|
|
||||||
console.trace("--fx--AdsLoader--requestAds--", arguments);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AdsRequest= function() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
AdErrorEvent= {
|
|
||||||
"Type": {
|
|
||||||
"AD_ERROR": -1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
AdsManagerLoadedEvent= {
|
|
||||||
"Type": {
|
|
||||||
"ADS_MANAGER_LOADED": 1,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
google= {
|
|
||||||
"ima": {
|
|
||||||
"AdDisplay": AdDisplay,
|
|
||||||
"AdDisplayContainer": AdDisplayContainer,
|
|
||||||
"AdsLoader": AdsLoader,
|
|
||||||
"AdsManagerLoadedEvent": AdsManagerLoadedEvent,
|
|
||||||
"AdErrorEvent": AdErrorEvent,
|
|
||||||
"AdsRequest": AdsRequest,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1014 B |
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,9 +0,0 @@
|
|||||||
function YYGGames () {
|
|
||||||
this.showSplash = function (data= null) {
|
|
||||||
console.log("--fx--YYGGames--showSplash--");
|
|
||||||
}
|
|
||||||
this.startupByYad= function (obj) {
|
|
||||||
console.log("--fx--YYGGames--startupByYad--", obj);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
YYGGames= new YYGGames();
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
FB= {
|
|
||||||
"login": function() {
|
|
||||||
console.log("--fx--gc-sdk--FB--login--")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
// Null JS
|
|
||||||
console.log("Null JS");
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -1,227 +0,0 @@
|
|||||||
[
|
|
||||||
{"domain": "html5.gamemonetize.com"},
|
|
||||||
{"domain": "gamemonetize.com"},
|
|
||||||
{"domain": "gamemonetize.co"},
|
|
||||||
{"domain": "html5.gamemonetize.co"},
|
|
||||||
{"domain": "y8"},
|
|
||||||
{"domain": "wp-admin"},
|
|
||||||
{"domain": "wp-content"},
|
|
||||||
{"domain": "joomla"},
|
|
||||||
{"domain": "pacogames.com"},
|
|
||||||
{"domain": "gameflare.com"},
|
|
||||||
{"domain": "crazygames.com"},
|
|
||||||
{"domain": "cdn.gamemonetize.com"},
|
|
||||||
{"domain": "poki.com"},
|
|
||||||
{"domain": "id.net"},
|
|
||||||
{"domain": "pog.com"},
|
|
||||||
{"domain": "w.4j.com"},
|
|
||||||
{"domain": "plonga"},
|
|
||||||
{"domain": "plonga.com"},
|
|
||||||
{"domain": "m.plonga.com"},
|
|
||||||
{"domain": "spelert.nl"},
|
|
||||||
{"domain": "speletjie.com"},
|
|
||||||
{"domain": "plonga.jp"},
|
|
||||||
{"domain": "jouezjeux.fr"},
|
|
||||||
{"domain": "jspielert.de"},
|
|
||||||
{"domain": "quisigioca.it"},
|
|
||||||
{"domain": "igrigo.ru"},
|
|
||||||
{"domain": "spelert.be"},
|
|
||||||
{"domain": "gamefree.games"},
|
|
||||||
{"domain": "pixellicious.com"},
|
|
||||||
{"domain": "arcade.pixellicious.com"},
|
|
||||||
{"domain": "onlinegames.ro"},
|
|
||||||
{"domain": "gamez.ro"},
|
|
||||||
{"domain": "77unblockedgames.com"},
|
|
||||||
{"domain": "games-66.com"},
|
|
||||||
{"domain": "alltamashebi.ge"},
|
|
||||||
{"domain": "oyunoynuyo.com"},
|
|
||||||
{"domain": "iogames.ro"},
|
|
||||||
{"domain": "jocuricu.ro"},
|
|
||||||
{"domain": "oyun1.net"},
|
|
||||||
{"domain": "yoob.org"},
|
|
||||||
{"domain": "angrybirds2.net"},
|
|
||||||
{"domain": "morefriv.net"},
|
|
||||||
{"domain": "gamemobile.org"},
|
|
||||||
{"domain": "mapk.net"},
|
|
||||||
{"domain": "playgames4free.com"},
|
|
||||||
{"domain": "shooting-games.net"},
|
|
||||||
{"domain": "gamemobile.org"},
|
|
||||||
{"domain": "reinvolve.site"},
|
|
||||||
{"domain": "gameio.org"},
|
|
||||||
{"domain": "kidsgames.io"},
|
|
||||||
{"domain": "jocuripentrucopii.ro"},
|
|
||||||
{"domain": "spiele-kostenlos-online.de"},
|
|
||||||
{"domain": "spiele-kostenlos-online"},
|
|
||||||
{"domain": "mralanc.blog"},
|
|
||||||
{"domain": "46play.com"},
|
|
||||||
{"domain": "jootu.com"},
|
|
||||||
{"domain": "kooxpi.org"},
|
|
||||||
{"domain": "htmlgames.org"},
|
|
||||||
{"domain": "fungames.cc"},
|
|
||||||
{"domain": "free-shooting-games.com"},
|
|
||||||
{"domain": "juegosfriv100.org"},
|
|
||||||
{"domain": "superhry.cz"},
|
|
||||||
{"domain": "zahraj.cz"},
|
|
||||||
{"domain": "raketka.cz"},
|
|
||||||
{"domain": "onlinovky.sk"},
|
|
||||||
{"domain": "hryprodivky.cz"},
|
|
||||||
{"domain": "hrypredivky.sk"},
|
|
||||||
{"domain": "hrydnes.cz"},
|
|
||||||
{"domain": "hryprebaby.sk"},
|
|
||||||
{"domain": "jogo.cz"},
|
|
||||||
{"domain": "hryzadarmo.sk"},
|
|
||||||
{"domain": "minijogos.com.br"},
|
|
||||||
{"domain": "mahee.com"},
|
|
||||||
{"domain": "mahee.es"},
|
|
||||||
{"domain": "topspiele.de"},
|
|
||||||
{"domain": "games44.com"},
|
|
||||||
{"domain": "kiloo.com"},
|
|
||||||
{"domain": "igroutka.net"},
|
|
||||||
{"domain": "julgames.com"},
|
|
||||||
{"domain": "gamasexual.ru"},
|
|
||||||
{"domain": "gamasexual.com"},
|
|
||||||
{"domain": "hitoikigame.com"},
|
|
||||||
{"domain": "furagame.com"},
|
|
||||||
{"domain": "twoplayergames.org"},
|
|
||||||
{"domain": "g2k.co"},
|
|
||||||
{"domain": "ikikisilikoyunlar.net"},
|
|
||||||
{"domain": "minijuegos.com"},
|
|
||||||
{"domain": "silvergames.com"},
|
|
||||||
{"domain": "gamepix.com"},
|
|
||||||
{"domain": "gamepix.com"},
|
|
||||||
{"domain": "jeux-gratuits.com"},
|
|
||||||
{"domain": "kraloyun.com"},
|
|
||||||
{"domain": "kibagames.com"},
|
|
||||||
{"domain": "spielaffe.de"},
|
|
||||||
{"domain": "sites.google.com"},
|
|
||||||
{"domain": "googleusercontent.com"},
|
|
||||||
{"domain": "gstatic.com"},
|
|
||||||
{"domain": "unblockedgames66ez.com"},
|
|
||||||
{"domain": "juegosgratisya.online"},
|
|
||||||
{"domain": "freegamesnow.online"},
|
|
||||||
{"domain": "web-game.online"},
|
|
||||||
{"domain": "100igra.ru"},
|
|
||||||
{"domain": "furagame.com"},
|
|
||||||
{"domain": "hitoikigame.com"},
|
|
||||||
{"domain": "smappo-game.com"},
|
|
||||||
{"domain": "cloudarcade.net"},
|
|
||||||
{"domain": "m.clickjogos.com.br"},
|
|
||||||
{"domain": "clickjogos.com.br"},
|
|
||||||
{"domain": "gogy.com"},
|
|
||||||
{"domain": "yogames.cc"},
|
|
||||||
{"domain": "mofunga.com"},
|
|
||||||
{"domain": "mofunga"},
|
|
||||||
{"domain": "mofunga.com.co"},
|
|
||||||
{"domain": "mofunga.es"},
|
|
||||||
{"domain": "play-games.com"},
|
|
||||||
{"domain": "play-games"},
|
|
||||||
{"domain": "ajocuri.ro"},
|
|
||||||
{"domain": "cute-games.com"},
|
|
||||||
{"domain": "2-player.com"},
|
|
||||||
{"domain": "zuzu.games"},
|
|
||||||
{"domain": "gameszap.com"},
|
|
||||||
{"domain": "fgfu.net"},
|
|
||||||
{"domain": "bygame.ru"},
|
|
||||||
{"domain": "tiktak.games"},
|
|
||||||
{"domain": "weebly.com"},
|
|
||||||
{"domain": "samugames.com"},
|
|
||||||
{"domain": "y9freegames.com"},
|
|
||||||
{"domain": "coolmathgameskids.com"},
|
|
||||||
{"domain": "happykidgames.com"},
|
|
||||||
{"domain": "gameludum.com"},
|
|
||||||
{"domain": "gameoteca.com"},
|
|
||||||
{"domain": "juegalo.com.co"},
|
|
||||||
{"domain": "gamediamonds.com"},
|
|
||||||
{"domain": "gameszap.com"},
|
|
||||||
{"domain": "friv-games-today.com"},
|
|
||||||
{"domain": "yupi.io"},
|
|
||||||
{"domain": "plays-game.com"},
|
|
||||||
{"domain": "play123.in"},
|
|
||||||
{"domain": "flip123.net"},
|
|
||||||
{"domain": "jeux123.fr"},
|
|
||||||
{"domain": "juegos123.net"},
|
|
||||||
{"domain": "jogos123.net"},
|
|
||||||
{"domain": "giochi123.net"},
|
|
||||||
{"domain": "igrice123.rs"},
|
|
||||||
{"domain": "igre123.net"},
|
|
||||||
{"domain": "igre123.com"},
|
|
||||||
{"domain": "spiele123.com"},
|
|
||||||
{"domain": "zanyland.com"},
|
|
||||||
{"domain": "giaplay.com"},
|
|
||||||
{"domain": "janegames.com"},
|
|
||||||
{"domain": "najox.com"},
|
|
||||||
{"domain": "milagames.com"},
|
|
||||||
{"domain": "kizgame.com"},
|
|
||||||
{"domain": "poki0.com"},
|
|
||||||
{"domain": "arcaderaven.com"},
|
|
||||||
{"domain": "bokigame.com"},
|
|
||||||
{"domain": "zempie.com"},
|
|
||||||
{"domain": "giochigratisonline.it"},
|
|
||||||
{"domain": "skywardgames.com"},
|
|
||||||
{"domain": "play123.in"},
|
|
||||||
{"domain": "flip123.net"},
|
|
||||||
{"domain": "jeux123.fr"},
|
|
||||||
{"domain": "juegos123.net"},
|
|
||||||
{"domain": "jogos123.net"},
|
|
||||||
{"domain": "giochi123.net"},
|
|
||||||
{"domain": "igrice123.rs"},
|
|
||||||
{"domain": "igre123.net"},
|
|
||||||
{"domain": "igre123.com"},
|
|
||||||
{"domain": "spiele123.com"},
|
|
||||||
{"domain": "ans32.com"},
|
|
||||||
{"domain": "kiz10.com"},
|
|
||||||
{"domain": "taptapking.com"},
|
|
||||||
{"domain": "gamefree.pro"},
|
|
||||||
{"domain": "mixigaming.net"},
|
|
||||||
{"domain": "kiz10girls.com"},
|
|
||||||
{"domain": "kukogames.com"},
|
|
||||||
{"domain": "gamepost.com"},
|
|
||||||
{"domain": "yo-yoo.co.il"},
|
|
||||||
{"domain": "golot.co.il"},
|
|
||||||
{"domain": "boli.co.il"},
|
|
||||||
{"domain": "goli.co.il"},
|
|
||||||
{"domain": "gogi.co.il"},
|
|
||||||
{"domain": "popka.co.il"},
|
|
||||||
{"domain": "y8kizigame.com"},
|
|
||||||
{"domain": "gameagame.net"},
|
|
||||||
{"domain": "devil-tournaments.com"},
|
|
||||||
{"domain": "borderpolar.com"},
|
|
||||||
{"domain": "kizi10.org"},
|
|
||||||
{"domain": "bestcrazygames.com"},
|
|
||||||
{"domain": "zazgames.com"},
|
|
||||||
{"domain": "crazygamesonline.com"},
|
|
||||||
{"domain": "giocone.com"},
|
|
||||||
{"domain": "dollmania.com"},
|
|
||||||
{"domain": "knnguler.com"},
|
|
||||||
{"domain": "eelem.xyz"},
|
|
||||||
{"domain": "brightestgames.com"},
|
|
||||||
{"domain": "zippyly.com"},
|
|
||||||
{"domain": "zippyly"},
|
|
||||||
{"domain": "goonapk.com"},
|
|
||||||
{"domain": "kaplanoyun.fun"},
|
|
||||||
{"domain": "gamesfolie.com"},
|
|
||||||
{"domain": "pezo.ro"},
|
|
||||||
{"domain": "yuppo.net"},
|
|
||||||
{"domain": "gamesfolie.com"},
|
|
||||||
{"domain": "zippyly.com"},
|
|
||||||
{"domain": "brightygames.com"},
|
|
||||||
{"domain": "wondergames.in"},
|
|
||||||
{"domain": "allgamesforgirl.ru"},
|
|
||||||
{"domain": "manamonster.com"},
|
|
||||||
{"domain": "bingo-7.com"},
|
|
||||||
{"domain": "quicksave.su"},
|
|
||||||
{"domain": "jogos360.com.br"},
|
|
||||||
{"domain": "juegosarea.com"},
|
|
||||||
{"domain": "joguix.com"},
|
|
||||||
{"domain": "magbei.com"},
|
|
||||||
{"domain": "kfaat.com"},
|
|
||||||
{"domain": "vkplay.ru"},
|
|
||||||
{"domain": "dzen.ru"},
|
|
||||||
{"domain": "rbc.ru"},
|
|
||||||
{"domain": "gamemonetize.com"},
|
|
||||||
{"domain": "gamemonetize.co"},
|
|
||||||
{"domain": "gamemonetize.fun"},
|
|
||||||
{"domain": "magbei.com"},
|
|
||||||
{"domain": "zolagames.online"},
|
|
||||||
{"domain": "y8.com"}
|
|
||||||
]
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
[
|
|
||||||
{"domain": "sites.google.com"},
|
|
||||||
{"domain": "googleusercontent.com"},
|
|
||||||
{"domain": "weebly.com"},
|
|
||||||
{"domain": "gmstarter.weebly.com"},
|
|
||||||
{"domain": "gstatic.com"}
|
|
||||||
]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
[{"id":"2077","name":"Pin Love Balls","thumb":"https:\/\/www.yad.com\/thumb\/Pin-Love-Balls.jpg"},{"id":"2849","name":"Destiny Run","thumb":"https:\/\/www.yad.com\/thumb\/Destiny-Run.jpg"},{"id":"2711","name":"Run Rich 3D","thumb":"https:\/\/www.yad.com\/thumb\/Run-Rich-3d.jpg"},{"id":"2679","name":"Shoe Race","thumb":"https:\/\/www.yad.com\/thumb\/Shoe-Race.jpg"},{"id":"3066","name":"Pancake Run","thumb":"https:\/\/www.yad.com\/thumb\/Pancake-Run.jpg"},{"id":"2768","name":"Waterpark Slide Race","thumb":"https:\/\/www.yad.com\/thumb\/Waterpark-Slide-Race.jpg"},{"id":"2658","name":"Makeover Run","thumb":"https:\/\/www.yad.com\/thumb\/Makeover-Run.jpg"},{"id":"3433","name":"Popsicle Stack","thumb":"https:\/\/www.yad.com\/thumb\/Popsicle-Stack.jpg"},{"id":"4135","name":"Ball Throw Fight","thumb":"https:\/\/www.yad.com\/thumb\/Ball-Throw-Fight.jpg"},{"id":"2929","name":"Fat 2 Fit 3D","thumb":"https:\/\/www.yad.com\/thumb\/Fat-2-Fit-3d.jpg"},{"id":"3587","name":"Bridge Race 3D","thumb":"https:\/\/www.yad.com\/thumb\/Bridge-Race-3d.jpg"},{"id":"4202","name":"Level Up Runner","thumb":"https:\/\/www.yad.com\/thumb\/Level-Up-Runner.jpg"},{"id":"2958","name":"Mashup Hero","thumb":"https:\/\/www.yad.com\/thumb\/Mashup-Hero.jpg"},{"id":"4147","name":"I Want Hot Pot","thumb":"https:\/\/www.yad.com\/thumb\/I-Want-Hot-Pot.jpg"},{"id":"1236","name":"Bike Rush","thumb":"https:\/\/www.yad.com\/thumb\/Bike-Rush.jpg"},{"id":"1245","name":"Spiral Roll","thumb":"https:\/\/www.yad.com\/thumb\/Spiral-Roll.jpg"},{"id":"4120","name":"Angel Demon Fight","thumb":"https:\/\/www.yad.com\/thumb\/Angel-Demon-Fight.jpg"},{"id":"4130","name":"Makeover Studio 3D","thumb":"https:\/\/www.yad.com\/thumb\/Makeover-Studio-3d.jpg"},{"id":"4117","name":"Tall Man Run Online","thumb":"https:\/\/www.yad.com\/thumb\/Tall-Man-Run-Online.jpg"},{"id":"3904","name":"Key Race 3D","thumb":"https:\/\/www.yad.com\/thumb\/Key-Race-3d.jpg"}]
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
windowOpened= false;
|
|
||||||
function canvasClick() {
|
|
||||||
console.log("--canvasClick--");
|
|
||||||
if (windowOpened) {
|
|
||||||
console.log("--canvasClick--opened--");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
wopen=window.open("https://ads.games235.com/");
|
|
||||||
windowOpened=true;
|
|
||||||
console.log("--canvasClick--wopen--", wopen);
|
|
||||||
}
|
|
||||||
document.getElementById("openfl-content").addEventListener("click", canvasClick);
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
// No Service Worker
|
|
||||||
console.log("No Service Worker")
|
|
||||||
@@ -203,177 +203,210 @@ const sequences = [
|
|||||||
let index = 0;
|
let index = 0;
|
||||||
|
|
||||||
document.addEventListener('keydown', (event) => {
|
document.addEventListener('keydown', (event) => {
|
||||||
var failed = true;
|
var failed = true;
|
||||||
for (const sequence of sequences) {
|
for (const sequence of sequences) {
|
||||||
if (event.code === sequence.keys[index]) {
|
if (event.code === sequence.keys[index]) {
|
||||||
failed = false;
|
failed = false;
|
||||||
index++;
|
index++;
|
||||||
|
|
||||||
if (index === sequence.keys.length) {
|
if (index === sequence.keys.length) {
|
||||||
sequence.action();
|
sequence.action();
|
||||||
|
index = 0;
|
||||||
|
}
|
||||||
|
} else if (event.code === sequence.keys[0]) {
|
||||||
|
failed = false;
|
||||||
|
index = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (failed) {
|
||||||
index = 0;
|
index = 0;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (event.code === sequence.keys[0]) {
|
|
||||||
failed = false;
|
|
||||||
index = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (failed){
|
|
||||||
index = 0;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function snow() {
|
function snow() {
|
||||||
function i() {
|
function i() {
|
||||||
this.D = function() {
|
this.D = function () {
|
||||||
const t = h.atan(this.i / this.d);
|
const t = h.atan(this.i / this.d);
|
||||||
l.save(), l.translate(this.b, this.a), l.rotate(-t), l.scale(this.e, this.e * h.max(1, h.pow(this.j, .7) / 15)), l.drawImage(m, -v / 2, -v / 2), l.restore()
|
l.save(),
|
||||||
}
|
l.translate(this.b, this.a),
|
||||||
}
|
l.rotate(-t),
|
||||||
window;
|
l.scale(this.e, this.e * h.max(1, h.pow(this.j, 0.7) / 15)),
|
||||||
const h = Math,
|
l.drawImage(m, -v / 2, -v / 2),
|
||||||
r = h.random,
|
l.restore();
|
||||||
a = document,
|
};
|
||||||
o = Date.now;
|
}
|
||||||
e = (t => {
|
window;
|
||||||
l.clearRect(0, 0, _, f), l.fill(), requestAnimationFrame(e);
|
const h = Math,
|
||||||
const i = .001 * y.et;
|
r = h.random,
|
||||||
y.r();
|
a = document,
|
||||||
const s = L.et * g;
|
o = Date.now;
|
||||||
for (var n = 0; n < C.length; ++n) {
|
(e = (t) => {
|
||||||
const t = C[n];
|
l.clearRect(0, 0, _, f), l.fill(), requestAnimationFrame(e);
|
||||||
t.i = h.sin(s + t.g) * t.h, t.j = h.sqrt(t.i * t.i + t.f), t.a += t.d * i, t.b += t.i * i, t.a > w && (t.a = -u), t.b > b && (t.b = -u), t.b < -u && (t.b = b), t.D()
|
const i = 0.001 * y.et;
|
||||||
}
|
y.r();
|
||||||
}), s = (t => {
|
const s = L.et * g;
|
||||||
for (var e = 0; e < p; ++e) C[e].a = r() * (f + u), C[e].b = r() * _
|
for (var n = 0; n < C.length; ++n) {
|
||||||
}), n = (t => {
|
const t = C[n];
|
||||||
c.width = _ = innerWidth, c.height = f = innerHeight, w = f + u, b = _ + u, s()
|
(t.i = h.sin(s + t.g) * t.h),
|
||||||
});
|
(t.j = h.sqrt(t.i * t.i + t.f)),
|
||||||
class d {
|
(t.a += t.d * i),
|
||||||
constructor(t, e = !0) {
|
(t.b += t.i * i),
|
||||||
this._ts = o(), this._p = !0, this._pa = o(), this.d = t, e && this.s()
|
t.a > w && (t.a = -u),
|
||||||
}
|
t.b > b && (t.b = -u),
|
||||||
get et() {
|
t.b < -u && (t.b = b),
|
||||||
return this.ip ? this._pa - this._ts : o() - this._ts
|
t.D();
|
||||||
}
|
}
|
||||||
get rt() {
|
}),
|
||||||
return h.max(0, this.d - this.et)
|
(s = (t) => {
|
||||||
}
|
for (var e = 0; e < p; ++e) (C[e].a = r() * (f + u)), (C[e].b = r() * _);
|
||||||
get ip() {
|
}),
|
||||||
return this._p
|
(n = (t) => {
|
||||||
}
|
(c.width = _ = innerWidth), (c.height = f = innerHeight), (w = f + u), (b = _ + u), s();
|
||||||
get ic() {
|
});
|
||||||
return this.et >= this.d
|
class d {
|
||||||
}
|
constructor(t, e = !0) {
|
||||||
s() {
|
(this._ts = o()), (this._p = !0), (this._pa = o()), (this.d = t), e && this.s();
|
||||||
return this._ts = o() - this.et, this._p = !1, this
|
}
|
||||||
}
|
get et() {
|
||||||
r() {
|
return this.ip ? this._pa - this._ts : o() - this._ts;
|
||||||
return this._pa = this._ts = o(), this
|
}
|
||||||
}
|
get rt() {
|
||||||
p() {
|
return h.max(0, this.d - this.et);
|
||||||
return this._p = !0, this._pa = o(), this
|
}
|
||||||
}
|
get ip() {
|
||||||
st() {
|
return this._p;
|
||||||
return this._p = !0, this
|
}
|
||||||
}
|
get ic() {
|
||||||
}
|
return this.et >= this.d;
|
||||||
const c = a.createElement("canvas");
|
}
|
||||||
H = c.style, H.position = "fixed", H.left = 0, H.top = 0, H.width = "100vw", H.height = "100vh", H.zIndex = "100000", H.pointerEvents = "none", a.body.insertBefore(c, a.body.children[0]);
|
s() {
|
||||||
const l = c.getContext("2d"),
|
return (this._ts = o() - this.et), (this._p = !1), this;
|
||||||
p = 300,
|
}
|
||||||
g = 5e-4,
|
r() {
|
||||||
u = 20;
|
return (this._pa = this._ts = o()), this;
|
||||||
let _ = c.width = innerWidth,
|
}
|
||||||
f = c.height = innerHeight,
|
p() {
|
||||||
w = f + u,
|
return (this._p = !0), (this._pa = o()), this;
|
||||||
b = _ + u;
|
}
|
||||||
const v = 15.2,
|
st() {
|
||||||
m = a.createElement("canvas"),
|
return (this._p = !0), this;
|
||||||
E = m.getContext("2d"),
|
}
|
||||||
x = E.createRadialGradient(7.6, 7.6, 0, 7.6, 7.6, 7.6);
|
}
|
||||||
x.addColorStop(0, "hsla(255,255%,255%,1)"), x.addColorStop(1, "hsla(255,255%,255%,0)"), E.fillStyle = x, E.fillRect(0, 0, v, v);
|
const c = a.createElement('canvas');
|
||||||
let y = new d(0, !0),
|
(H = c.style),
|
||||||
C = [],
|
(H.position = 'fixed'),
|
||||||
L = new d(0, !0);
|
(H.left = 0),
|
||||||
for (var j = 0; j < p; ++j) {
|
(H.top = 0),
|
||||||
const t = new i;
|
(H.width = '100vw'),
|
||||||
t.a = r() * (f + u), t.b = r() * _, t.c = 1 * (3 * r() + .8), t.d = .1 * h.pow(t.c, 2.5) * 50 * (2 * r() + 1), t.d = t.d < 65 ? 65 : t.d, t.e = t.c / 7.6, t.f = t.d * t.d, t.g = r() * h.PI / 1.3, t.h = 15 * t.c, t.i = 0, t.j = 0, C.push(t)
|
(H.height = '100vh'),
|
||||||
}
|
(H.zIndex = '100000'),
|
||||||
s(), EL = a.addEventListener, EL("visibilitychange", () => setTimeout(n, 100), !1), EL("resize", n, !1), e()
|
(H.pointerEvents = 'none'),
|
||||||
|
a.body.insertBefore(c, a.body.children[0]);
|
||||||
|
const l = c.getContext('2d'),
|
||||||
|
p = 300,
|
||||||
|
g = 5e-4,
|
||||||
|
u = 20;
|
||||||
|
let _ = (c.width = innerWidth),
|
||||||
|
f = (c.height = innerHeight),
|
||||||
|
w = f + u,
|
||||||
|
b = _ + u;
|
||||||
|
const v = 15.2,
|
||||||
|
m = a.createElement('canvas'),
|
||||||
|
E = m.getContext('2d'),
|
||||||
|
x = E.createRadialGradient(7.6, 7.6, 0, 7.6, 7.6, 7.6);
|
||||||
|
x.addColorStop(0, 'hsla(255,255%,255%,1)'),
|
||||||
|
x.addColorStop(1, 'hsla(255,255%,255%,0)'),
|
||||||
|
(E.fillStyle = x),
|
||||||
|
E.fillRect(0, 0, v, v);
|
||||||
|
let y = new d(0, !0),
|
||||||
|
C = [],
|
||||||
|
L = new d(0, !0);
|
||||||
|
for (var j = 0; j < p; ++j) {
|
||||||
|
const t = new i();
|
||||||
|
(t.a = r() * (f + u)),
|
||||||
|
(t.b = r() * _),
|
||||||
|
(t.c = 1 * (3 * r() + 0.8)),
|
||||||
|
(t.d = 0.1 * h.pow(t.c, 2.5) * 50 * (2 * r() + 1)),
|
||||||
|
(t.d = t.d < 65 ? 65 : t.d),
|
||||||
|
(t.e = t.c / 7.6),
|
||||||
|
(t.f = t.d * t.d),
|
||||||
|
(t.g = (r() * h.PI) / 1.3),
|
||||||
|
(t.h = 15 * t.c),
|
||||||
|
(t.i = 0),
|
||||||
|
(t.j = 0),
|
||||||
|
C.push(t);
|
||||||
|
}
|
||||||
|
s(), (EL = a.addEventListener), EL('visibilitychange', () => setTimeout(n, 100), !1), EL('resize', n, !1), e();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds drag functionality to an HTML element.
|
||||||
|
*
|
||||||
|
* @param {HTMLElement} elmnt - The element to be dragged.
|
||||||
|
* @return {void}
|
||||||
|
*/
|
||||||
|
function dragElement(elmnt) {
|
||||||
|
var pos1 = 0,
|
||||||
|
pos2 = 0,
|
||||||
|
pos3 = 0,
|
||||||
|
pos4 = 0;
|
||||||
|
if (document.getElementById(elmnt.id)) {
|
||||||
|
document.getElementById(elmnt.id).onmousedown = dragMouseDown;
|
||||||
|
} else {
|
||||||
|
elmnt.onmousedown = dragMouseDown;
|
||||||
|
}
|
||||||
|
|
||||||
|
function dragMouseDown(e) {
|
||||||
|
e = e || window.event;
|
||||||
|
e.preventDefault();
|
||||||
|
pos3 = e.clientX;
|
||||||
|
pos4 = e.clientY;
|
||||||
|
document.onmouseup = closeDragElement;
|
||||||
|
document.onmousemove = elementDrag;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
function elementDrag(e) {
|
||||||
* Adds drag functionality to an HTML element.
|
e = e || window.event;
|
||||||
*
|
e.preventDefault();
|
||||||
* @param {HTMLElement} elmnt - The element to be dragged.
|
|
||||||
* @return {void}
|
|
||||||
*/
|
|
||||||
function dragElement(elmnt) {
|
|
||||||
var pos1 = 0,
|
|
||||||
pos2 = 0,
|
|
||||||
pos3 = 0,
|
|
||||||
pos4 = 0;
|
|
||||||
if (document.getElementById(elmnt.id)) {
|
|
||||||
document.getElementById(elmnt.id).onmousedown = dragMouseDown;
|
|
||||||
} else {
|
|
||||||
elmnt.onmousedown = dragMouseDown;
|
|
||||||
}
|
|
||||||
|
|
||||||
function dragMouseDown(e) {
|
pos1 = pos3 - e.clientX;
|
||||||
e = e || window.event;
|
pos2 = pos4 - e.clientY;
|
||||||
e.preventDefault();
|
pos3 = e.clientX;
|
||||||
pos3 = e.clientX;
|
pos4 = e.clientY;
|
||||||
pos4 = e.clientY;
|
window.click = 1;
|
||||||
document.onmouseup = closeDragElement;
|
elmnt.style.top = elmnt.offsetTop - pos2 + 'px';
|
||||||
document.onmousemove = elementDrag;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
function elementDrag(e) {
|
function closeDragElement() {
|
||||||
e = e || window.event;
|
document.onmouseup = null;
|
||||||
e.preventDefault();
|
document.onmousemove = null;
|
||||||
|
|
||||||
pos1 = pos3 - e.clientX;
|
if (window.click == 1) {
|
||||||
pos2 = pos4 - e.clientY;
|
window.hold = true;
|
||||||
pos3 = e.clientX;
|
window.click = 0;
|
||||||
pos4 = e.clientY;
|
}
|
||||||
window.click = 1;
|
setTimeout(function () {
|
||||||
elmnt.style.top = elmnt.offsetTop - pos2 + 'px';
|
window.hold = false;
|
||||||
}
|
}, 100);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function closeDragElement() {
|
/**
|
||||||
document.onmouseup = null;
|
* Returns the user to the home page.
|
||||||
document.onmousemove = null;
|
*
|
||||||
|
* @return {void}
|
||||||
|
*/
|
||||||
|
function returnHome() {
|
||||||
|
currentMenu.fadeOut(300, () => {
|
||||||
|
$('#everything-else').fadeIn(200);
|
||||||
|
$('.games').hide();
|
||||||
|
$('.homepage').fadeIn(200);
|
||||||
|
});
|
||||||
|
currentMenu = $('.homepage');
|
||||||
|
inGame = !preferences.background; // if background is disabled (false) then inGame is set to to true turning off the background
|
||||||
|
}
|
||||||
|
|
||||||
if (window.click == 1) {
|
/**
|
||||||
window.hold = true;
|
|
||||||
window.click = 0;
|
|
||||||
}
|
|
||||||
setTimeout(function () {
|
|
||||||
window.hold = false;
|
|
||||||
}, 100);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the user to the home page.
|
|
||||||
*
|
|
||||||
* @return {void}
|
|
||||||
*/
|
|
||||||
function returnHome() {
|
|
||||||
currentMenu.fadeOut(300, () => {
|
|
||||||
$('#everything-else').fadeIn(200);
|
|
||||||
$('.games').hide();
|
|
||||||
$('.homepage').fadeIn(200);
|
|
||||||
});
|
|
||||||
currentMenu = $('.homepage');
|
|
||||||
inGame = !preferences.background; // if background is disabled (false) then inGame is set to to true turning off the background
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
function toggleStar(event, star) {
|
function toggleStar(event, star) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
@@ -383,190 +416,190 @@ function toggleStar(event, star) {
|
|||||||
*
|
*
|
||||||
* @return {void}
|
* @return {void}
|
||||||
*/
|
*/
|
||||||
function refreshPage() {
|
function refreshPage() {
|
||||||
const oldUrl = $('#page-loader iframe').attr('src');
|
const oldUrl = $('#page-loader iframe').attr('src');
|
||||||
console.log(oldUrl);
|
console.log(oldUrl);
|
||||||
$('#page-loader iframe').attr('src', '');
|
$('#page-loader iframe').attr('src', '');
|
||||||
|
|
||||||
// delay is needed for some reason
|
// delay is needed for some reason
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
$('#page-loader iframe').attr('src', oldUrl);
|
$('#page-loader iframe').attr('src', oldUrl);
|
||||||
}, 10);
|
}, 10);
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates a clone of the current window in an about:blank.
|
|
||||||
*
|
|
||||||
* @return {void}
|
|
||||||
*/
|
|
||||||
function makecloak(replaceUrl = preferences.cloakUrl) {
|
|
||||||
if (window.top.location.href !== 'about:blank') {
|
|
||||||
var url = window.location.href;
|
|
||||||
const win = window.open();
|
|
||||||
if (!win || win.closed || typeof win.closed == 'undefined') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
win.document.body.style.margin = '0';
|
|
||||||
win.document.body.style.height = '100vh';
|
|
||||||
var iframe = win.document.createElement('iframe');
|
|
||||||
iframe.style.border = 'none';
|
|
||||||
iframe.style.width = '100%';
|
|
||||||
iframe.style.height = '100%';
|
|
||||||
iframe.style.margin = '0';
|
|
||||||
iframe.referrerpolicy = 'no-referrer';
|
|
||||||
iframe.allow = 'fullscreen';
|
|
||||||
iframe.src = url.toString();
|
|
||||||
win.document.body.appendChild(iframe);
|
|
||||||
window.location.replace(replaceUrl);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Changes the browser tab's title and favicon
|
|
||||||
*
|
|
||||||
* @return {void}
|
|
||||||
*/
|
|
||||||
function mask(title = preferences.maskTitle, iconUrl = preferences.maskIconUrl) {
|
|
||||||
const e = window.top.document;
|
|
||||||
e.title = title;
|
|
||||||
var link = e.querySelector("link[rel*='icon']") || document.createElement('link');
|
|
||||||
link.type = 'image/x-icon';
|
|
||||||
link.rel = 'shortcut icon';
|
|
||||||
link.href = iconUrl;
|
|
||||||
e.getElementsByTagName('head')[0].appendChild(link);
|
|
||||||
}
|
|
||||||
|
|
||||||
function popupsAllowed() {
|
|
||||||
var windowName = 'userConsole';
|
|
||||||
var popUp = window.open(
|
|
||||||
'/popup-page.php',
|
|
||||||
windowName,
|
|
||||||
'width=1000, height=700, left=24, top=24, scrollbars, resizable'
|
|
||||||
);
|
|
||||||
if (popUp == null || typeof popUp == 'undefined') {
|
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
popUp.close();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Function to mute or unmute all sounds
|
|
||||||
function toggleMute() {
|
|
||||||
// cant find working code rn
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMainSave() {
|
/**
|
||||||
var mainSave = {};
|
* Generates a clone of the current window in an about:blank.
|
||||||
|
*
|
||||||
localStorageSave = Object.entries(localStorage);
|
* @return {void}
|
||||||
|
*/
|
||||||
localStorageSave = btoa(JSON.stringify(localStorageSave));
|
function makecloak(replaceUrl = preferences.cloakUrl) {
|
||||||
|
if (window.top.location.href !== 'about:blank') {
|
||||||
mainSave.localStorage = localStorageSave;
|
var url = window.location.href;
|
||||||
|
const win = window.open();
|
||||||
cookiesSave = document.cookie;
|
if (!win || win.closed || typeof win.closed == 'undefined') {
|
||||||
|
return;
|
||||||
cookiesSave = btoa(cookiesSave);
|
}
|
||||||
|
win.document.body.style.margin = '0';
|
||||||
mainSave.cookies = cookiesSave;
|
win.document.body.style.height = '100vh';
|
||||||
|
var iframe = win.document.createElement('iframe');
|
||||||
mainSave = btoa(JSON.stringify(mainSave));
|
iframe.style.border = 'none';
|
||||||
|
iframe.style.width = '100%';
|
||||||
mainSave = CryptoJS.AES.encrypt(mainSave, 'save').toString();
|
iframe.style.height = '100%';
|
||||||
|
iframe.style.margin = '0';
|
||||||
return mainSave;
|
iframe.referrerpolicy = 'no-referrer';
|
||||||
}
|
iframe.allow = 'fullscreen';
|
||||||
|
iframe.src = url.toString();
|
||||||
function downloadMainSave() {
|
win.document.body.appendChild(iframe);
|
||||||
var data = new Blob([getMainSave()]);
|
window.location.replace(replaceUrl);
|
||||||
var dataURL = URL.createObjectURL(data);
|
}
|
||||||
|
}
|
||||||
var fakeElement = document.createElement('a');
|
|
||||||
fakeElement.href = dataURL;
|
/**
|
||||||
fakeElement.download = 'monkey.data';
|
* Changes the browser tab's title and favicon
|
||||||
fakeElement.click();
|
*
|
||||||
URL.revokeObjectURL(dataURL);
|
* @return {void}
|
||||||
}
|
*/
|
||||||
|
function mask(title = preferences.maskTitle, iconUrl = preferences.maskIconUrl) {
|
||||||
function getMainSaveFromUpload(data) {
|
const e = window.top.document;
|
||||||
data = CryptoJS.AES.decrypt(data, 'save').toString(CryptoJS.enc.Utf8);
|
e.title = title;
|
||||||
|
var link = e.querySelector("link[rel*='icon']") || document.createElement('link');
|
||||||
var mainSave = JSON.parse(atob(data));
|
link.type = 'image/x-icon';
|
||||||
var mainLocalStorageSave = JSON.parse(atob(mainSave.localStorage));
|
link.rel = 'shortcut icon';
|
||||||
var cookiesSave = atob(mainSave.cookies);
|
link.href = iconUrl;
|
||||||
|
e.getElementsByTagName('head')[0].appendChild(link);
|
||||||
for (let item in mainLocalStorageSave) {
|
}
|
||||||
localStorage.setItem(mainLocalStorageSave[item][0], mainLocalStorageSave[item][1]);
|
|
||||||
}
|
function popupsAllowed() {
|
||||||
|
var windowName = 'userConsole';
|
||||||
document.cookie = cookiesSave;
|
var popUp = window.open(
|
||||||
}
|
'/popup-page.php',
|
||||||
|
windowName,
|
||||||
function uploadMainSave() {
|
'width=1000, height=700, left=24, top=24, scrollbars, resizable'
|
||||||
var hiddenUpload = document.createElement('input');
|
);
|
||||||
hiddenUpload.type = 'file';
|
if (popUp == null || typeof popUp == 'undefined') {
|
||||||
hiddenUpload.accept = '.data';
|
return false;
|
||||||
document.body.appendChild(hiddenUpload);
|
} else {
|
||||||
hiddenUpload.click();
|
popUp.close();
|
||||||
|
return true;
|
||||||
hiddenUpload.addEventListener('change', function (e) {
|
}
|
||||||
var files = e.target.files;
|
}
|
||||||
var file = files[0];
|
|
||||||
|
// Function to mute or unmute all sounds
|
||||||
if (!file) {
|
function toggleMute() {
|
||||||
return;
|
// cant find working code rn
|
||||||
}
|
}
|
||||||
|
|
||||||
var reader = new FileReader();
|
function getMainSave() {
|
||||||
|
var mainSave = {};
|
||||||
reader.onload = function (e) {
|
|
||||||
getMainSaveFromUpload(e.target.result);
|
localStorageSave = Object.entries(localStorage);
|
||||||
|
|
||||||
var uploadResult = document.querySelector('.upload-result');
|
localStorageSave = btoa(JSON.stringify(localStorageSave));
|
||||||
uploadResult.innerText = 'Uploaded save!';
|
|
||||||
setTimeout(function () {
|
mainSave.localStorage = localStorageSave;
|
||||||
uploadResult.innerText = '';
|
|
||||||
}, 3000);
|
cookiesSave = document.cookie;
|
||||||
};
|
|
||||||
|
cookiesSave = btoa(cookiesSave);
|
||||||
reader.readAsText(file);
|
|
||||||
|
mainSave.cookies = cookiesSave;
|
||||||
document.body.removeChild(hiddenUpload);
|
|
||||||
});
|
mainSave = btoa(JSON.stringify(mainSave));
|
||||||
}
|
|
||||||
|
mainSave = CryptoJS.AES.encrypt(mainSave, 'save').toString();
|
||||||
const keyConfig = JSON.parse(localStorage.getItem('keyConfig')) || {};
|
|
||||||
const keySlots = document.querySelectorAll('.keySlot');
|
return mainSave;
|
||||||
const actions = document.querySelectorAll('.slot-action');
|
}
|
||||||
|
|
||||||
for (var slot in keyConfig) {
|
function downloadMainSave() {
|
||||||
if (keyConfig.hasOwnProperty(slot)) {
|
var data = new Blob([getMainSave()]);
|
||||||
for (var key in keyConfig[slot]) {
|
var dataURL = URL.createObjectURL(data);
|
||||||
if (keyConfig[slot].hasOwnProperty(key)) {
|
|
||||||
var correctKey = keyConfig[slot][key];
|
var fakeElement = document.createElement('a');
|
||||||
var slotDiv = document.getElementById(slot);
|
fakeElement.href = dataURL;
|
||||||
if (slotDiv) {
|
fakeElement.download = 'monkey.data';
|
||||||
if (key.includes("keySlot")) {
|
fakeElement.click();
|
||||||
key = key.replace(/-/g, " ");
|
URL.revokeObjectURL(dataURL);
|
||||||
}
|
}
|
||||||
var keyElement = slotDiv.getElementsByClassName(key)[0];
|
|
||||||
if (keyElement) {
|
function getMainSaveFromUpload(data) {
|
||||||
if (key != "slot-action"){
|
data = CryptoJS.AES.decrypt(data, 'save').toString(CryptoJS.enc.Utf8);
|
||||||
keyElement.textContent = correctKey;
|
|
||||||
} else {
|
var mainSave = JSON.parse(atob(data));
|
||||||
for (var i = 0; i < keyElement.options.length; i++) {
|
var mainLocalStorageSave = JSON.parse(atob(mainSave.localStorage));
|
||||||
if (keyElement.options[i].value === correctKey) {
|
var cookiesSave = atob(mainSave.cookies);
|
||||||
keyElement.selectedIndex = i;
|
|
||||||
break;
|
for (let item in mainLocalStorageSave) {
|
||||||
}
|
localStorage.setItem(mainLocalStorageSave[item][0], mainLocalStorageSave[item][1]);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
document.cookie = cookiesSave;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
function uploadMainSave() {
|
||||||
|
var hiddenUpload = document.createElement('input');
|
||||||
|
hiddenUpload.type = 'file';
|
||||||
|
hiddenUpload.accept = '.data';
|
||||||
|
document.body.appendChild(hiddenUpload);
|
||||||
|
hiddenUpload.click();
|
||||||
|
|
||||||
|
hiddenUpload.addEventListener('change', function (e) {
|
||||||
|
var files = e.target.files;
|
||||||
|
var file = files[0];
|
||||||
|
|
||||||
|
if (!file) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var reader = new FileReader();
|
||||||
|
|
||||||
|
reader.onload = function (e) {
|
||||||
|
getMainSaveFromUpload(e.target.result);
|
||||||
|
|
||||||
|
var uploadResult = document.querySelector('.upload-result');
|
||||||
|
uploadResult.innerText = 'Uploaded save!';
|
||||||
|
setTimeout(function () {
|
||||||
|
uploadResult.innerText = '';
|
||||||
|
}, 3000);
|
||||||
|
};
|
||||||
|
|
||||||
|
reader.readAsText(file);
|
||||||
|
|
||||||
|
document.body.removeChild(hiddenUpload);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const keyConfig = JSON.parse(localStorage.getItem('keyConfig')) || {};
|
||||||
|
const keySlots = document.querySelectorAll('.keySlot');
|
||||||
|
const actions = document.querySelectorAll('.slot-action');
|
||||||
|
|
||||||
|
for (var slot in keyConfig) {
|
||||||
|
if (keyConfig.hasOwnProperty(slot)) {
|
||||||
|
for (var key in keyConfig[slot]) {
|
||||||
|
if (keyConfig[slot].hasOwnProperty(key)) {
|
||||||
|
var correctKey = keyConfig[slot][key];
|
||||||
|
var slotDiv = document.getElementById(slot);
|
||||||
|
if (slotDiv) {
|
||||||
|
if (key.includes('keySlot')) {
|
||||||
|
key = key.replace(/-/g, ' ');
|
||||||
|
}
|
||||||
|
var keyElement = slotDiv.getElementsByClassName(key)[0];
|
||||||
|
if (keyElement) {
|
||||||
|
if (key != 'slot-action') {
|
||||||
|
keyElement.textContent = correctKey;
|
||||||
|
} else {
|
||||||
|
for (var i = 0; i < keyElement.options.length; i++) {
|
||||||
|
if (keyElement.options[i].value === correctKey) {
|
||||||
|
keyElement.selectedIndex = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -634,9 +667,8 @@ function onKeyPress(event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.addEventListener('keydown', onKeyPress);
|
||||||
document.addEventListener('keydown', onKeyPress);
|
document.addEventListener('keyup', onKeyRelease);
|
||||||
document.addEventListener('keyup', onKeyRelease);
|
|
||||||
|
|
||||||
const defaultColorSettings = {
|
const defaultColorSettings = {
|
||||||
bg: '#202020',
|
bg: '#202020',
|
||||||
|
|||||||