cookie-remover
The
cookie-remover
removes certain cookies. You can parse document.cookie
to set the expiration dates in the past for cookies that match targeted patterns. Name | Description | Mandatory |
---|---|---|
cookie | A pattern that matches the name of the cookie(s) you want to remove. If the string starts and ends with a slash ( / ), the text in between is treated as a regular expression. | Yes |
The following table lists examples that use the
abort-on-iframe-property-write
snippet:Filter | Result |
---|---|
cookie-remover adb | Removes any cookie that matches adb . |
The following table contains messages you'll find useful during debugging:
Message | When the message occurs | Definition |
---|---|---|
DEBUG cookie-remover Parsing cookies for matches | Before parsing begins | The first message displayed, indicating that parsing is about to begin |
DEBUG cookie-remover Set expiration date on cookieName | Each time a match is found | This message contains the name of the cookie you just removed. |
Last modified 1mo ago