Skip to content

Commit

Permalink
Merge pull request #1 from html-online-game/develop
Browse files Browse the repository at this point in the history
Update poki-sdk.js
  • Loading branch information
RyuSeiri authored Nov 19, 2024
2 parents d761790 + 924bf3a commit 7c100c2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions patch/js/poki-sdk.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
document.xURL= "https://poki.com/";

if (typeof consoleLog== 'undefined') {
consoleLog= console.log;
}
Expand All @@ -8,11 +10,12 @@ eval= function() {
arguments[0]= arguments[0].replace("'location'", "'xlocation'");
arguments[0]= arguments[0].replace("] = _0x3296f7;", "]==_0x3296f7;");
arguments[0]= arguments[0].replace("] = window[_0xcdc9(", "]==window[_0xcdc9(");



return originalEval.apply(this, arguments);
}

navigator.sendBeacon= function() {
}

WebSocket= function() {

Expand Down Expand Up @@ -93,11 +96,11 @@ PokiSDK= function() {
this.setDebugTouchOverlayController= function (debug) {
}

this.isAdBlocked= function() {
this.isAdBlocked= function() {
return false;
}

this.happyTime= function(scale) {
this.happyTime= function(scale) {
}

// ***** LOADING *****
Expand All @@ -119,7 +122,6 @@ PokiSDK= function() {

// ***** ADS CONTROL *****
this.commercialBreak= function(){

}

this.rewardedBreak= function() {
Expand Down

0 comments on commit 7c100c2

Please sign in to comment.