Delete All Cookies From JavaScript

Rate 4.5 / 6 votes
More than 2368 users worldwide
Current version: 1.1
Price: FREE
Download extension
Like this extension ? Like/Share it!
Delete All Cookies From JavaScriptDelete All Cookies From JavaScript

This Chrome extension deletes all cookies (including HTTP only cookies) by either sending a postMessage from any javascript on any page or by clicking the extension action (i.e. clicking the icon).

This chrome extension is particularly useful when you need to delete cookies as part of an automated test.

To delete all cookies using javascript run the following line:

window.postMessage({ type: "CLEAR_COOKIES_EXTENSION_API" }, "*");

To delete cookies for the domain and super-domains of current page using javascript run the following line:

window.postMessage({ type: "CLEAR_COOKIES_DOCUMENT" }, "*");

Note: the CLEAR_COOKIES_DOCUMENT mode does not delete any cookie that has a path value as this is not possible using the document object.

Reviews of Delete All Cookies From JavaScript extension

Similar extension