您的位置:首页 > 其它

最简单的办法,不用安装任何软件,就屏蔽ClickEye(点睛广告)

2007-12-07 12:35 603 查看

屏蔽ClickEye(点睛广告)

现在有部分网站的网页里添加了“ClickEye”的广告,其实就是在网页里添加了个脚本程序(“http://www***.clickeye.cn/common/clickeye.js”)。当你在网页上看到有虚线,鼠标放上去时弹出clickeye的广告,这个就是“ClickEye”广告了,由于查看网页时要加载这个脚本并分析下载广告要花时间,所以一般会感觉到打开网页变慢等现象,非常讨厌!

解决方法:

原理就是屏蔽掉www***.clickeye.cn这个地址。采用的方法为修改host文件(还有可以修改防火墙等等其他办法)。这里采用最简单的办法,不用安装任何软件。

1,右键点击网页,选择查看源文件

2,按Ctrl+F键,也就是查找,输入clickeye.cn

3,找到www***.clickeye.cn(***可能会随着不同的网站不同,这也就是上面要查找的原因。例如在msn的http://msn.ynet.com/就是www230.clickeye.cn)

4,用notepad打开C:\WINDOWS\system32\drivers\etc\host文件,注意host文件没有扩展名。将上面找到的“127.0.0.1 www***.clickeye.cn ”,

加入host文件新的一行中,注意没有引号(在我屏蔽http://msn.ynet.com/上面的点睛广告时就是‘127.0.0.1 www230.clickeye.cn ’)。

如果你以前没有修改过,那么现在的host文件应该是下面这样的。

# Copyright (c) 1993-1999 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

127.0.0.1 www230.clickeye.cn

总结:遇到其它一些类似ClickEye(点睛广告)的流氓脚本程序或插件,我们也可用上述方式解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐