EEfaq论坛-赚客自留地

 找回密码
 免费注册
查看: 2326|回复: 10

站长必备浏览器插件 User Agent Switcher

  [复制链接]
发表于 2012-8-5 17:42:53 | 显示全部楼层 |阅读模式
我们在做网站的时候经常会遇到网页浏览器兼容的问题,包括现在手机、平板电脑等设备都可以上网,这样一来要考虑兼容的东西就更多了。今天和大家分享个值得所有站长收藏的插件:User Agent Switcher。

User Agent Switcher支持火狐firefox以及Google Chrome两个版本,安装就不多说了。我以firefox为例直接上图(图片搜索来的,省事下):


                               
登录/注册后可看大图


基本配置如上,此外如果你是做手机开发的还可以自己定义,我之前看过一个老外分享的图把各大知名手机商包括型号都搞上了,太牛了!

那对我们搞国外网络赚钱的来说有什么用?
比如我们投放Chitika的手机广告,该广告只能在iPhone, iPod Touch, iPad and Android device这样的设备上才能显示,而且更关键的是咱们国内直接打开是不显示广告的。而现在有了该插件就能轻松搞定这样的问题。

此外还支持ie6、7、8等,更多功能根据自己需要再去研究吧,反正有万能的Google什么都能搞定!
发表于 2012-8-5 20:29:22 | 显示全部楼层
未命名.jpg



.......................大哥,你说我该选哪个呢?
回复 支持 反对

使用道具 举报

发表于 2012-8-6 00:01:55 | 显示全部楼层
不错啊,谢谢分享
回复 支持 反对

使用道具 举报

发表于 2012-8-6 10:12:30 | 显示全部楼层
回复 2# 嗯嗯

头两个功能一样,你选第一个好了
回复 支持 反对

使用道具 举报

发表于 2012-8-6 15:15:08 | 显示全部楼层
暂时不需要,mark一下吧!!
回复 支持 反对

使用道具 举报

发表于 2012-8-6 21:07:08 | 显示全部楼层
这个插件还真不错
回复 支持 反对

使用道具 举报

发表于 2012-8-7 00:13:59 | 显示全部楼层
FIREFOX 是若干年开发。有点过时。
所以需要自己设计


这些。你看下

- <useragentswitcher>
- <folder description="Internet Explorer">
  <useragent description="Internet Explorer 6" useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" appcodename="Mozilla" appname="Microsoft Internet Explorer" appversion="4.0 (compatible; MSIE 6.0; Windows NT 5.1)" platform="Win32" vendor="" vendorsub="" />
  <useragent description="Internet Explorer 7" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)" appcodename="Mozilla" appname="Microsoft Internet Explorer" appversion="4.0 (compatible; MSIE 7.0; Windows NT 6.0)" platform="Win32" vendor="" vendorsub="" />
  <useragent description="Internet Explorer 8" useragent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)" appcodename="Mozilla" appname="Microsoft Internet Explorer" appversion="4.0 (compatible; MSIE 8.0; Windows NT 6.1)" platform="Win32" vendor="" vendorsub="" />
  </folder>
- <folder description="Search Robots">
  <useragent description="Googlebot 2.1" useragent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Msnbot 1.1" useragent="msnbot/1.1 (+http://search.msn.com/msnbot.htm)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Yahoo Slurp" useragent="Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  </folder>
  <useragent description="iPhone 3.0" useragent="Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16" appcodename="Mozilla" appname="Netscape" appversion="5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16" platform="iPhone" vendor="Apple Computer, Inc." vendorsub="" />
  <useragent description="Internet Explorer 7 (Windows Vista)" useragent="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" appcodename="" appname="Microsoft Internet Explorer" appversion="4.0 (compatible; MSIE 7.0; Windows NT 6.0)" platform="Win32" vendor="" vendorsub="" />
  <useragent description="Netscape 4.8 (Windows Vista)" useragent="Mozilla/4.8 [en] (Windows NT 6.0; U)" appcodename="" appname="Netscape" appversion="4.8 [en] (Windows NT 5.1; U)" platform="Win32" vendor="" vendorsub="" />
  <useragent description="Opera 9.2 (Windows Vista)" useragent="Opera/9.20 (Windows NT 6.0; U; en)" appcodename="" appname="Opera" appversion="9.20 (Windows NT 5.1; U; en)" platform="Win32" vendor="" vendorsub="" />
  <useragent description=":: BROWSERS - Windows ::" useragent="" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="MSIE 6 (Win XP)" useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" appcodename="" appname="Microsoft Internet Explorer" appversion="4.0 (Compatible; MSIE 6.0; Windows NT 5.1)" platform="" vendor="" vendorsub="" />
  <useragent description="MSIE 5.5 (Win 2000)" useragent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0 )" appcodename="" appname="Microsoft Internet Explorer" appversion="4.0 (compatible; MSIE 5.5; Windows NT 5.0)" platform="" vendor="" vendorsub="" />
  <useragent description="MSIE 5.5 (Win ME)" useragent="Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Avant Browser 1.2" useragent="Avant Browser/1.2.789rel1 (http://www.avantbrowser.com)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Opera 8.0 (Win 2000)" useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; en) Opera 8.0" appcodename="" appname="Microsoft Internet Explorer" appversion="4.0 (compatible; MSIE 6.0; Windows NT 5.0; en)" platform="" vendor="" vendorsub="" />
  <useragent description="Opera 7.51 (Win XP)" useragent="Opera/7.51 (Windows NT 5.1; U) [en]" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Opera 7.5 (Win XP)" useragent="Opera/7.50 (Windows XP; U)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Opera 7.5 (Win ME)" useragent="Opera/7.50 (Windows ME; U) [en]" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Multizilla 1.6 (Win xp)" useragent="Mozilla/5.0 (Windows; U; Windows XP) Gecko MultiZilla/1.6.1.0a" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Netscape 7.1 (Win 98)" useragent="Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko Netscape/7.1 (ax)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Netscape 4.8 (Win XP)" useragent="Mozilla/4.8 [en] (Windows NT 5.1; U)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Netscape 3.01 gold (Win 95)" useragent="Mozilla/3.01Gold (Win95; I)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Netscape 2.02 (Win 95)" useragent="Mozilla/2.02E (Win95; U)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description=":: SPIDERS - search ::" useragent="" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Googlebot 2.1 (New version)" useragent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Googlebot 2.1 (Older Version)" useragent="Googlebot/2.1 (+http://www.googlebot.com/bot.html)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Msnbot 1.0 (current version)" useragent="msnbot/1.0 (+http://search.msn.com/msnbot.htm)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Msnbot 0.11 (beta version)" useragent="msnbot/0.11 (+http://search.msn.com/msnbot.htm)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Yahoo Slurp" useragent="Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Ask Jeeves/Teoma" useragent="Mozilla/2.0 (compatible; Ask Jeeves/Teoma)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description=":: BROWSERS - Mac ::" useragent="" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Safari 125.8 (Mac OSX)" useragent="Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Safari 85 (Mac OSX)" useragent="Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2 (KHTML, like Gecko) Safari/85.8" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="MSIE 5.15 (Mac OS 9)" useragent="Mozilla/4.0 (compatible; MSIE 5.15; Mac_PowerPC)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Firefox 0.9 (Mac OSX )" useragent="Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040614 Firefox/0.9.0+" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Omniweb563 (Mac OSX)" useragent="Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.15" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description=":: BROWSERS - linux/unix/beos ::" useragent="" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Epiphany 1.2 (Linux)" useragent="ozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Epiphany/1.2.5" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Epiphany 1.4 (Ubuntu)" useragent="Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20040924 FireFox/3.6.3 (Ubuntu)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Firefox 0.8 (Linux)" useragent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Galeon 1.3 (Linux)" useragent="Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Galeon/1.3.14" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Konqueror 3 rc4 (Linux)" useragent="Konqueror/3.0-rc4; (Konqueror/3.0-rc4; i686 Linux;;datecode)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Konqueror 3.3 (Gentoo)" useragent="Mozilla/5.0 (compatible; Konqueror/3.3; Linux 2.6.8-gentoo-r3; X11;" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Mozilla 1.6 (Debian)" useragent="Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Debian/1.6-7" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Opera 7.23 (Linux)" useragent="MSIE (MSIE 6.0; X11; Linux; i686) Opera 7.23" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="ELinks 0.9.3 (Kanotix)" useragent="ELinks/0.9.3 (textmode; Linux 2.6.9-kanotix-8 i686; 127x41)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Elinks 0.4pre5 (Linux)" useragent="ELinks (0.4pre5; Linux 2.6.10-ac7 i686; 80x33)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Links 2.1 (Linux)" useragent="Links (2.1pre15; Linux 2.4.26 i686; 158x61)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Links 0.9.1 (Linux)" useragent="Links/0.9.1 (Linux 2.4.24; i386;)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Lynx 2.8.5rel.1 (Linux)" useragent="Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/0.8.12" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="w3m 0.5.1 (Linux)" useragent="w3m/0.5.1" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Links 2.1 (FreeBSD)" useragent="Links (2.1pre15; FreeBSD 5.3-RELEASE i386; 196x84)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Mozilla 1.7 (FreeBSD)" useragent="Mozilla/5.0 (X11; U; FreeBSD; i386; en-US; rv:1.7) Gecko" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Netscape 4.77 (Irix)" useragent="Mozilla/4.77 [en] (X11; I; IRIX;64 6.5 IP30)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Netscape 4.8 (SunOS)" useragent="Mozilla/4.8 [en] (X11; U; SunOS; 5.7 sun4u)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Net Positive 2.1 (BeOS)" useragent="Mozilla/3.0 (compatible; NetPositive/2.1.1; BeOS)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description=":: SPIDERS - misc ::" useragent="" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="download demon" useragent="Download Demon/3.5.0.11" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="Email Wolf" useragent="EmailWolf 1.00" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="grub client" useragent="grub-client-1.5.3; (grub-client-1.5.3; Crawl your own stuff with http://grub.org)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="gulperbot" useragent="Gulper Web Bot 0.2.4 (www.ecsl.cs.sunysb.edu/~maxim/cgi-bin/Link/GulperBot)" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="ms url control" useragent="Microsoft URL Control - 6.00.8862" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="omni web" useragent="OmniWeb/2.7-beta-3 OWF/1.0" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description="winHTTP" useragent="SearchExpress" appcodename="" appname="" appversion="" platform="" vendor="" vendorsub="" />
  <useragent description=":: v: 1.0.4 :: techpatterns.com ::" useragent="" appcodename="" appname="" appversion="" platform="" vendor="http://techpatterns.com/forums/about304.html" vendorsub="" />
  </useragentswitcher>
回复 支持 反对

使用道具 举报

发表于 2012-8-7 00:14:48 | 显示全部楼层
那个浏览器。

看下手机吧






- <useragentswitcher>  <useragent description="T-Mobile G1" useragent="Mozilla/5.0 (Linux; U; Android 1.0; en-us; dream) AppleWebKit/5.25.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="iPhone" useragent="Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Windows Mobile PPC" useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC)" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Windows Mobile Smartphone" useragent="Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; Smartphone)" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Blackberry 7290, OS41" useragent="BlackBerry7290/4.1.0Profile/MIDP-2.0 Configuration/CLDC-1.1" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Blackberry 8700, OS42" useragent="BlackBerry8700/4.2.1Profile/MIDP-2.0 Configuration/CLDC-1.1" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Blackberry 8300, OS45" useragent="BlackBerry8300/4.5.0Profile/MIDP-2.0 Configuration/CLDC-1.1" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Blackberry 9000, OS46" useragent="BlackBerry9000/4.6.0Profile/MIDP-2.0 Configuration/CLDC-1.1" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Nokia N-Gage, old S60" useragent="NokiaN-Gage/1.0 SymbianOS/6.1 Series60/1.2 Profile/MIDP-1.0 Configuration/CLDC-1.0" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Nokia N95, S60 3rd" useragent="Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/10.0.018; Profile/MIDP-2.0 Configuration/CLDC-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="SonyEricsson M600, UIQ3" useragent="SonyEricssonM600i/R100 Profile/MIDP-2.0 Configuration/CLDC-1.1" appname="" appversion="" platform="" vendor="" vendorsub="" />  <useragent description="Other Java based phones" useragent="JAVA Profile/MIDP-2.0 Configuration/CLDC-1.1" appname="" appversion="" platform="" vendor="" vendorsub="" />
回复 支持 反对

使用道具 举报

发表于 2012-8-7 18:05:48 | 显示全部楼层
是个好东西,谢谢分享
回复 支持 反对

使用道具 举报

发表于 2012-8-7 23:58:44 | 显示全部楼层
回复 7# cnwelf


    不错  收了
回复 支持 反对

使用道具 举报

发表于 2012-8-10 21:47:29 | 显示全部楼层
前些日子在版主的Blog拜读过
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|联系我们|Archiver|手机版|小黑屋|EEfaq论坛

GMT+8, 2024-12-22 18:11

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表