Removing Cookies in Firefox Extensions

Removing a cookie from an extension…

IS:
Components.classes["@mozilla.org/cookiemanager;1"]
.getService(Components.interfaces.nsICookieManager)
.remove(“forums.vwvortex.com”, “firevortexfavforums”, “/”, false);

INSTEAD OF:
cookieSvc.setCookieString(uri, null, “firevortexfavforums=; domain=forums.vwvortex.com; expires=Thu Jan 01 1970 00:00:01 GMT-0700; path=/”, null);

This entry was posted in FireVortex and tagged , . Bookmark the permalink.

Leave a Reply