Skip to content

Support ABP/EL {remove: true;} as alias for :remove() #3451

@stephenhawk8054

Description

@stephenhawk8054

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

Currently ABP is supporting removing elements by {remove: true;}: https://gitlab.com/eyeo/adblockplus/abc/webext-ad-filtering-solution/-/releases/1.3.0

And looks like EL is starting to support that syntax as well: easylist/easylist@99c717fac

So I think we could add alias support for {remove: true;} then we can delegate some filters in uAssets to EL?

A specific URL where the issue occurs.

https://www.euronews.com/next/2024/11/12/europes-answer-to-google-ecosia-and-qwant-partner-to-build-new-search-index

Steps to Reproduce

  1. Check for the filter euronews.com###o-site-hr__leaderboard-wallpaper.u-show-for-xlarge {remove:true;} in EL
  2. The filter is marked as invalid

image

Expected behavior

{remove: true;} filters are supported

Actual behavior

{remove: true;} filters are not supported

uBO version

1.61.0

Browser name and version

Firefox 132.0.2

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