mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
data-URL test requires proper mime type in current Firefox
This commit is contained in:
parent
bab7d1496f
commit
eb8906ea3b
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
<h1>Normal iFrame</h1>
|
<h1>Normal iFrame</h1>
|
||||||
<iframe src="sendFingerprintTest.html"></iframe>
|
<iframe src="sendFingerprintTest.html"></iframe>
|
||||||
<h1>Data-URL iFrame</h1>
|
<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(
|
echo base64_encode(
|
||||||
str_replace(
|
str_replace(
|
||||||
'const origin = "iframe";',
|
'const origin = "iframe";',
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
<h1>Data-URL object</h1>
|
<h1>Data-URL object</h1>
|
||||||
<object
|
<object
|
||||||
type="text/html"
|
type="text/html"
|
||||||
data="data:invalid;base64,<?php
|
data="data:text/html;base64,<?php
|
||||||
echo base64_encode(
|
echo base64_encode(
|
||||||
str_replace(
|
str_replace(
|
||||||
'const origin = "iframe";',
|
'const origin = "iframe";',
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<h1>Data-URL embed</h1>
|
<h1>Data-URL embed</h1>
|
||||||
<embed
|
<embed
|
||||||
type="text/html"
|
type="text/html"
|
||||||
src="data:invalid;base64,<?php
|
src="data:text/html;base64,<?php
|
||||||
echo base64_encode(
|
echo base64_encode(
|
||||||
str_replace(
|
str_replace(
|
||||||
'const origin = "iframe";',
|
'const origin = "iframe";',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue