Adblock Plus如何在Chrome中使用? [英] How Adblock Plus works in Chrome?

查看:171
本文介绍了Adblock Plus如何在Chrome中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



adblock plus如何阻止网络上的广告?我看到它注入了一些隐藏广告的css,但我认为他做的比这更多 - 例如阻止http请求。




>

解决方案

这里给出一个简要的介绍: http://chromeadblock.org/extensions/adblock-for-chrome/



然而,没有真实的细节。我认为他们所做的是检查CSS类和ID的坏字,如:广告,广告,赞助....
此外,他们将有一个主要的广告服务器列表,如AdWords等,并简单地阻止这些IP /域被加载。
之后,它似乎会计算已删除广告的尺寸,并用空白CSS填充它。

可能不是这样做的,但那是我该怎么做的。



How adblock plus blocks advertisements in the web? I saw it inject some css that hide the advertisement, but I think that he does more than that - for example blocking http request..



解决方案

They give a brief idea of it here: http://chromeadblock.org/extensions/adblock-for-chrome/

However no real details. I think what they do is, to check css class and id's for badwords, like: advert, ad, sponsored .... Furthermore, they'll have a list of major Ad Servers like AdWords etc. and simply block those IP's / domains from being loaded. Afterwards it seems like it calculates the dimensions of the removed ad and fills it up with a blank CSS.

Maybe thats not how they do it, but that is how I would do it.

这篇关于Adblock Plus如何在Chrome中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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