Update article.md

This commit is contained in:
Ilya Kantor 2020-08-26 09:31:09 +03:00 committed by GitHub
parent b0c5dad519
commit 1190721cf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ Also, popups are tricky on mobile devices, that don't show multiple windows simu
Still, there are tasks where popups are still used, e.g. for OAuth authorization (login with Google/Facebook/...), because: Still, there are tasks where popups are still used, e.g. for OAuth authorization (login with Google/Facebook/...), because:
1. A popup is a separate window with its own independent JavaScript environment. So opening a popup with a third-party non-trusted site is safe. 1. A popup is a separate window with its own independent JavaScript environment. So opening a popup from a third-party non-trusted site is safe.
2. It's very easy to open a popup. 2. It's very easy to open a popup.
3. A popup can navigate (change URL) and send messages to the opener window. 3. A popup can navigate (change URL) and send messages to the opener window.