I'm trying to delete all cookies with javascript (or php) that a browser request has added to my computer, included the ones added by analytics and iframe. I've tried all solutions from stack and none worked.
For example, I open index.php that adds its own cookies, and has in the HTML document Google Analytics script (few other cookies), facebook like button (another cookie), advertising scripts (other cookies). I'll end up with the following:
- server cookies
- Google analytics cookies
- Facebook Like cookies
- advertising third parties cookies
How do I delete everything, either with a php script (ajax request) or javascript?
Note: cookies are from different domains, as explained above