mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
data-URL test requires proper mime type in current Firefox
This commit is contained in:
parent
bab7d1496f
commit
eb8906ea3b
@ -16,7 +16,7 @@
|
||||
<h1>Normal iFrame</h1>
|
||||
<iframe src="sendFingerprintTest.html"></iframe>
|
||||
<h1>Data-URL iFrame</h1>
|
||||
<iframe id="iframe" src="data:invalid;base64,<?php
|
||||
<iframe id="iframe" src="data:text/html;base64,<?php
|
||||
echo base64_encode(
|
||||
str_replace(
|
||||
'const origin = "iframe";',
|
||||
@ -30,7 +30,7 @@
|
||||
<h1>Data-URL object</h1>
|
||||
<object
|
||||
type="text/html"
|
||||
data="data:invalid;base64,<?php
|
||||
data="data:text/html;base64,<?php
|
||||
echo base64_encode(
|
||||
str_replace(
|
||||
'const origin = "iframe";',
|
||||
@ -43,7 +43,7 @@
|
||||
<h1>Data-URL embed</h1>
|
||||
<embed
|
||||
type="text/html"
|
||||
src="data:invalid;base64,<?php
|
||||
src="data:text/html;base64,<?php
|
||||
echo base64_encode(
|
||||
str_replace(
|
||||
'const origin = "iframe";',
|
||||
|
Loading…
x
Reference in New Issue
Block a user