Thank for this, I get personal documents mailed to me daily so it's such a hassle trying to delete them one by one when I don't need them anymore.
One thing though, it took me a while getting this to work in chrome, because whenever I pasted the link into the address bar it was deleting the 'javascript
:' bit at the beginning. Once I manually typed this in it all worked perfectly