how to block <script>document.write.....</script>
Posted: Sat Jul 21, 2007 5:59 am
some ads are written in <script> </script> use document.write();
how to block this .
3ks
how to block this .
3ks
Ads were yesterday!
https://forum.adblockplus.org/
I understand that you might have suggested *?adid=* in case */adpuba/* gives false positives. But if this is the case then *click?adid=* is much better alternative for this situation since it is much faster.fanboy wrote:*/adpuba/* or *?adid=*
I also think you might need to turn on Check Banner Links options if you want to use these urls for blocking.pythonlong wrote:<script>document.write('<span>·<a href=http://ivy.pconline.com.cn/adpuba/click ... wzld.tl1xf. target=_blank><font color=red>七喜笔记本3999送手机</font></a><br></span>');
document.write('<span>·<a href=http://ivy.pconline.com.cn/adpuba/click ... wzld.tl1xf. target=_blank class=p1>神舟1G内存64位本3999</a><br></span>');
document.write('<span>·<a href=http://ivy.pconline.com.cn/adpuba/click ... wzld.tl1xf. target=_blank class=p1>暑期DIY装机促销全攻略</a>
Strictly concerning the website he's visiting, either filter would work fine. I'm not sure how */adpuba/* would give you many false positives compared to *?adid=*. Of course I could be wrong. Example?Adblock Plus Fan wrote:I understand that you might have suggested *?adid=* in case */adpuba/* gives false positives. But if this is the case then *click?adid=* is much better alternative for this situation since it is much faster.fanboy wrote:*/adpuba/* or *?adid=*
Code: Select all
ivy.pconline.com.cn/adpuba/
image.pconline.com.cn*/200
pconline.com.cn#div(class=top_banner)
pconline.com.cn#div(class*=-img)
pconline.com.cn#div(class=right1-1)
pconline.com.cn#div(class^=sc)
Not true. One filter you suggest is a fast filter (*/adpuba/*), the other is a slow filter (*?adid=*).fanboy wrote:Strictly concerning the website he's visiting, either filter would work fine.
Note that I said might, meaning possibly. This was more of a guessing from my part which considered why you would do something like suggesting a slow filter when the situation clearly allows faster alternatives.fanboy wrote:I'm not sure how */adpuba/* would give you many false positives compared to *?adid=*. Of course I could be wrong. Example?
But if this is your reasoning then we disagree. Suggesting a slow filter filter to other people on the basis that it might also block other ads on other websites is not good in my opinion. At least not without notifying them that it is a slow filter.fanboy wrote:Personally, I'd use *?adid=* since it would be more useful on other websites.
Its the whole effective filter vs efficient filter, its up to the user to decide. An efficient filter that hardly gets any hits, vs an effective filter. If the filter requires another 1-2ms and blocks many more adverts from many other sites, then I'd choose the effective filter everytime, but that is my personal opinion. I don't have to benchmark my suggestions, just to make you happy. In the end, its up to the user (pythonlong) to decide what is the most effective filter for the job.Adblock Plus Fan wrote:But if this is your reasoning then we disagree. Suggesting a slow filter filter to other people on the basis that it might also block other ads on other websites is not good in my opinion. At least not without notifying them that it is a slow filter.
Saying that it "hardly gets any hits" is hardly fair. It gets all the hits you have required from it.fanboy wrote:An efficient filter that hardly gets any hits, vs an effective filter.
I never asked you to.fanboy wrote:I don't have to benchmark my suggestions, just to make you happy.
Indeed. Which is why I recommended to at least make him aware of the differences in speed.fanboy wrote:In the end, its up to the user (pythonlong) to decide what is the most effective filter for the job.
As you suggested this is merely a difference in philosophy. In my opinion, it is better to have 100 fast filters than a single very slow but "effective" filter.fanboy wrote:If the filter requires another 1-2ms and blocks many more adverts from many other sites, then I'd choose the effective filter everytime, but that is my personal opinion.