在asp.net的javascript弹出窗口中隐藏URL [英] Hide url in a javascript popup in asp.net

查看:95
本文介绍了在asp.net的javascript弹出窗口中隐藏URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用mozilla firefox,我需要隐藏弹出窗口中的url我正在使用location = no,directories = no但它仍然显示





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: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

推荐答案

这是个坏主意。这取决于浏览器。可能大多数浏览器都不支持它,因为它可以用来误导用户喜欢重定向到某个恶意网站。



问候..:)
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..:)


这篇关于在asp.net的javascript弹出窗口中隐藏URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆