1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

test updates

This commit is contained in:
kkapsner 2019-12-16 19:27:28 +01:00
parent 717e1d3e3a
commit 0d0e3e30ec
16 changed files with 455 additions and 497 deletions

View file

@ -1,13 +1,13 @@
(function(){
"use strict";
var iframeCode = atob(
const iframeCode = atob(
document.getElementById("iframe").src.replace(/^.+base64,/, "")
);
document.getElementById("code").textContent = iframeCode;
var blob = new Blob([iframeCode], {type: "text/html"});
var newurl = window.URL.createObjectURL(blob);
const blob = new Blob([iframeCode], {type: "text/html"});
const newurl = window.URL.createObjectURL(blob);
document.getElementById("blobIframe").src = newurl;
}());