March 16, 201016 yr Hey there, I'm working on a website and my question is pretty basic: I'm using the window.open method to open customised windows with javascript. The code i'm currently using is: <a href="#" onClick="javascript: window.open('file.html','mywindow1','toolbar=0,menubar=0,directories=0,status=0,resizable=0,location=0,scrollbars=0,width=200,height=200,top=201,left=601')">open window</a> It works fine when I preview it on Safari, but on Firefox and Opera the window still shows the url address bar even though the code mentions location=0. Any suggestions on how should I fix this problem? Thanks in advance!
March 17, 201016 yr Hey there, I'm working on a website and my question is pretty basic: I'm using the window.open method to open customised windows with javascript. The code i'm currently using is: <a href="#" onClick="javascript: window.open('file.html','mywindow1','toolbar=0,menubar=0,directories=0,status=0,resizable=0,location=0,scrollbars=0,width=200,height=200,top=201,left=601')">open window</a> It works fine when I preview it on Safari, but on Firefox and Opera the window still shows the url address bar even though the code mentions location=0. Any suggestions on how should I fix this problem? Thanks in advance! Unfortunately the location=0 argument was disabled in firefox (and i presume opera too) for security reasons. You can read the bugzilla here: https://bugzilla.mozilla.org/show_bug.cgi?id=337344 But the short version is, if you can hide the address bar then it'd be possible for you to make your own fake address bar on the top of your webpage showing "https://www.paypal.com" or something and fooling the user into thinking they're at a different site. Sorry I cant be of more help, Explosive Designs Affordable Web Design from Explosive Designs
Create an account or sign in to comment