Adblock Plus如何真正在Chrome中运行? [英] How does Adblock Plus really work in Chrome?

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

问题描述

我注意到Adblock Plus注入了一些隐藏广告的CSS,但我认为它的作用还不止于此-例如,阻止HTTP请求.

I noticed Adblock Plus injecting some CSS that hides the advertisements, but I think that it does more than that - for example blocking HTTP requests.

Adblock Plus如何阻止网络上的广告?

How does Adblock Plus block advertisements on the web?

推荐答案

他们在这里给出了一个简短的想法: http://chromeadblock.org/extensions/adblock-for-chrome/

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

但是没有真实的细节.我认为他们要做的是检查css类和id是否为badwords,例如:广告,广告,赞助商....此外,它们还将列出主要的广告服务器(如AdWords等)的列表,并仅阻止加载这些IP/域.然后,它似乎可以计算出已删除广告的尺寸,并用空白CSS填充它.

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天全站免登陆