Delete All Cookies From JavaScript - LOGO
  • Delete All Cookies From JavaScript
  • Users : 3,140
  • Last Update : Nov 27, 2013
  • Category : Developer Tools
  • File Size : 88.9 K
  • Version : 1.1
  • Chrome store
  • Share

Delete 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.
Load More
  • Download
  • How to install?
  • Chrome store
  • Share

  • Reviews
    0/500
    Please login before post a review.
    Recent Reviews
    当前没有评论,赶紧评论抢占沙发