combobulate

Default 17 October 2005 | 7 Comments

Following the example set by the excellent hoodwink’d, here is a GreaseMonkey script. It grabs customized CSS/XPath expressions for the current page you’re on (currently only from my server, but you can edit that if you like). What does this mean?

Ad-blocking via CSS and XPath on a per-domain basis, with no need to update your ad-blocking definitions. Ever. Oh, and did I mention Javascript injection?

The next step is to create a miniwiki that allows editing of the items, for true community-oriented ad-busting. Assistance in this regard would be appreciated. After that I will add support for multiple “overlays” of CSS/XPath/Javascript rules.

Oh, and the link: Combobulate. Cleaning up the web one site at a time.

Current example pages:

  • http://cnn.com
  • http://boingboing.net
  • http://deviantart.com

Tagged in ,

7 Responses on “combobulate”

  1. Cynos says:

    You might have to lower people like me into this slowly. How does one write aforementioned ruleset, can you post up an example at all?

    Cheers.

  2. Administrator says:

    Err, just a collection of CSS/Javascript/XPath… the actual format for the stored rules is visible at http://porges.name/combobulate/ … I was going for simplicity

    One line for CSS, one line for Javascript, any lines after that are for XPath.

  3. Cynos says:

    Hmmm… interesting, CNN sorta works, although I’m getting textboxes in lieu of ads… GPForums, still has the main banner up, however, the one under the 2nd P, then Table > TBody > TR > TD > A > IMG in Dom Inspector.

  4. Administrator says:

    It’s possible that’s due to using an older version of firefox, GreaseMonkey was having some problems… For what it’s worth I’ve got 1.5 Beta 2.

  5. Cynos says:

    Ah, that there might explain it.
    And I was thinking that Greasemonkey was being silly.
    How beta is the FF beta?

  6. Cynos says:

    Haha. OK, now it works. You might wanna mention that it needs beta FF and latest Greasemonkey though.

  7. Administrator says:

    Now it just needs latest FF and GM, but RIP seems like a superior solution – at least it will be once they have automatic import etc. working

Leave a Reply