LWN.net Logo

musings on forum killfiles

musings on forum killfiles

Posted Nov 8, 2007 9:57 UTC (Thu) by Wummel (subscriber, #7591)
In reply to: musings on forum killfiles by k8to
Parent article: The Gmail Greasemonkey API

Note that XPath matching is as brittle as a regular expression matcher. Both will fail when the site structure is changing. Only difference is that XPath is easier to work with in an (X)HTML world.

So with regard to matcher brittleness there is no advantage using greasemonkey over a filtering proxy solution.


(Log in to post comments)

musings on forum killfiles

Posted Nov 12, 2007 2:21 UTC (Mon) by k8to (subscriber, #15413) [Link]

Well, failures might be trivial style changes done in an oldworld direct-attribute way.  Or
sometimes even html source formatting changes, depending upon your regex.

I mean, I encountered these.  It was possible to create regexes to avoid suffereing from some
of this, but it wasn't simple.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds