在我的应用程序中禁用浏览器(mozilla,safari,fierfox ......) [英] disible browser (mozilla,safari,fierfox......)in my application

查看:64
本文介绍了在我的应用程序中禁用浏览器(mozilla,safari,fierfox ......)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在mozilla fierfox中不受支持,因此我需要对禁用fierfox和其他我正在使用的代码进行编码,即仅
请帮我提供代码Java脚本或其他编码.

in my asp.net application is not support in mozilla fierfox so i need coding for disable fierfox and others i am use ie only
please help me give the code java script or other codings.

报价:

使asp.net应用程序只能与Internet Explorer一起使用,而不能与任何其他客户端一起使用.

Enable asp.net application to work only with Internet explorere and not with any other client.

推荐答案

请参阅MSDN:检测Internet Explorer更有效地 [ ^ ]

不过,这可能会减少您的访问者数量-我知道有两个网站仅在IE中有效,而且我讨厌这两个网站,避免像瘟疫一样避开它们.
See MSDN: Detecting Internet Explorer More Effectively[^]

It will probably reduce your visitor count though - I know two sites which only work in IE, and I hate them both and avoid them like the plague.


您可以使用 [此处 [ ^ ].

如果您的浏览器是mozilla,则可以显示一条消息,指出您正在卸载应用程序.
You can detect the browser using HttpBrowswerCapabilities class[^] as described here[^].

If you browser is mozilla, you can display a message an unload your application.


这篇关于在我的应用程序中禁用浏览器(mozilla,safari,fierfox ......)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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