cookie-remover

The cookie-remover removes certain cookies by parsing document.cookie to set the expiration dates in the past for cookies that match targeted patterns.

Parameters

Name

Description

Mandatory

cookie

A pattern that matches the name of the cookie(s) to remove. Enclose in / for regex.

Yes

autoRemoveCookie

When set to true, continuously monitors the targeted cookie, checking every 1000ms.

No

Filter examples

Filter

Result

cookie-remover adb

Removes any cookie that matches adb.

cookie-remover adb true

Removes every second any cookie that matches adb.

Debugging

Message

When

Definition

DEBUG cookie-remover Parsing cookies for matches

Before parsing

Parsing is about to begin.

DEBUG cookie-remover Set expiration date on cookieName

Each time a match is found

Contains the name of the removed cookie.