Welcome guest, is this your first visit? Create Account now to join.
Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 89

This is a discussion on [New Ext] dvCr(Chromium)AdBlocker within the Chrome Plugins section, part of the Google Chrome category: @Michael3185: I agree with you on BFilter being a good [and free] ad blocking solution! It's really bad that the ...


  1. #21
    deVars's Avatar
    deVars is offline Member
    Join Date
    Oct 2009
    Posts
    44

    Default

    @Michael3185:

    I agree with you on BFilter being a good [and free] ad blocking solution! It's really bad that the project has been abandoned. I tried it and Privoxy as well as the old proxomitron and I think BFilter is the most flexible among the three because of the javascript filtering it offers.

    The Gecko engine makes it possible for AdBlockPlus to deny requests. There is a code in the Gecko engine that makes it decide whether to accept or deny a request to load the data. AdBlockPlus just adds its list to Gecko's own and that blocks the ads.

    I'd like to work on the BFilter project one day, after I learn how to do code for C++. It would be nice to get that back to its feet.
    Lead me not into temptation,
    I already know the way.

  2. #22
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    I haven't tried playing with its Javascript filtering, as I don't know what needs blocking with that kind of functionality. If you have an example perhaps you could post one?

    As to it being abandoned, I don't see it that way really. It works, and I can't think of anything else it would need, so perhaps the author just got bored and moved on to other things? I did use a resource modification tool to try and resize some of the dialogs, but it gives an error message saying the resources are packed and can't be changed. I may have a look at what compiles it and download the source code.

    Aha. Just looked up Gecko Engine. So whatever Chrome uses doesn't have the ability to block data requests. Strange; I'd have thought that a basic requirement these days. Oh well. I wonder why some intrepid programmer doesn't modify the Chromium source code to include it..?

    Edit: I just got BFilter's source code, and have added one of the ReadMe files which lists what free compiler tools are used to build it. (Gone a bit OT in this thread I think..!) Holy cow. Some of the compiler downloads are a few megs, but one required by the free Visual Studio is 366MB! Erm, I think BFilter's dialogs can stay as they are.
    Attached Files Attached Files
    Last edited by Michael3185; 10-14-2009 at 06:59 PM.

  3. #23
    XCFan is offline Junior Member
    Join Date
    May 2009
    Posts
    22

    Default

    Thanks DeVars! I (with great remorse) uninstalled the poor abandoned Adsweep. I am happy to announce, that this works as well as Adsweep in my experience and am looking forward to improvements. The first one (I don't know how hard this is, because nothing seems to be able to stop it!) are the Gmail ads. But I must keep the useful links. Keep up the good work DeVars, and I hope that this gets featured on the blog! (Hint, hint, nudge, nudge.... :-) )

  4. #24
    deVars's Avatar
    deVars is offline Member
    Join Date
    Oct 2009
    Posts
    44

    Default

    @Michael3185:
    Here is one of the search and replace filters I use with BFilter:

    Search Window:
    Code:
    /\s*(?:<td>\s*)?(<a[^>]+?)(href="[^"]+?")(.*?<\/a>)(?:<\/td>\s*)?\s*/
    Replace Window:
    Code:
    var reIndex = arguments[2].lastIndexOf("http://");
    if (reIndex > 6) {
        var newHref = arguments[2].substring(reIndex);
        return arguments[1] + 'href="' + newHref + arguments[3];
    }
    Some of the links in webpages I visited contain detours to ad sites like doubleclick.net -- and when you click this link and have doubleclick.net blocked, you'd get an empty page. What this filter does is take out the detour link and replace it with the link straight to the page it should be pointing to. (I think it just works with doubleclick because of the link format. It has some caveats but I still like how it helps me skip the trouble of getting blank pages.)

    @XCFan:
    Thanks for the support, XCFan! The next (Fiddler Crab) release will be coming up soon! It's on the testing phase. Just like the name says, the Fiddler Crab lets you fiddle and add filters so you could customize CrAB to kill the GMail ads! I'll also look into it and post filters that would be helpful.
    Last edited by deVars; 10-15-2009 at 06:32 PM. Reason: Some highlighting because I replied to more than one users
    Lead me not into temptation,
    I already know the way.

  5. #25
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    Hehe - that just went 'zoooom', right over my head deVars! I haven't noticed any links going to blank pages, so am not sure what you mean. And regex stuff does my head in!

  6. #26
    deVars's Avatar
    deVars is offline Member
    Join Date
    Oct 2009
    Posts
    44

    Default

    Oh, sorry about that. . . let's try it again with pictures

    Code:
    +----------+          +----------+          +-----------+ 
    |          |          |          |          |page that  |
    | link     |    -->   |  adSite  |  -->     |is supposed|
    |          |          |          |          |to load    |
    +----------+          +----------+          +-----------+
    Some links are like this on the webpages I visited.

    When you have the adSite blocked on your filter, all you'd get would be a blank page. (since BFilter replaces pages from a blocked site with a blank one, or gives your browser a "page not found" error) That would mean you won't be able to get to the real page without making a visit to the adSite first.

    The filter above replaces the link with another so that:

    Code:
    +----------+               +-----------+ 
    |          |               |page that  |
    | link     |       -->     |is supposed|
    |          |               |to load    |
    +----------+               +-----------+
    Lead me not into temptation,
    I already know the way.

  7. #27
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    Cool. I'll paste it in and let it work when it needs to. Thanks!

    Do you have a URL I can test it on to make sure I've entered it in the right place?
    Last edited by Michael3185; 10-15-2009 at 08:08 PM.

  8. #28
    amedeus is offline Junior Member
    Join Date
    Oct 2009
    Posts
    8

    Default

    Quote Originally Posted by deVars View Post
    Oh, sorry about that. . . let's try it again with pictures

    Code:
    +----------+          +----------+          +-----------+ 
    |          |          |          |          |page that  |
    | link     |    -->   |  adSite  |  -->     |is supposed|
    |          |          |          |          |to load    |
    +----------+          +----------+          +-----------+
    Some links are like this on the webpages I visited.

    When you have the adSite blocked on your filter, all you'd get would be a blank page. (since BFilter replaces pages from a blocked site with a blank one, or gives your browser a "page not found" error) That would mean you won't be able to get to the real page without making a visit to the adSite first.

    The filter above replaces the link with another so that:

    Code:
    +----------+               +-----------+ 
    |          |               |page that  |
    | link     |       -->     |is supposed|
    |          |               |to load    |
    +----------+               +-----------+
    Hey, i actually have this problem with bfilter can you tell me where and how i edit the code?

  9. #29
    deVars's Avatar
    deVars is offline Member
    Join Date
    Oct 2009
    Posts
    44

    Default

    @amedeus:

    Right-click on BFilter's icon > Configuration > Filters

    From there you can create a new filter and put in those codes.

    Oh, almost forgot. . .
    the "If" block in mine has
    Code:
    _HTML_OR_XHTML_
    on it so it only activates on HTML or XHTML pages.
    Lead me not into temptation,
    I already know the way.

  10. #30
    deVars's Avatar
    deVars is offline Member
    Join Date
    Oct 2009
    Posts
    44

    Default

    Quote Originally Posted by Michael3185 View Post
    Cool. I'll paste it in and let it work when it needs to. Thanks!

    Do you have a URL I can test it on to make sure I've entered it in the right place?
    I am not sure. I have that code for so long that I'd forgotten which pages it activates. Sorry.
    Lead me not into temptation,
    I already know the way.

Page 3 of 9 FirstFirst 12345 ... LastLast

Similar Threads

  1. Roboform on Chromium
    By Chrome in forum Chrome Tips & Tricks
    Replies: 6
    Last Post: 10-27-2009, 05:50 PM
  2. Chromium sync
    By Benni in forum Chrome Troubleshooting
    Replies: 6
    Last Post: 09-29-2009, 11:53 PM
  3. How many people use Chromium?
    By ChromiumUser99 in forum Chrome Talk
    Replies: 38
    Last Post: 08-04-2009, 02:45 PM
  4. Chromium 3.0.195.0 Buttons
    By Cherripez in forum Chrome Themes
    Replies: 3
    Last Post: 07-16-2009, 11:37 PM
  5. Chromium
    By Blaquesaber in forum Chrome Talk
    Replies: 0
    Last Post: 10-20-2008, 05:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •