I don't think it would be easy to write a global one for every site, but I think it would be cool to make a community-driven unsubscribe script collection.
The potential for scripts that did very bad things is immense, especially given how easily you can massively obfuscate JavaScript code.