Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

Why is my javaScript window opening in IE when my default browser is chrome or FF??

Why is my javaScript window opening in IE when my default browser is chrome or FF??
Note my default browser has been set to both Fire Fox and Google Chrome  but the window keeps opening in IE.
Any reason why??
0
Robert Silver
Asked:
Robert Silver
  • 2
  • 2
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
We can't know until you show us the code or a link with the code running.
0
 
Robert SilverSr. Software EngineerAuthor Commented:
Really?
u0.htm
<!DOCTYPE html>
<html lang="en">
<head>
      <meta charset="utf-8">
      <title>huh</title>
      
</head>

<body>
<script src="u.js"  language="javascript" type="text/javascript"></script>
</body>
</html>
------------------------------
u.js
var nwin=window.open("u00.htm",null,"width=300px,height=400px");
nwin.moveTo(1,1);
nwin.focus();


What I do not understand is why I always get IE windows and not FF or chrome windows when I set default browser to FF or chrome
0
 
Dave BaldwinFixer of ProblemsCommented:
I don't know.  I copied your code and ran it in Firefox and the popup opened in Firefox.  Ran it in IE, it opened in IE.  Ran it in Chrome, it opened in Chrome.  But in all 3 cases, I had to 'allow' pop-ups from that page.
u0 screen shot
0
 
Robert SilverSr. Software EngineerAuthor Commented:
odd. I am running window 7 with latest updates and latest firefox and IE and chrome.
perhaps it is a configuration. I just hope Norton Security is not part of the problem.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now