1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00
CanvasBlocker/test/dataUrlTest.js
kkapsner 0ce446cf52 Improved dataUrlTest
Makes #211 reproducible.
2018-07-21 00:17:00 +02:00

7 lines
158 B
JavaScript

(function(){
"use strict";
document.getElementById("code").textContent = atob(
document.getElementById("iframe").src.replace(/^.+base64,/, "")
);
}());