1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-03 12:06:31 +02:00

Only use onHeadersReceived listener when necessary

As mentioned in #214
This commit is contained in:
kkapsner 2018-08-28 21:09:03 +02:00
parent d020c55e11
commit bde8ac3e8e
2 changed files with 42 additions and 23 deletions

View file

@ -29,7 +29,7 @@
<iframe id="blobIframe"></iframe>
<h1>Data-URL object</h1>
<object
type="invalid"
type="text/html"
data="data:invalid;base64&#x2c;<?php
echo base64_encode(
str_replace(
@ -42,7 +42,7 @@
></object>
<h1>Data-URL embed</h1>
<embed
type="invalid"
type="text/html"
src="data:invalid;base64&#x2c;<?php
echo base64_encode(
str_replace(