window.open location=no does not work
I've got the following that opens the window fine. Most of the elements like the navigation bar and buttons are gone. But the url address field is still not disappearing. What gives?
window.open('www.mysite.com','Window','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no开发者_如何学编程,resizable=yes,width=500,height=450');
For security reasons, modern browsers will always display the address bar.
Setting location=no
makes it read-only.
For the same security reasons, there is no workaround.
I think this is browser dependant and will not work on all browsers, unless i am mistaken.
精彩评论