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

Not connected iframe threw error with persistent rng

This commit is contained in:
kkapsner 2019-05-29 00:26:35 +02:00
parent 308592e785
commit 97e08d874a
2 changed files with 2 additions and 1 deletions

View file

@ -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){