mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
parent
698ead8097
commit
eb1a441625
2 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,13 @@
|
|||
(function(){
|
||||
"use strict";
|
||||
|
||||
document.getElementById("code").textContent = atob(
|
||||
var 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);
|
||||
document.getElementById("blobIframe").src = newurl;
|
||||
}());
|
Loading…
Add table
Add a link
Reference in a new issue