I am testing a web app that writes cookies to subdomain.thisdomain.com and several subfolders within that. I’m looking for JavaScript that I can put into a bookmarklet that will delete all cookies under that subdomain, regardless of the folder in which they exist.
Any ideas?
Derived from my answer here:
Due to browser security issues, this will only work when executed while on a page that has access to all the cookies you want to delete.