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

Added test for data URL pages

For #208.
This commit is contained in:
kkapsner 2018-07-16 00:05:33 +02:00
parent 95f8faed6f
commit 8ca23e37e1
4 changed files with 135 additions and 0 deletions

7
test/dataUrlTest.js Normal file
View file

@ -0,0 +1,7 @@
(function(){
"use strict";
document.getElementById("code").textContent = atob(
document.getElementById("iframe").src.replace("data:text/html;base64,", "")
);
}());