Skip to content

Cookie-remover.js does not remove a cookie #1126

@peace2000

Description

@peace2000

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

Cookie-remover.js does not remove a specific cookie on www.mikrobitti.fi. The cookie is set for mikrobitti.fi, which probably is the reason behind this (I did read the documentation: https://github.com/gorhill/uBlock/wiki/Resources-Library#cookie-removerjs-) The problem is that I cannot make a rule to remove it even if I have a filter for both domains.

The name of the cookie is Bhb2CdOB3V.

Related conversation: https://www.reddit.com/r/uBlockOrigin/comments/hem8c5/cookieremoverjs_does_not_work/

A specific URL where the issue occurs

https://www.mikrobitti.fi/

Steps to Reproduce

  1. Set filters to remove a cookie called Bhb2CdOB3V
    mikrobitti.fi##+js(cookie-remover, Bhb2CdOB3V)
    www.mikrobitti.fi##+js(cookie-remover, Bhb2CdOB3V)

  2. Go to https://www.mikrobitti.fi/

  3. Check if that cookie is being removed or not.

Expected behavior:

Tha cookie would be removed.

Actual behavior:

The cookie wasn't removed.

Your environment

  • uBlock Origin version: v1.27.10
  • Browser Name and version: Firefox 77.0.1
  • Operating System and version: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions