You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
2.1 KiB

function run() {
let sdkConfiggg = JSON.stringify({
"apiBaseUrl":"http://127.0.0.1:8000/apipanda",
"appPackageId":228,
"userAgent":"abama",
"userId":1477,
"deviceId":1488,
"sessionId":"qwerty",
"apiKey":"gesgesg",
"placeholders":"aboba"});
var code = `window.gameReader = (function(){var self = window.gameReader || {};self._e = self._e || [];self.ready = self.ready || function (f) {self._e.push(f);};return self;})();window.gameReader.ready(function(){window.initGame({"gameInstanceId":755,"gameResources":{"fonts":{"InternalPrimaryFontNormalNormal":"swyswxm5x1jvdj6eoupayes7kh.ttf","InternalPrimaryFontBoldNormal":"jy4gofnzg95z4mzh1mfk8dnfqn.ttf"},"assets":[]},"storyId":null,"elementId":null,"projectSlug":"tele2-app","demoMode":false,"projectEnv":"prod","verbose":false,"gameDomain":"https://games.inappstory.com/tele2-panda-kombat/1.0.9/build/","gameSlug":"tele2-panda-kombat","gameVersion":"1.0.9","clientConfig":${sdkConfiggg}});});`;
var onLoad = function() { try{ eval(code); } catch (e) { window.gameLoadingInfo && (window.gameLoadingInfo.error = e.message); window.gameLoadFailed && window.gameLoadFailed(window.gameLoadingInfo.error, false); console.error(e); window._sendErrorLog && window._sendErrorLog({message: e.message, code: code}); }};
if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", onLoad);} else { onLoad();}if (window.Android && window.sessionStorage != null) { window.sessionStorage.setItem("_initQueue", JSON.stringify([`window.initGame({"gameInstanceId":755,"gameResources":{"fonts":{"InternalPrimaryFontNormalNormal":"swyswxm5x1jvdj6eoupayes7kh.ttf","InternalPrimaryFontBoldNormal":"jy4gofnzg95z4mzh1mfk8dnfqn.ttf"},"assets":[]},"storyId":null,"elementId":null,"projectSlug":"tele2-app","demoMode":false,"projectEnv":"prod","verbose":false,"gameDomain":"https://games.inappstory.com/tele2-panda-kombat/1.0.9/build/","gameSlug":"tele2-panda-kombat","gameVersion":"1.0.9","clientConfig":${sdkConfiggg}})`]));}
}
window.onload = run();