[Greasemonkey] Combobulate
Porges
porges at gmail.com
Mon Oct 17 19:18:17 EDT 2005
Ok, so I'd been thinking about this for a little while, and just got
around to writing it today.
Info including link: http://porges.name/blog/combobulate
(To see it in action visit boingboing.net, CNN.com or deviantart.com.)
Basically it does a lookup using the host of the current page to find
CSS/JavaScript to inject into the page, then removes all the elements
which match a set of XPaths it is given. The part about it which makes
it work nicely is the reliance on a remote server to provide the rules
-- which means that you won't have to have anything to keep your rules
up-to-date.
The primary focus I have for it is the removal of ads, although the
JavaScript aspect is there to be used for getting rid of other
annoyances such as so-called "interstitial" pages. The provision of
other servers would also allow people to set up their own
rule-collections focusing upon different aspects (usability, etc).
Any suggestions for how to implement a system for users to submit
their own rules would be appreciated as that's where I'm sticking at
the moment :) A system like this is pretty much reliant on everyone to
do the work together -- I can't index all the sites myself :P
This is my first post to the mailing list and my first GM script so
please don't be too harsh!
More information about the Greasemonkey
mailing list