none
window.open() method works differently in IE11 RRS feed

  • Question

  • Hi everyone, I use the function window.open() to get an already open IE Window with the same WindowName and change the Content of one Frame there.The Implementation is like:

    var WinName = "somename";

    var Position = "something";

    var newUrl = "someURL";

    mainWin = window.open("",WinName,position);

    mainWin.fhidden.location.href = newUrl;

    This works fine in IE8 (the URL opens in the existing window).

    In IE11 it always opens a second (new) window.

    What can I do to get the same behavior like in IE8?

    Thanks for your help,

    Bjorn

    Thursday, August 6, 2015 4:06 PM

Answers

  • Hi,

    scripted window outcomes depend upon

    1. Your IE popup blocking settings

    2. The settings of any third-party popup blocking addons that you may have installed eg. Google and Yahoo toolbars.

    3. The security zone mapping of the origin and target domains. Tools>Internet Options>Security tab, click "Reset all zones to default". The is an IE security zone setting for "Prevent navigation into a zone of lower integrity".... review the list of sites you have in the Trusted sites zone... You should not place public access sites like google, facebook or Microsoft in that zone... The trusted sites zone actually has lower security (eg. allow unsigned ActiveX).

    4. Your tabbed browsing settings in IE... Tools>Internet Options>Tabs section, 'Settings' button.

    Regards.

    Where possible and to avoid confusion please include a link to your website or a mashup (jsfiddle) with your questions.


    Rob^_^

    Friday, August 7, 2015 1:49 AM