阅读:4894回复:9
怎么用过滤那些飘来飘去的广告啊?
有没有简单快速点的方法?只能分析网页原代码吗?
我希望用adplus过滤 |
|
|
1楼#
发布于:2006-08-10 21:29
右键添加到ad
|
|
|
2楼#
发布于:2006-08-10 21:29
这个在 ie 内核用脚本很易搅定的,可惜 W3C (FF) 不支持部分 ie 的脚本属性,不能转做 greasemonkey 脚本。
|
|
|
3楼#
发布于:2006-08-10 21:29
|
|
4楼#
发布于:2006-08-10 21:29
怎么过滤div啊?形如div name=xxxx,写greasemonkey脚本倒很容易过滤这种,但是adplus的规则不知道怎么写
|
|
|
5楼#
发布于:2006-08-10 21:29
能不能换个思路,把那个网站给黑一下,把所有有关的网页广告全部干掉
![]() |
|
|
6楼#
发布于:2006-08-10 21:29
|
|
|
7楼#
发布于:2006-08-10 21:29
|
|
|
8楼#
发布于:2006-08-10 21:29
ADBLOCK PLUS 0.7.11
Element hiding: basic rules Sometimes you will find advertisements that can’t be blocked because they are embedded as text in the web page itself. If you look at the source code of the web page you might find something like this: <div class="textad"> Cheapest tofu, only here and now! <div> <div id="sponsorad"> Really cheap tofu, click here! <div> <textad> Only here you get the best tofu! </textad> You need to download the web page so you will necessarily download the advertisements. All you can do here is to hide the advertisement so you don’t need to see it. That’s what element hiding is meant for. The first advertisement above is contained inside a div element with class attribute “textad”. The following rule will hide exactly this combination: #div(textad). You can hide elements by their id attribute in the same way, #div(sponsorad) will hide the second advertisement. You don’t need to specify the element name, the rule #*(sponsorad) will work just as well. And you can hide elements by element name only, e.g. #textad for the third advertisement. So, how do you know what to put into your element hiding rule? You have two choices: either you dig into source code of the web page and try to locate the advertisement there, or you use DOM Inspector (Firefox users have to choose “Custom install” and check “Development Tools” when installing Firefox to install DOM Inspector as well). Basic HTML knowledge is useful in both cases. Note: Element hiding works very differently from normal filters. This has the implication that no wildcards are supported in element hiding rules, hit count for them won’t be available and exception rules will be ignored (actually, element hiding rules will even apply to local pages). Note: Element hiding requires at least Gecko 1.8 (meaning Firefox 1.5 and SeaMonkey 1.0) to work. In older versions element hiding rules will be shown as invalid. |
|
|
9楼#
发布于:2006-08-10 21:29
多谢,我去试试
|
|
|