Skip to content

Commit

Permalink
Expanded same origin explanation
Browse files Browse the repository at this point in the history
Firefox also doesnt bring to front without user interaction and fail same origin. But it will work if it is same origin.
  • Loading branch information
thorst committed Apr 19, 2014
1 parent 18f666f commit 95fde08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -88,7 +88,11 @@ Most browser have pop up blockers installed. If you call a popup WITHOUT user in

### Same origin

If your pop up does not require user interaction AND they are using chrome AND the url does not pass the same origin policy AND the user refreshes the primary webpage, without closing the popup windows. When you go to show the popup again it will not be brought to the front. The quick fix again is to require user interaction.
If your pop up does not require user interaction AND the url does NOT pass the same origin policy AND the user refreshes the primary webpage, without closing the popup windows. When you go to show the popup again it will not be brought to the front.

Likewise, if your pop up does not require user interaction AND the url DOES pass the same origin policy AND the user refreshes the primary webpage, without closing the popup windows. When you go to show the popup again in Chrome it will not be brought to the front, but in Firefox it will be.

The quick fix again is to require user interaction. If you do this, regardless of the url, it will bring the window to the front.

## License

Expand Down

0 comments on commit 95fde08

Please sign in to comment.