mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Not connected iframe threw error with persistent rng
This commit is contained in:
parent
308592e785
commit
97e08d874a
@ -70,7 +70,7 @@
|
||||
return "shared://domain";
|
||||
}
|
||||
if (!window.location.href || window.location.href === "about:blank"){
|
||||
if (window !== window.parent){
|
||||
if (window !== window.parent && window.parent){
|
||||
return getDomain(window.parent);
|
||||
}
|
||||
else if (window.opener){
|
||||
|
@ -8,6 +8,7 @@ Version 0.5.10:
|
||||
fixes:
|
||||
- setter for innerHTML broke pages
|
||||
- protection for document.write and document.wirteln broke in Firefox 69
|
||||
- not connected iFrame threw error with persistent rng
|
||||
|
||||
known issues:
|
||||
- if a data URL is blocked the page action button does not appear
|
||||
|
Loading…
x
Reference in New Issue
Block a user