Skip to content

uBO does not unhide nodes no longer matching procedural cosmetic filters #341

@krystian3w

Description

@krystian3w

Prerequisites

  • I checked the documentation to understand that the issue I report is not a normal behavior
  • 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
    • Your issue may already be reported.
  • 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

Description

e.g.

##.nytc---modal-window---isShown:if-not(.nytc---largepicturemodal---contentBody > .nytc---x---x.nytc---largepicturemodal---xBtn[role="button"])

filter cut to much in uBO on cooking.nytimes.com.

A specific URL where the issue occurs

https://cooking.nytimes.com/recipes/1018016-pot-roast
https://cooking.nytimes.com/recipes/1650-italian-pot-roast-stracotto

uBlockOrigin/uAssets#3708
AdguardTeam/AdguardFilters#24339

cooking.nytimes.com#$#html.nytc---modal-window---noScroll { overflow: visible!important; }
cooking.nytimes.com#$#body.nytc---modal-window---noScroll { overflow: visible!important; }
cooking.nytimes.com##.nytc---modal-window---isShown:not(:has(.nytc---largepicturemodal---contentBody > .nytc---x---x.nytc---largepicturemodal---xBtn[role="button"]))

uBO rewrite last filter:

cooking.nytimes.com##.nytc---modal-window---isShown:if-not(.nytc---largepicturemodal---contentBody > .nytc---x---x.nytc---largepicturemodal---xBtn[role="button"])

Steps to Reproduce

  1. Open website
  2. block pop-up with AdGuard rewrite filter
  3. button (link) login no works - no open Window login with ":x:" button.

Expected behavior:

filter works same as in AdGuard with :if-not() construction on uBO.

Actual behavior:

filter no works same as in AdGuard with :if-not() construction on uBO.

Your environment

  • uBlock Origin version: uBO 1.17.4
  • Browser Name and version: Firefox 64 x64
  • Operating System and version: Windows 7 Pro x64

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