Reputation: 463
I'm trying to fix a issue that Internet Explorer ignore parameters of function window.open() when open intranet web site. It's work correctly when open site in internet zone. I Can't figure out why this function don't work in intranet zone. Options not working in intranet zone: "scrollbars=no,menubar=no,resizable=no,toolbar=no,location=no,status=no"
window.open('page.aspx?width=' + width + '&height=' + height, '', 'width=' + width + ',height=' + height + ',scrollbars=no,menubar=no,resizable=no,toolbar=no,location=no,status=no,fullscreen=no,top=' + top + ',left=' + left);
Upvotes: 1
Views: 2940
Reputation: 7285
As @Teemu has pointed out it is normal that those options don't work. What it is weird is that they work in the Internet zone, they shouldn't out of the box. Check if there is any customization to the security settings.
A browser can ignore some parameters of windows.open()
out of security reasons (like hiding information or spoofing interfaces). The fact that you get a different behavior in different security zones suggests that it is exactly your problem.
You need to tinker the security settings in the intranet zone.
Have a look to this article to understand window restrictions in IE and to this other for browsing security under Windows. They are old but main principles still apply.
Upvotes: 1