added thumb fighter
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,19 @@
|
||||
# This file is a template, and might need editing before it works on your project.
|
||||
# To contribute improvements to CI/CD templates, please follow the Development guide at:
|
||||
# https://docs.gitlab.com/ee/development/cicd/templates.html
|
||||
# This specific template is located at:
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml
|
||||
|
||||
# Full project: https://gitlab.com/pages/plain-html
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mkdir .public
|
||||
- cp -r ./* .public
|
||||
- rm -rf public
|
||||
- mv .public public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
@@ -0,0 +1 @@
|
||||
PS 404 Not Found!
|
||||
@@ -0,0 +1 @@
|
||||
PS 408 Request Time Out!
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"short_name": "ubg235",
|
||||
"name": "ubg235 Cloner",
|
||||
"description": "Unblocked Games235 Cloner"
|
||||
}
|
||||
|
After Width: | Height: | Size: 25 KiB |
@@ -0,0 +1 @@
|
||||
<iframe width="100%" height="100%" src="index.html"></iframe>
|
||||
@@ -0,0 +1 @@
|
||||
<script src="js/analytics_games235.js"></script>
|
||||
@@ -0,0 +1,2 @@
|
||||
2023-09-21
|
||||
07:54
|
||||
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 160 B |
|
After Width: | Height: | Size: 78 B |
|
After Width: | Height: | Size: 38 B |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 221 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 672 B |
|
After Width: | Height: | Size: 182 B |
|
After Width: | Height: | Size: 489 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 254 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 88 KiB |
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Thumb Fighter Turbo Unblocked - ClassRoom6x</title>
|
||||
<meta name="website" content="classroom6x.gitlab.io" />
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||
|
||||
<meta name="generator" content="Scirra Construct">
|
||||
<meta name="author" content="Avix Games">
|
||||
<meta name="description" content="Thumb Fighter Turbo">
|
||||
<link rel="manifest" href="appmanifest.json">
|
||||
<link rel="apple-touch-icon" sizes="128x128" href="icons/icon-128.png">
|
||||
<link rel="apple-touch-icon" sizes="256x256" href="icons/icon-256.png">
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="icons/icon-512.png">
|
||||
<link rel="icon" type="image/png" href="icons/icon-512.png">
|
||||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<style>
|
||||
#canvas,
|
||||
canvas {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="overflow:hidden;">
|
||||
|
||||
<script>
|
||||
if (location.protocol.substr(0, 4) === "file")
|
||||
{
|
||||
alert("Web exports won't work until you upload them. (When running on the file: protocol, browsers block many features from working for security reasons.)");
|
||||
}
|
||||
</script>
|
||||
<script src="gameanalytics.js"></script>
|
||||
<noscript>
|
||||
<div id="notSupportedWrap">
|
||||
<h2 id="notSupportedTitle">This content requires JavaScript</h2>
|
||||
<p class="notSupportedMessage">JavaScript appears to be disabled. Please enable it to view this content.</p>
|
||||
</div>
|
||||
</noscript>
|
||||
<script src="scripts/supportcheck.js"></script>
|
||||
<script src="scripts/offlineclient.js" type="module"></script>
|
||||
<script src="scripts/main.js" type="module"></script>
|
||||
<script src="scripts/register-sw.js" type="module"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
function inFrame () {
|
||||
try {
|
||||
return window.self !== window.top;
|
||||
} catch (e) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function botBrowser() {
|
||||
try {
|
||||
return navigator.webdriver
|
||||
} catch (e) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function loadGoogleAnalytics(id) {
|
||||
// Google tag (gtag.js)
|
||||
var firstScript= document.getElementsByTagName("script")[0];
|
||||
newScript= document.createElement("script");
|
||||
newScript.async= "";
|
||||
newScript.src= "https://www.googletagmanager.com/gtag/js?id="+ id;
|
||||
firstScript.parentNode.insertBefore(newScript, firstScript);
|
||||
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', id);
|
||||
}
|
||||
|
||||
window.addEventListener("load", (event) => {
|
||||
if (botBrowser()) {
|
||||
loadGoogleAnalytics("G-LE1ZGTPC77");
|
||||
console.log('Bot Browser', event);
|
||||
} else {
|
||||
console.log('Human Browser', event);
|
||||
if (window.location.href.indexOf(".games235.com")> -1) {
|
||||
if (inFrame()) {
|
||||
loadGoogleAnalytics("G-M1L2DV7E56");
|
||||
} else {
|
||||
loadGoogleAnalytics("G-2M3FENCY5J");
|
||||
}
|
||||
} else {
|
||||
loadGoogleAnalytics("G-GLTKYHC2VB");
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,24 @@
|
||||
function loadGoogleAnalytics(id) {
|
||||
// Google tag (gtag.js)
|
||||
var firstScript= document.getElementsByTagName("script")[0];
|
||||
newScript= document.createElement("script");
|
||||
newScript.async= "";
|
||||
newScript.src= "https://www.googletagmanager.com/gtag/js?id="+ id;
|
||||
firstScript.parentNode.insertBefore(newScript, firstScript);
|
||||
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', id);
|
||||
}
|
||||
|
||||
window.addEventListener("load", function() {
|
||||
if (navigator.webdriver) {
|
||||
console.log('Bot Browser');
|
||||
loadGoogleAnalytics("G-LE1ZGTPC77");
|
||||
|
||||
} else {
|
||||
console.log('Human Browser');
|
||||
loadGoogleAnalytics("G-E7D3EVY6HR");
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,62 @@
|
||||
// Backlinks Go Here!
|
||||
const backlinksList= [{
|
||||
link: "#",
|
||||
text: "Press Z to start",
|
||||
},];
|
||||
|
||||
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= \"//ubg98.github.io\">"+ decodeURIComponent(escape("\xF0\x9F\x8F\xA0")) +" ubg98</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);
|
||||
@@ -0,0 +1,74 @@
|
||||
// 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://ubg98.github.io/DriftBoss/",
|
||||
text: "Drift Boss",
|
||||
}, {
|
||||
link: "https://madalinstuntcarsunblocked.github.io/",
|
||||
text: "Madalin Stunt Cars",
|
||||
},];
|
||||
|
||||
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);
|
||||
@@ -0,0 +1,23 @@
|
||||
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);
|
||||
});
|
||||
@@ -0,0 +1,23 @@
|
||||
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://ubg235.pages.dev/js/ubg235_server_v1_2.js", true);
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
<!-- -->
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
@@ -0,0 +1 @@
|
||||
[{"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}]
|
||||
|
After Width: | Height: | Size: 20 KiB |
@@ -0,0 +1 @@
|
||||
{"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}
|
||||
@@ -0,0 +1,228 @@
|
||||
/**
|
||||
{
|
||||
"name": "SDK_GDPR_TRACKING",
|
||||
"message": "Not set",
|
||||
"status": "warning"
|
||||
}
|
||||
|
||||
{
|
||||
"name": "SDK_GDPR_TARGETING",
|
||||
"message": "Not set",
|
||||
"status": "warning"
|
||||
}
|
||||
|
||||
{
|
||||
"name": "SDK_GDPR_THIRD_PARTY",
|
||||
"message": "Not set",
|
||||
"status": "warning"
|
||||
}
|
||||
|
||||
{
|
||||
"name": "SDK_READY",
|
||||
"message": "Everything is ready.",
|
||||
"status": "success"
|
||||
}
|
||||
|
||||
{
|
||||
"name": "SDK_ERROR",
|
||||
"message": "Blocked:1: patch/js/null.js?https://www.google-analytics.com/analytics.js",
|
||||
"status": "error"
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
gdsdk= function() {
|
||||
// ***** UTILS *****
|
||||
function loadJS(FILE_URL, callback) {
|
||||
let scriptEle = document.createElement("script");
|
||||
|
||||
scriptEle.setAttribute("src", FILE_URL);
|
||||
scriptEle.setAttribute("type", "text/javascript");
|
||||
scriptEle.setAttribute("async", true);
|
||||
|
||||
document.body.appendChild(scriptEle);
|
||||
|
||||
// Success
|
||||
scriptEle.addEventListener("load", () => {
|
||||
console.log("--fx--gdsdk--loadJS Done--");
|
||||
callback(true);
|
||||
});
|
||||
|
||||
// Error
|
||||
scriptEle.addEventListener("error", () => {
|
||||
console.log("--fx--gdsdk--loadJS Error--");
|
||||
callback(false);
|
||||
});
|
||||
}
|
||||
|
||||
// ***** INIT *****
|
||||
this.getSession= function() {
|
||||
return new Promise((resolve, reject)=> {
|
||||
resolve(true);
|
||||
});
|
||||
};
|
||||
|
||||
// ***** ADS *****
|
||||
this.AdType= {
|
||||
"Rewarded": "rewarded",
|
||||
"Interstitial": "interstitial",
|
||||
"Preroll": "interstitial",
|
||||
"Midroll": "interstitial",
|
||||
"Display": "display"
|
||||
};
|
||||
|
||||
this.Interstitial= function() {
|
||||
console.log("--gdsdk--Interstitial--", arguments);
|
||||
};
|
||||
|
||||
this.preloadAd= function() {
|
||||
console.log("--gdsdk--preloadAd--");
|
||||
window.GD_OPTIONS.onEvent({
|
||||
"name": "SDK_READY",
|
||||
"message": "Everything is ready.",
|
||||
"status": "success"
|
||||
});
|
||||
return new Promise((resolve, reject)=> {
|
||||
resolve(true);
|
||||
});
|
||||
}
|
||||
|
||||
this.cancelAd= function() {
|
||||
return new Promise((resolve, reject)=> {
|
||||
resolve(true);
|
||||
});
|
||||
};
|
||||
|
||||
this.showAd= function (adType) {
|
||||
console.log("--gdsdk--showAd--", adType, arguments);
|
||||
if (adType== "rewarded") {
|
||||
return new Promise((resolve, reject)=> {
|
||||
loadJS("https://www.ubg235.com/ads/rewarded.js", (success)=> {
|
||||
if (success) {
|
||||
console.log("--fx--showAd--Done--");
|
||||
window.GD_OPTIONS.onEvent({
|
||||
name: "SDK_REWARDED_WATCH_COMPLETE",
|
||||
message: "Rewarded",
|
||||
status: "success",
|
||||
});
|
||||
window.GD_OPTIONS.onEvent({
|
||||
name: "SDK_GAME_START",
|
||||
message: "No Message",
|
||||
});
|
||||
resolve(true);
|
||||
} else {
|
||||
console.log("--fx--showAd--Rejected--");
|
||||
window.GD_OPTIONS.onEvent({
|
||||
name: "SDK_GAME_START",
|
||||
message: "Reward Skip!",
|
||||
status: "success",
|
||||
});
|
||||
reject(false);
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
return new Promise((resolve, reject)=> {
|
||||
loadJS("https://www.ubg235.com/ads/commercial.js", (success)=> {
|
||||
window.GD_OPTIONS.onEvent({
|
||||
name: "SDK_GAME_START",
|
||||
message: "No Message",
|
||||
});
|
||||
resolve(true);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
this.showBanner= function() {
|
||||
console.log("--gdsdk--showBanner--", arguments);
|
||||
return new Promise((resolve, reject)=> {
|
||||
loadJS("https://www.ubg235.com/ads/commercial.js", (success)=> {
|
||||
window.GD_OPTIONS.onEvent({
|
||||
name: "SDK_GAME_START",
|
||||
message: "Reward Skip!",
|
||||
});
|
||||
if (success) {
|
||||
console.log("--fx--showBanner--Done--");
|
||||
resolve(true);
|
||||
} else {
|
||||
console.log("--fx--showBanner--Rejected--");
|
||||
reject(false);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
// ***** EVENTS & LOGS *****
|
||||
this.sendEvent= function() {
|
||||
console.log("--gdsdk--sendEvent--", arguments);
|
||||
}
|
||||
|
||||
this.openConsole= function() {
|
||||
console.log("--gdsdk--openConsole--", arguments);
|
||||
};
|
||||
|
||||
this.leaderboard= {
|
||||
"addScore": function() {
|
||||
|
||||
},
|
||||
"show": function() {
|
||||
}
|
||||
};
|
||||
|
||||
try {
|
||||
window.GD_OPTIONS.onEvent({
|
||||
"name": "SDK_READY",
|
||||
"message": "Everything is ready.",
|
||||
"status": "success"
|
||||
});
|
||||
} catch (e) {}
|
||||
};
|
||||
|
||||
gdsdk= new gdsdk();
|
||||
|
||||
xlocation= new Proxy(location, {
|
||||
get: function(target, property, receiver) {
|
||||
console.log("--fx--xlocation--get--property--", property);
|
||||
let targetObj = target[property];
|
||||
if (typeof targetObj == "function") {
|
||||
return (...args) => target[property].apply(target, args);
|
||||
} else {
|
||||
if (property== "host" || property=="hostname") {
|
||||
return "localhost";
|
||||
}
|
||||
if (property== "href") {
|
||||
return "https://localhost/";
|
||||
}
|
||||
if (property== "origin") {
|
||||
return "https://localhost/";
|
||||
}
|
||||
return targetObj;
|
||||
}
|
||||
},
|
||||
set: function(target, property, receiver) {
|
||||
console.log("--fx--xlocation--set--property--", property, receiver);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
xwindow = new Proxy(window, {
|
||||
get: function(target, property, receiver) {
|
||||
// console.log("--fx--xWindow--property--", property, receiver);
|
||||
if (typeof target[property] == "function") {
|
||||
return (...args) => target[property].apply(target,args);
|
||||
} else {
|
||||
if (property== "location") {
|
||||
return target["xlocation"];
|
||||
}
|
||||
// console.log("--fx--xwindow--targetObj--", targetObj);
|
||||
return target[property];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
op3n= function() {
|
||||
console.trace("--fx--op3n--", arguments);
|
||||
window.open("https://ads.games235.com/");
|
||||
// alert("--fx--xopen--");
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
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,
|
||||
},
|
||||
}
|
||||
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1014 B |
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,9 @@
|
||||
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();
|
||||
@@ -0,0 +1,5 @@
|
||||
FB= {
|
||||
"login": function() {
|
||||
console.log("--fx--gc-sdk--FB--login--")
|
||||
}
|
||||
}
|
||||