Javascript: window.open doesn't work in Firefox?

Gunslinger08

Lifer
Nov 18, 2001
13,234
2
81
Here's the scenario: I have to open a page in a new window when someone is leaving the current site. I've accomplished this with ******'s on all links that leave the site and the attached Javascript. It works fine in IE, but not in Firefox. In Firefox, it gets inside of the if statement, but never opens the window. Any ideas?
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
No, the pop-up blocker will prevent any window.open() calls from executing unless they are the direct result of an "on click" event.