Click here to Skip to main content
15,912,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i'm using mozilla firefox and i need to hide the url from the popup i'm using location=no,directories=no but it's still showing


ASP.NET
asp:Button ID="btn_login" runat="server" Text="Login" Width="105px" style="height: 26px" onClientclick = "javascript:window.open('login_page.aspx','name','height=299, width=477,toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no,about:blank'); return false;


how can i fix it?

thank you
Posted

1 solution

That's bad idea.This depends on browser. And probably most browser won't support it because It can be used to mislead the user like redirecting to some malicious site.

Regards..:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900