mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
new games
This commit is contained in:
parent
510c58cd86
commit
0106affe5d
24
adcap/97c35fd0-ea33-4844-a283-b7a4c6942643
Normal file
24
adcap/97c35fd0-ea33-4844-a283-b7a4c6942643
Normal file
File diff suppressed because one or more lines are too long
36
adcap/Release/UnityConfig.js
Normal file
36
adcap/Release/UnityConfig.js
Normal file
@ -0,0 +1,36 @@
|
||||
function CompatibilityCheck()
|
||||
{var browser=(function(){var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(M[1])){tem=/\brv[ :]+(\d+)/g.exec(ua)||[];return 'IE '+(tem[1]||'');}
|
||||
if(M[1]==='Chrome'){tem=ua.match(/\bOPR\/(\d+)/)
|
||||
if(tem!=null)return 'Opera '+tem[1];}
|
||||
M=M[2]?[M[1],M[2]]:[navigator.appName,navigator.appVersion,'-?'];if((tem=ua.match(/version\/(\d+)/i))!=null)M.splice(1,1,tem[1]);return M.join(' ');})();var hasWebGL=(function(){if(!window.WebGLRenderingContext)
|
||||
{return 0;}
|
||||
var canvas=document.createElement('canvas');var gl=canvas.getContext("webgl");if(!gl)
|
||||
{gl=canvas.getContext("experimental-webgl");if(!gl)
|
||||
{return 0;}}
|
||||
return 1;})();var mobile=(function(a){return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))})(navigator.userAgent||navigator.vendor||window.opera);if(!0&&!hasWebGL)
|
||||
{alert("You need a browser which supports WebGL to run this content. Try installing Firefox.");window.history.back();}
|
||||
else if(mobile)
|
||||
{if(!confirm("Please note that Unity WebGL is not currently supported on mobiles. Press Ok if you wish to continue anyways."))
|
||||
window.history.back();}
|
||||
else if(browser.indexOf("Firefox")==-1&&browser.indexOf("Chrome")==-1&&browser.indexOf("Safari")==-1)
|
||||
{if(!confirm("Please note that your browser is not currently supported for this Unity WebGL content. Try installing Firefox, or press Ok if you wish to continue anyways."))
|
||||
window.history.back();}}
|
||||
CompatibilityCheck();var didShowErrorMessage=false;if(typeof window.onerror!='function')
|
||||
{window.onerror=function UnityErrorHandler(err,url,line)
|
||||
{console.log("Invoking error handler due to\n"+err);if(typeof dump=='function')
|
||||
dump("Invoking error handler due to\n"+err);if(didShowErrorMessage)
|
||||
return;if(err.indexOf("UnknownError")!=-1)
|
||||
return;didShowErrorMessage=true;if(err.indexOf("DISABLE_EXCEPTION_CATCHING")!=-1)
|
||||
{alert("An exception has occured, but exception handling has been disabled in this build. If you are the developer of this content, enable exceptions in your project's WebGL player settings to be able to catch the exception or see the stack trace.");return;}
|
||||
if(err.indexOf("uncaught exception: abort()")!=-1)
|
||||
{if(err.indexOf("Runtime.dynamicAlloc")!=-1)
|
||||
{alert("Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings.");return;}}
|
||||
if(err.indexOf("Invalid array buffer length")!=-1)
|
||||
{alert("The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings.");return;}
|
||||
if(err.indexOf("Script error.")!=-1&&document.URL.indexOf("file:")==0)
|
||||
{alert("It seems your browser does not support running Unity WebGL content from file:// urls. Please upload it to an http server, or try a different browser.");return;}
|
||||
alert("An error occured running the Unity content on this page. See your browser's JavaScript console for more info. The error was:\n"+err);}}
|
||||
function SetFullscreen(fullscreen)
|
||||
{if(typeof JSEvents==='undefined')
|
||||
{console.log("Player not loaded yet.");return;}
|
||||
var tmp=JSEvents.canPerformEventHandlerRequests;JSEvents.canPerformEventHandlerRequests=function(){return 1;};Module.cwrap('SetFullscreen','void',['number'])(fullscreen);JSEvents.canPerformEventHandlerRequests=tmp;}
|
9
adcap/Release/fileloader.js
Normal file
9
adcap/Release/fileloader.js
Normal file
@ -0,0 +1,9 @@
|
||||
var Module;if(typeof Module==='undefined')Module=eval('(function() { try { return Module || {} } catch(e) { return {} } })()');if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0;}
|
||||
Module.expectedDataFileDownloads++;(function(){var PACKAGE_PATH;if(typeof window==='object'){PACKAGE_PATH=window['encodeURIComponent'](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf('/'))+'/');}else if(typeof location!=='undefined'){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf('/'))+'/');}else{throw 'using preloaded data can only be done on a web page or in a web worker';}
|
||||
var PACKAGE_NAME='webgl.data';var REMOTE_PACKAGE_BASE='webgl.data';if(typeof Module['locateFilePackage']==='function'&&!Module['locateFile']){Module['locateFile']=Module['locateFilePackage'];Module.printErr('warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)');}
|
||||
var REMOTE_PACKAGE_NAME=typeof Module['locateFile']==='function'?Module['locateFile'](REMOTE_PACKAGE_BASE):((Module['filePackagePrefixURL']||'')+REMOTE_PACKAGE_BASE);var REMOTE_PACKAGE_SIZE=94384055;var PACKAGE_UUID='2d56c75e-a666-4391-b126-de77bdeb0f84';function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest();xhr.open('GET',packageName,true);xhr.responseType='arraybuffer';xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size};}else{Module.dataFileDownloads[url].loaded=event.loaded;}
|
||||
var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++;}
|
||||
total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module['setStatus'])Module['setStatus']('Downloading data... ('+loaded+'/'+total+')');}else if(!Module.dataFileDownloads){if(Module['setStatus'])Module['setStatus']('Downloading data...');}};xhr.onload=function(event){var packageData=xhr.response;callback(packageData);};xhr.send(null);};function handleError(error){console.error('package error:',error);};var fetched=null,fetchedCallback=null;fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null;}else{fetched=data;}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+new Error().stack;}
|
||||
Module['FS_createPath']('/','Il2CppData',true,true);Module['FS_createPath']('/Il2CppData','Metadata',true,true);Module['FS_createPath']('/','Resources',true,true);function DataRequest(start,end,crunched,audio){this.start=start;this.end=end;this.crunched=crunched;this.audio=audio;}
|
||||
DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module['addRunDependency']('fp '+this.name);},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray);},finish:function(byteArray){var that=this;Module['FS_createPreloadedFile'](this.name,null,byteArray,true,true,function(){Module['removeRunDependency']('fp '+that.name);},function(){if(that.audio){Module['removeRunDependency']('fp '+that.name);}else{Module.printErr('Preloading file '+that.name+' failed');}},false,true);this.requests[this.name]=null;},};new DataRequest(0,450096,0,0).open('GET','/level0');new DataRequest(450096,881888,0,0).open('GET','/level1');new DataRequest(881888,946172,0,0).open('GET','/mainData');new DataRequest(946172,959387,0,0).open('GET','/methods_pointedto_by_uievents.xml');new DataRequest(959387,1144731,0,0).open('GET','/resources.assets');new DataRequest(1144731,4930535,0,0).open('GET','/sharedassets0.assets');new DataRequest(4930535,53349371,0,0).open('GET','/sharedassets1.assets');new DataRequest(53349371,56827461,0,0).open('GET','/sharedassets1.resource');new DataRequest(56827461,81798217,0,0).open('GET','/sharedassets2.assets');new DataRequest(81798217,88548383,0,0).open('GET','/sharedassets2.resource');new DataRequest(88548383,92306367,0,0).open('GET','/Il2CppData/Metadata/global-metadata.dat');new DataRequest(92306367,93881403,0,0).open('GET','/Resources/unity_default_resources');new DataRequest(93881403,94384055,0,0).open('GET','/Resources/unity_builtin_extra');function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,'Loading data file failed.');var byteArray=new Uint8Array(arrayBuffer);var curr;DataRequest.prototype.byteArray=byteArray;DataRequest.prototype.requests["/level0"].onload();DataRequest.prototype.requests["/level1"].onload();DataRequest.prototype.requests["/mainData"].onload();DataRequest.prototype.requests["/methods_pointedto_by_uievents.xml"].onload();DataRequest.prototype.requests["/resources.assets"].onload();DataRequest.prototype.requests["/sharedassets0.assets"].onload();DataRequest.prototype.requests["/sharedassets1.assets"].onload();DataRequest.prototype.requests["/sharedassets1.resource"].onload();DataRequest.prototype.requests["/sharedassets2.assets"].onload();DataRequest.prototype.requests["/sharedassets2.resource"].onload();DataRequest.prototype.requests["/Il2CppData/Metadata/global-metadata.dat"].onload();DataRequest.prototype.requests["/Resources/unity_default_resources"].onload();DataRequest.prototype.requests["/Resources/unity_builtin_extra"].onload();Module['removeRunDependency']('datafile_webgl.data');};Module['addRunDependency']('datafile_webgl.data');if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null;}else{fetchedCallback=processPackageData;}}
|
||||
if(Module['calledRun']){runWithFS();}else{if(!Module['preRun'])Module['preRun']=[];Module["preRun"].push(runWithFS);}})();
|
BIN
adcap/Release/webgl.data
Normal file
BIN
adcap/Release/webgl.data
Normal file
Binary file not shown.
BIN
adcap/Release/webgl.html.mem
Normal file
BIN
adcap/Release/webgl.html.mem
Normal file
Binary file not shown.
42
adcap/Release/webgl.js
Normal file
42
adcap/Release/webgl.js
Normal file
File diff suppressed because one or more lines are too long
8
adcap/TemplateData/UnityProgress.js
Normal file
8
adcap/TemplateData/UnityProgress.js
Normal file
@ -0,0 +1,8 @@
|
||||
function UnityProgress(dom){this.progress=0.0;this.message="";this.dom=dom;var parent=dom.parentNode;this.SetProgress=function(progress){if(this.progress<progress)
|
||||
this.progress=progress;if(progress==1){this.SetMessage("Preparing...");document.getElementById("bgBar").style.display="none";document.getElementById("progressBar").style.display="none";}
|
||||
this.Update();}
|
||||
this.SetMessage=function(message){this.message=message;this.Update();}
|
||||
this.Clear=function(){document.getElementById("loadingBox").style.display="none";}
|
||||
this.Update=function(){var length=200*Math.min(this.progress,1);bar=document.getElementById("progressBar")
|
||||
bar.style.width=length+"px";document.getElementById("loadingInfo").innerHTML=this.message;}
|
||||
this.Update();}
|
24
adcap/TemplateData/style.css
Normal file
24
adcap/TemplateData/style.css
Normal file
@ -0,0 +1,24 @@
|
||||
html,body{margin:0;padding:0}canvas{padding:0;margin:0 auto;display:block;width:1024px;height:640px}body{overflow:hidden}div#loadingBox{width:100%;height:20px;position:absolute;top:50%;margin-top:-10px;text-align:center}div#bgBar{position:absolute;width:200px;margin-left:-100px;left:50%;height:2px;display:block;background-color:#333}div#progressBar{left:50%;position:absolute;margin-left:-100px;width:0;height:2px;background-color:#fff;border-radius:2px}div#bgBar{border-radius:2px}p#loadingInfo{color:#666;letter-spacing:1px;position:absolute;width:100%;font-family:monaco,sans-serif;text-transform:uppercase;text-align:center;font-size:14px;margin-top:10px}
|
||||
body {margin: 0; padding: 0}.webgl-content * {border: 0; margin: 0; padding: 0}
|
||||
.webgl-content {position: absolute} .webgl-content, #gameContainer, #unityContainer, canvas {width:100%!important; height: 100%!important}
|
||||
|
||||
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
|
||||
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
|
||||
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;}
|
||||
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
|
||||
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
|
||||
|
||||
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');}
|
||||
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
|
||||
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
|
||||
|
||||
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
|
||||
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
|
||||
/*.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}*/
|
||||
.webgl-content .footer .title {margin-right: 10px; float: right;}
|
||||
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}
|
||||
|
||||
* {
|
||||
background-color: #2C3547;
|
||||
}
|
||||
|
BIN
adcap/icon.png
Normal file
BIN
adcap/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 218 KiB |
118
adcap/index.html
Normal file
118
adcap/index.html
Normal file
@ -0,0 +1,118 @@
|
||||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Unity WebGL Player | AdVenture Capitalist!</title>
|
||||
<link rel="stylesheet" href="TemplateData/style.css">
|
||||
<script src="TemplateData/UnityProgress.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="template">
|
||||
<div class="webgl-content">
|
||||
<div id="unityContainer" style="width: 960px; height: 600px; padding: 0px; margin: 0px; border: 0px; position: relative; background: rgb(35, 31, 32);">
|
||||
|
||||
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" id="canvas"width=335 height=667 style="width: 100%; height: 100%; background: #231F20"></canvas>
|
||||
|
||||
<div id="loadingBox">
|
||||
<div id="bgBar"></div>
|
||||
<div id="progressBar"></div>
|
||||
<p id="loadingInfo">Loading...</p>
|
||||
</div>
|
||||
<script type='text/javascript'>
|
||||
// connect to canvas
|
||||
var Module = {
|
||||
TOTAL_MEMORY: 201326592,
|
||||
filePackagePrefixURL: "Release/",
|
||||
memoryInitializerPrefixURL: "Release/",
|
||||
preRun: [],
|
||||
postRun: [],
|
||||
print: (function() {
|
||||
return function(text) {
|
||||
console.log(text);
|
||||
};
|
||||
})(),
|
||||
printErr: function(text) {
|
||||
console.error(text);
|
||||
},
|
||||
canvas: document.getElementById('canvas'),
|
||||
progress: null,
|
||||
setStatus: function(text) {
|
||||
if (this.progress == null) {
|
||||
if (typeof UnityProgress != 'function')
|
||||
return;
|
||||
this.progress = new UnityProgress(canvas);
|
||||
}
|
||||
if (!Module.setStatus.last) Module.setStatus.last = {
|
||||
time: Date.now(),
|
||||
text: ''
|
||||
};
|
||||
if (text === Module.setStatus.text) return;
|
||||
this.progress.SetMessage(text);
|
||||
var m = text.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/);
|
||||
if (m)
|
||||
this.progress.SetProgress(parseInt(m[2]) / parseInt(m[4]));
|
||||
if (text === "")
|
||||
this.progress.Clear()
|
||||
},
|
||||
totalDependencies: 0,
|
||||
monitorRunDependencies: function(left) {
|
||||
this.totalDependencies = Math.max(this.totalDependencies, left);
|
||||
Module.setStatus(left ? 'Preparing... (' + (this.totalDependencies - left) + '/' + this.totalDependencies + ')' : 'All downloads complete.');
|
||||
}
|
||||
};
|
||||
Module.setStatus('Downloading (0.0/1)');
|
||||
</script>
|
||||
<script src="Release/UnityConfig.js"></script>
|
||||
<script src="Release/fileloader.js"></script>
|
||||
<script>
|
||||
if (!(!Math.fround)) {
|
||||
var script = document.createElement('script');
|
||||
script.src = "Release/webgl.js";
|
||||
document.body.appendChild(script);
|
||||
} else {
|
||||
var codeXHR = new XMLHttpRequest();
|
||||
codeXHR.open('GET', 'Release/webgl.js', true);
|
||||
codeXHR.onload = function() {
|
||||
var code = codeXHR.responseText;
|
||||
if (!Math.fround) {
|
||||
try {
|
||||
console.log('optimizing out Math.fround calls');
|
||||
var m = /var ([^=]+)=global\.Math\.fround;/.exec(code);
|
||||
var minified = m[1];
|
||||
if (!minified) throw 'fail';
|
||||
var startAsm = code.indexOf('// EMSCRIPTEN_START_FUNCS');
|
||||
var endAsm = code.indexOf('// EMSCRIPTEN_END_FUNCS');
|
||||
var asm = code.substring(startAsm, endAsm);
|
||||
do {
|
||||
var moar = false; // we need to re-do, as x(x( will not be fixed
|
||||
asm = asm.replace(new RegExp('[^a-zA-Z0-9\\$\\_]' + minified + '\\(', 'g'), function(s) {
|
||||
moar = true;
|
||||
return s[0] + '('
|
||||
});
|
||||
} while (moar);
|
||||
code = code.substring(0, startAsm) + asm + code.substring(endAsm);
|
||||
code = code.replace("'use asm'", "'almost asm'");
|
||||
} catch (e) {
|
||||
console.log('failed to optimize out Math.fround calls ' + e)
|
||||
}
|
||||
}
|
||||
var blob = new Blob([code], {
|
||||
type: 'text/javascript'
|
||||
});
|
||||
codeXHR = null;
|
||||
var src = URL.createObjectURL(blob);
|
||||
var script = document.createElement('script');
|
||||
script.src = URL.createObjectURL(blob);
|
||||
script.onload = function() {
|
||||
URL.revokeObjectURL(script.src);
|
||||
};
|
||||
document.body.appendChild(script);
|
||||
};
|
||||
codeXHR.send(null);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user