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

Improved dataUrlTest

Makes #211 reproducible.
This commit is contained in:
kkapsner 2018-07-21 00:17:00 +02:00
parent 5077c86859
commit 0ce446cf52
3 changed files with 134 additions and 4 deletions

View file

@ -2,6 +2,6 @@
"use strict";
document.getElementById("code").textContent = atob(
document.getElementById("iframe").src.replace("data:text/html;base64,", "")
document.getElementById("iframe").src.replace(/^.+base64,/, "")
);
}());