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:
parent
308592e785
commit
97e08d874a
2 changed files with 2 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue