有效的Navigator.AppName值 [英] Valid Navigator.AppName values

查看:91
本文介绍了有效的Navigator.AppName值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到Navigator.AppName的有效名称列表?

Where can I find a list of valid names for Navigator.AppName?

推荐答案

ima在9/1上说以下内容/ 2005 5:56 PM:
ima said the following on 9/1/2005 5:56 PM:
我在哪里可以找到Navigator.AppName的有效名称列表?
Where can I find a list of valid names for Navigator.AppName?




你不打算找到一个可以在navigator.appName(Case Matters)中出现的潜在名称的完整列表




我的IE6,带有这个片段:


alert(navigator.appName)


给了我这个:


我该死的浏览器


我怀疑你会在任何潜在的有效

名称列表中找到它。对于navigator.appName。

由于appName欺骗网络的情况,除非你创建一个所有潜在组合的列表,否则该列表不能创建


字母数字字符,最多哦,说50个字符。其中

列表大约是1.453665622146772e + 81个可能的条目。


为什么你会在appName之后呢?


-

兰迪

comp.lang.javascript常见问题 - http://jibbering.com/faq &新闻组每周



You are not going to find a complete list of potential names that can
appear in navigator.appName (Case Matters).

My IE6, with this snippet:

alert(navigator.appName)

gives me this:

My Damn Browser

And I doubt you are going to find that in any list of potential "valid
names" for navigator.appName.
And with the situation on the web of appName spoofing, that list can''t
be created unless you create a list of all potential combinations of
alphanumeric characters up to, oh, say 50 characters. Which puts that
list at approximately 1.453665622146772e+81 possible entries.

Why are you after the appName though?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly


ima schrieb:
ima schrieb:
我在哪里可以找到Navigator.AppName的有效名称列表?
Where can I find a list of valid names for Navigator.AppName?




嗯,我知道这三个:


* Netscape

* Opera

* Microsoft Internet资源管理器


但这些字符串对于使用过的浏览器有什么用呢?什么都没有。如果有'/ b $ b&b'Microsoft Internet Explorer"作为Navigator.AppName - 那么它可以是任何

浏览器,也许真的是一个IE,也许是一个火狐,也许是一个歌剧,也许是一些东西

else。网景?可以是任何浏览器和歌剧 - 而且每个其他名字也是相同的

。 Navigator.AppName只是一个字符串,里面没有任何有用的

信息。


如果你打算检测用过的浏览器,你必须检查差异
JS-Implementation中的



Well, I know these three:

* Netscape
* Opera
* Microsoft Internet Explorer

But what these strings do say about the used browser? Nothing at all. If there''s
"Microsoft Internet Explorer" as Navigator.AppName - well then it can be any
browser, maybe really an IE, maybe a firefox, maybe an opera, maybe something
else. Netscape? Can be allmost any browser and opera either - and the same for
every other name too. Navigator.AppName is just a string without any usefull
information in it.

If you intend to detect the used browser, you have to check for the differences
in JS-Implementation.


ima说:

我在哪里可以找到一个列表Navigator.AppName的有效名称?

Where can I find a list of valid names for Navigator.AppName?



你不能。

这就像要求一个有效的用户名列表一样。


You can''t.
That''s like asking for a list of valid user names.


这篇关于有效的Navigator.AppName值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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