Quantcast
Channel: RLV Blog
Viewing all articles
Browse latest Browse all 83

Popup opens as new browser window in Edge and Internet Explorer

$
0
0

Problem: Opening a popup with JavaScript in Edge or Internet Explorer results in a new browser window instead of a popup window. For example:

var popup = window.open("https://www.duckduckgo.com/", "DDG", "height=640,width=960,toolbar=no,menubar=no,scrollbars=no,location=no,status=no");

Communication between the new window and originating site is not possible either, since both

popup
(above) and
window.opener
(in the new window) are undefined.

Solution: This can happen if the originating site’s URL and popup URL are not in the same security zone. Ensure that both are in the Trusted Sites zone in Internet Options!


Viewing all articles
Browse latest Browse all 83

Trending Articles