Timeline for Why is window.open() blocked?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 22, 2019 at 10:11 | comment | added | CertainPerformance |
I'm not sure if this answer is correct. If you attempt to access window.opener from a page on another (unsafe) domain, you'll get Error: Blocked a frame with origin "example.com" from accessing a cross-origin frame.. If you attempt to access it from a page on the (safe) same domain, there's nothing to worry about, especially since the Stack Snippet domain doesn't have access to anything sensitive anyway
|
|
Nov 15, 2016 at 16:40 | comment | added | NobodyNada | Oh yeah; sorry! | |
Nov 15, 2016 at 16:40 | comment | added | Oded StaffMod | These are not links, but an embedded IFrame. Different beasts. | |
Nov 15, 2016 at 16:38 | comment | added | NobodyNada |
Can't you just use noopener like you did here?
|
|
Nov 15, 2016 at 10:34 | vote | accept | Aniket Sahrawat | ||
Nov 15, 2016 at 9:45 | history | answered | OdedStaffMod | CC BY-SA 3.0 |