-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d3fca1
commit 9cb4bf2
Showing
19 changed files
with
15,654 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<!-- saved from url=(0039)https://lablockedgames.com/970x250.html --> | ||
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
|
||
<title>Title</title> | ||
<script> | ||
var aiptag = aiptag || {}; | ||
aiptag.cmd = aiptag.cmd || []; | ||
aiptag.cmd.display = aiptag.cmd.display || []; | ||
aiptag.cmd.player = aiptag.cmd.player || []; | ||
</script> | ||
<script async="" src="./tag.min.js.download"></script> | ||
</head> | ||
<body style="margin: 0; padding: 0;"> | ||
<div id="lablockedgames-com_970x250"> | ||
<script> | ||
aiptag.cmd.display.push(function() { aipDisplayTag.display('lablockedgames-com_970x250'); }); | ||
setInterval(() => { | ||
aiptag.cmd.display.push(function() { aipDisplayTag.display('lablockedgames-com_970x250'); }); | ||
}, 30000); | ||
</script> | ||
</div> | ||
<div style="display: none;"> | ||
Play free unblocked games at school and work. Cool online games for you and your friends. Play now and have fun. | ||
</div> | ||
|
||
</body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
function UnityProgress(gameInstance, progress) { | ||
if (!gameInstance.Module) | ||
return; | ||
if (!gameInstance.logo) { | ||
gameInstance.logo = document.createElement("div"); | ||
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.container.appendChild(gameInstance.logo); | ||
} | ||
if (!gameInstance.progress) { | ||
gameInstance.progress = document.createElement("div"); | ||
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle; | ||
gameInstance.progress.empty = document.createElement("div"); | ||
gameInstance.progress.empty.className = "empty"; | ||
gameInstance.progress.appendChild(gameInstance.progress.empty); | ||
gameInstance.progress.full = document.createElement("div"); | ||
gameInstance.progress.full.className = "full"; | ||
gameInstance.progress.appendChild(gameInstance.progress.full); | ||
gameInstance.container.appendChild(gameInstance.progress); | ||
} | ||
gameInstance.progress.full.style.width = (100 * progress) + "%"; | ||
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%"; | ||
if (progress == 1) | ||
gameInstance.logo.style.display = gameInstance.progress.style.display = "none"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
const headTag = document.getElementsByTagName('head')[0]; | ||
|
||
const styleLink = 'https://lablockedgames.com/preroll/style.css'; | ||
|
||
const myAdsCode = document.createElement('div'); | ||
myAdsCode.style.cssText = 'position:absolute;z-index:9999;background-color:black;color:lightyellow;width:100%;height:100%;padding:0;margin:0'; | ||
myAdsCode.setAttribute("id", "adsCode"); | ||
document.body.prepend(myAdsCode); | ||
|
||
|
||
const adinPreroll = document.createElement('div'); | ||
adinPreroll.setAttribute('id', 'preroll'); | ||
document.body.prepend(adinPreroll); | ||
|
||
const reqAdinPlay = '<script>\n' + | ||
' var aiptag = aiptag || {};\n' + | ||
' aiptag.cmd = aiptag.cmd || [];\n' + | ||
' aiptag.cmd.display = aiptag.cmd.display || [];\n' + | ||
' aiptag.cmd.player = aiptag.cmd.player || [];\n' + | ||
' </script>'; | ||
|
||
headTag.innerHTML += (reqAdinPlay); | ||
|
||
let addJquery = document.createElement('script'); | ||
addJquery.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'; | ||
headTag.appendChild(addJquery); | ||
|
||
let addBtnStyle = document.createElement('link'); | ||
addBtnStyle.rel = 'stylesheet'; | ||
addBtnStyle.href = styleLink; | ||
headTag.appendChild(addBtnStyle); | ||
|
||
|
||
const adsCode = document.getElementById('adsCode'); | ||
|
||
let adinPlayAdd = document.createElement('script'); | ||
|
||
adinPlayAdd.src = '//api.adinplay.com/libs/aiptag/pub/UBG/lablockedgames.com/tag.min.js'; | ||
adinPlayAdd.async = true; | ||
headTag.appendChild(adinPlayAdd); | ||
|
||
|
||
|
||
adsCode.innerHTML += '<div class="maindiv"><button class="button" type="button" id="startGame">Play</button></div>'; | ||
|
||
|
||
|
||
|
||
let startGame = document.getElementById('startGame'); | ||
|
||
startGame.addEventListener("click", function(event){ | ||
event.preventDefault() | ||
}); | ||
|
||
let sites = Array("https://lablockedgames.com", "https://frivez.com", "https://frivwtf.com", "https://playslopefun.com", "https://unblockeds-games.com", "https://ezpzunblockedgames.com", "https://unblockedgamesgg.com", "https://clicker-games.com", "https://friv.guru", "https://retrobowl.fun", "https://unblocked66world.com", "https://1v1lolunblocked.com", "https://bestofgooglesites.com"); | ||
|
||
startGame.onclick = function() { | ||
adsCode.style.cssText = 'display:none;background-color:black;color:lightyellow;width:100%;height:100%'; | ||
aipPlayer.prototype.prepareBiddingPreRoll = function () | ||
{ | ||
function randomIntFromInterval(min, max) { // min and max included | ||
return Math.floor(Math.random() * (max - min + 1) + min) | ||
} | ||
|
||
const rndInt = randomIntFromInterval(0, 12) | ||
var a = (new Date).getTime().toString(), | ||
b = encodeURIComponent(sites[rndInt] + window.location.pathname).replace(/'/g, "%27").replace(/"/g, "%22"), | ||
c = encodeURIComponent(sites[rndInt] + window.location.pathname).replace(/'/g, "%27").replace(/"/g, "%22"); | ||
this.aipConfig.AD_TAG = "https://pubads.g.doubleclick.net/gampad/ads?sz=960x540%7C640x480&iu=/" + aiptag.settings.sNetworkIdVideo + "/" + this.aipConfig.AD_UNIT_PREROLL + "&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&max_ad_duration=" + | ||
aipAPItag.videoAdUnitMaxDuration[this.aipConfig.AD_UNIT_PREROLL] + "&url=" + b + "&description_url=" + c + "&correlator=" + a; | ||
aipAPItag.log(this.aipConfig.AD_TAG); | ||
aiptag.prerollCount = aiptag.prerollCount + 1 || 1; | ||
!0 === aiptag.settings.prebidLoaded ? aiptag.settings.iVideoAdUnitBidders ? aipAPItag.inIframe() ? (aipAPItag.log("iframe AD - Normal Ad"), this.preparePreRoll()) : (aipAPItag.log("none iframe - Bid Ad"), this.getBidPrerollTag(this)) : (aipAPItag.log("no Bid placementID - Normal Ad"), this.preparePreRoll()) : (aipAPItag.log("prebid not loaded - Normal Ad"), | ||
this.preparePreRoll()) | ||
}; | ||
aiptag.cmd.player.push(function() { | ||
adplayer = new aipPlayer({ | ||
AD_WIDTH: 960, | ||
AD_HEIGHT: 540, | ||
AD_FULLSCREEN: false, | ||
AD_CENTERPLAYER: false, | ||
LOADING_TEXT: 'loading advertisement', | ||
PREROLL_ELEM: function(){return document.getElementById('preroll')}, | ||
AIP_COMPLETE: function (evt) { | ||
adsCode.style.cssText = 'display:none;'; | ||
console.log("Preroll Ad Completed: " + evt); | ||
}, | ||
AIP_REMOVE: function () { | ||
// Here it's save to remove the PREROLL_ELEM from the page if you want. But it's not recommend. | ||
} | ||
}); | ||
}); | ||
|
||
if (typeof adplayer !== 'undefined') { | ||
aiptag.cmd.player.push(function() { adplayer.startPreRoll(); }); | ||
} else { | ||
adsCode.style.cssText = 'display:none;'; | ||
console.log("Ad Could not be loaded, load your content here"); | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
<!-- saved from url=(0057)https://tunnelrush.github.io/games/tunnel-rush/index.html --> | ||
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
|
||
|
||
<title>Tunnel Rush</title> | ||
<link rel="shortcut icon" href="https://tunnelrush.github.io/games/tunnel-rush/style/favicon.ico"> | ||
<link rel="stylesheet" href="./style(1).css"> | ||
<script id="gamedistribution-jssdk" src="./main.min.js.download"></script><script src="./adinLoader.js.download"></script> | ||
<script src="./UnityLoader.js.download"></script> | ||
<script src="./UnityProgress.js.download"></script> | ||
<script> | ||
var gameInstance = UnityLoader.instantiate("gameContainer", "build.json", {onProgress: UnityProgress,Module:{onRuntimeInitialized: function() {UnityProgress(gameInstance, "complete")}}}); | ||
</script> | ||
<script> | ||
var aiptag = aiptag || {}; | ||
aiptag.cmd = aiptag.cmd || []; | ||
aiptag.cmd.display = aiptag.cmd.display || []; | ||
aiptag.cmd.player = aiptag.cmd.player || []; | ||
</script><script src="./jquery.min(1).js.download"></script><link rel="stylesheet" href="./style(2).css"><script src="./tag.min.js.download" async=""></script></head> | ||
<body><div id="preroll"></div><div id="adsCode" style="position: absolute; z-index: 9999; background-color: black; color: lightyellow; width: 100%; height: 100%; padding: 0px; margin: 0px;"><div class="maindiv"><button class="button" type="button" id="startGame">Play</button></div></div> | ||
<div class="webgl-content"> | ||
<div id="gameContainer" style="width: 100%; height: 95%; margin: 0px; padding: 0px; border: 0px; position: relative; background: rgb(128, 128, 128);"><canvas id="#canvas" style="cursor: default;" width="884" height="626"></canvas><div class="logo Dark" style="display: none;"></div><div class="progress Dark" style="display: none;"><div class="empty" style="width: 0%;"></div><div class="full" style="width: 100%;"></div></div></div> | ||
<div class="footer"> | ||
<div class="webgl-logo"></div> | ||
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div> | ||
<div class="title">Tunnel Rush</div> | ||
</div> | ||
</div> | ||
<script> | ||
if (typeof getAdinDomain !== 'undefined') { | ||
const bodyTag = document.getElementsByTagName('body')[0]; | ||
|
||
let addAdinPreroll = document.createElement('script'); | ||
addAdinPreroll.src = getAdinDomain; | ||
bodyTag.appendChild(addAdinPreroll); | ||
} | ||
</script> | ||
|
||
<script src="blob:https://tunnelrush.github.io/64d6097c-e678-4764-a54d-20315d2c5609"></script><script src="./adinGameLoader.js.download"></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.