iD icon indicating copy to clipboard operation
iD copied to clipboard

Fix SecurityError in cross-origin context

Open Zaczero opened this issue 6 months ago • 0 comments

Add fallback to window.location when window.top.location properties are inaccessible due to cross-origin restrictions.

E.g.

Uncaught SecurityError: Failed to read a named property 'origin' from 'Location': Blocked a frame with origin "..." from accessing a cross-origin frame.

Zaczero avatar Jun 12 '25 17:06 Zaczero