This is the source code for the HumHum Ignore User Safari 5 and Google Chrome extensions. If you're just looking for the binaries in order to install and use them, go to the downloads page.
Please note that you will require a Safari Developer cert in order to build the extension from source using the Safari Extension Builder, and that *it must be installed in Safari before you can proceed**. This does not apply if you just want to install the extension (binary).*
When a thread is loaded, the background HTML page requests the contents of the "users" setting, and passes the result back to the injected script, which splits the result into an array, constructs an XPath query using the array elements, then builds an XPath snapshot whose nodes (made up of tables of the
threadTable class) are removed (expunged), thus removing the users' (or user's, if you have chosen to ignore only one) comments from the thread.
please add usernames in lowercase
I'm pretty sure there's a bug in the current implementation of Safari 5's HTML5 local storage functionality. It's not a show-stopper – it's preventing the list of ignored users being written to offline storage after a certain number of writes – but it's sufficiently irritating for me to detail here. The error console is your friend, if you're wondering what's going on.