2006/12/21

IE外壳浏览器横向比较(一):中键点击与引用页

第一篇:中键点击与引用页

本次测试这 4 种浏览器软件在点击中键时是否能正确发送引用页。众所周知,现在大部分多页面浏览器 (Tabbed browser) 都支持在链接上点中键 (滚轮) ,从新的 tab 中打开这个链接的目标页面。

但是,在实际使用中会发现,有些下载链接如果用中键打开,可能会说你“没有权限”,或是“从外部访问”云云。为什么呢?这些页面的后台程序会检查你所请求页面的引用页是不是来自本站,用通俗的话说,就是检查你是不是从本站“点过来”的。如果它检测不到,就会认为你是从外部访问过来的。没有先访问本站,会降低它的流量,或是页面上广告的显示次数,等等其他让站长不爽的问题。

这当然是网站的一种自我保护行为,无可厚非。但问题是,你在用某些浏览器时,明明引用页和新打开页面是同一网站,可有时候还会有前面说的这种现象。这说明,那个浏览器没有正确发送引用页。

要测试页面的引用页,可以很简单地在地址栏运行这行代码:

javascript:alert(document.referrer);

弹出 messagebox 会告诉你当前页的引用页地址。如果什么都没有显示,则说明引用页为空,服务端程序会认为这个页面是直接输入地址或从收藏夹访问过来。

测试结果

在参与比较的 4 种浏览器中,能正确发送引用页的有:
IE 和 Sleipnir,掌声鼓励一下。
Maxthon 和 TheWorld 显然还没意识到这个问题。

本次横向比较到此结束。下期预告:正确获取收藏夹图标(favicon), 敬请留意。

17 条评论:

Lin Huang 说...

caihuanglin20150520
prada outlet
oakley sunglasses
true religion jeans
chanel handbags
coach outlet online
burberry outlet online
true religion sale
cheap jordans
coach factory outlet
abercrombie
michael kors outlet
air max 90
coach factory outlet
gucci outlet online
ray ban sunglasses
ray ban sunglasses
michael kors outlet online
oakley sunglasses sale
burberry scarf
pandora jewelry
ray bans
fitflops outlet
ralph lauren outlet
christian louboutin outlet
rolex watches
michael kors bag
pandora outlet
caoch outlet
gucci outlet
chanel online shop
chanel bags
hollister clothing
kate spade handbags
coach outlet
ralph lauren
coach outlet store online
oakley sunglasses wholesale
ray ban glasses
polo ralph lauren
tory burch outlet online

One J 说...

michael kors
ralph lauren outlet
louis vuitton handbags
coach outlet online
retro 11
oakley sunglasses wholesale
coach outlet online
cheap oakley sunglasses
kd shoes
coach factory outlet
jordan 5
abercrombie store
true religion jeans
jordan 8 playoffs
coach outlet online
retro jordans
oakley sunglasses wholesale
burberry scarf
red timberland boots
tods outlet
football jerseys
michael kors
cheap oakley sunglasses
louis vuitton
oakley sunglasses
20150603yuanyuan

mmjiaxin 说...

nike free 5
coach outlet store
louis vuitton,borse louis vuitton,louis vuitton sito ufficiale,louis vuitton outlet
chanel handbags outlet
ugg outlet
lululemon pants
ralph lauren outlet
los angeles clippers
cheap ugg boots
black friday deals
ralph lauren outlet
ray ban outlet
nike air max uk
karen millen uk
cheap nfl jersey
nike trainers
coach outlet store
chanel outlet
uggs outlet
miami dolphins
mm1031

huangqing 说...

louis vuitton neverfull
michael kors wallet sale
michael kors outlet online
hermes outlet
tiffany jewelry
mulberry bags
michael kors outlet store
polo ralph lauren
louis vuitton sunglasses for women
swarovski outlet
kate spade handbags
michael kors outlet
snapbacks wholesale
jordan shoes 2015
beats headphones
polo shirts
nba jerseys
oakley sunglasses
ralph lauren polo
oakley sunglasses
oakley sunglasses
nike roshe
ghd uk
mulberry outlet
soccer jerseys wholesale
coach outlet online
kobe bryants shoes
michael kors online outlet
longchamp pliage
lacoste polo shirts
ralph lauren polo
tiffany jewelry
toms outlet
mulberry outlet,mulberry handbags outlet
longchamp outlet
16.5.28qqqqqing

Gege Dai 说...

jianbin0802
versace sunglasses on sale
ferragamo shoes
ugg outlet
michael kors uk
nfl jerseys wholesale
oakley sunglasses
ugg boots
christian louboutin outlet
christian louboutin uk
ugg boots
reebok shoes
marc jacobs outlet
adidas nmd runner
polo ralph lauren
michael kors outlet
michael kors outlet clearance
michael kors outlet online
tory burch outlet online
true religion outlet uk
cartier sunglasses
tiffany and co
ray-ban sunglasses
coach outlet
ugg outlet
ray ban sunglasses
ugg uk,ugg outlet,ugg boots outlet
cheap nba jerseys
air max 90
burberry outlet
fitflops sale
michael kors handbags
cheap snapbacks
michael kors outlet online
michael kors outlet clearance

Outlet Wade 说...

red bottoms shoes
authentic christian louboutin outlet
christian louboutin store
christian louboutin outlet
cheap louboutin shoes
christian louboutin shoes
red bottom shoes christian louboutin
red sole shoes christian louboutin
christian louboutin sale
christian louboutin
christian louboutin Shoes
louboutin sale
louboutin shoes
red bottoms shoes
louboutin shoes
red bottom shoes for women
christian louboutin shoes
christian louboutin sale

fangyaoting 说...

fangyanting20161010
toms shoes
moncler jackets
true religion jeans
longchamp outlet
coach outlet
canada goose outlet
ray ban sunglasses sale
canada goose jackets
the north face jackets

dong dong23 说...

stivali ugg
oakley sunglasses outlet
louis vuitton handbags clearance
cheap ugg boots
giuseppe zanotti sneakers
ray ban eyeglasses
air max 90
polo ralph lauren uk
coach outlet online
coach outlet online
2016.12.28chenlixiang

Unknown 说...

ugg boots uk
oakley sunglasses
cheap ray bans
san antonio spurs jerseys
michael kors
cheap ray ban sunglasses
ray ban sunglasses
nike huarache
packers jerseys
canada goose outlet

cara menggugurkan kandungan 说...

for beginners like me need a lot of reading and searching for information on various blogs. and articles that you share a very nice and inspires me .
obat telat datang bulan
obat aborsi
cara menggugurkan kandungan
obat telat bulan
obat penggugur kandungan

Unknown 说...

uggs outlet
michael kors outlet
cheap oakley sunglasses
rolex watches
true religion jeans
longchamp handbag
true religion jeans
ray ban sunglasses
nike roshe one
burberry canada
chanyuan2017.01.18

chenmeinv0 说...

mcm handbags
kate spade handbags
adidas outlet store
nike blazer high
michael kors handbags
nike cortez classic
nike huarache ultra
nike roshe run femme
mlb jerseys wholesale
calvin klein jeans
20172.6chenjinyan

Unknown 说...

jianbin0206
louis vuitton outlet
toms shoes
true religion jeans
uggs outlet
louis vuitton
louis vuitton handbags
oakley sunglasses
true religion jeans
pandora outlet
michael kors canada

Unknown 说...

cheap ray ban sunglasses
michael kors outlet clearance
cheap nfl jerseys
coach factory outlet
louis vuitton handbags
michael kors outlet
rolex watches
pandora charms
coach outlet
jordan shoes
chanyuan2017.03.17

chenmeinv0 说...

omega copy watches
michael kors outlet
supra footwear
adidas outlet
oakley vault
nike jordan shoes
tory burch outlet
fitflops sandals
michael kors outlet online
the north face outlet
hzx20170410

Unknown 说...

giants jersey
polo ralph lauren
michael kors handbags
nike trainers
ugg boots
louis vuitton sacs
pandora charms
ferragamo shoes
michael kors handbags
los angeles lakers jerseys

dong dong23 说...

fitflops sale
coach outlet online
coach outlet
michael kors bags
michael kors handbags
christian louboutin sale
christian louboutin
cheap oakley sunglasses
coach factory outlet
michael kors bags
2017.4.29chenlixiang