Skip to content

:has-text() cosmetic filters stopped working after 2026.504.1635 update on Safari #673

@erickyun

Description

@erickyun

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality by using the chat icon in the popup panel.
  • 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 Lite in the browser.

I tried to reproduce the issue when...

  • uBO Lite is the only extension.
  • using a new, unmodified browser profile.

Description

After updating uBlock Origin Lite for Safari to version 2026.504.1635, all cosmetic filters using :has-text() stopped working.

This does not seem to be limited to X/Twitter. I tested multiple websites, and it looks like no :has-text() filter works anymore on any site.

Basic cosmetic filters still work, but procedural cosmetic filters using :has-text() do not apply.

Example filter
x.com##article:has-text(/english dub/i)

This used to hide matching posts/tweets, but after the latest update it no longer works.

and filters on other websites, but the result is the same.

What still works

Basic cosmetic filters

I also noticed that some regular ID-based cosmetic filters do not work on X.com either.

Example element selector:
x.com###id__t1suwd8y2hs

it does not hide the matching element.

A specific URL where the issue occurs.

https://x.com/animeupdates

https://old.reddit.com/r/Piracy/

Steps to Reproduce

  1. Install/update uBlock Origin Lite for Safari to version 2026.504.1635
  2. Add this custom filter: x.com##article:has-text(/english dub/i)
  3. Open https://x.com
  4. Find a post containing “english dub”
  5. The post is not hidden

Expected behavior

Posts/articles containing the matching text should be hidden.

Actual behavior

The filter does nothing. The matching post remains visible.

Troubleshooting information

name: uBlock Origin Lite
version: 2026.504.1635
browser: Safari Mobile 26.4 (ios)
filtering:
 site: complete
 default: complete
permission: all
badge: 3
rules: 130752
rulesets:
 +annoyances-ai
 +annoyances-cookies
 +annoyances-notifications
 +annoyances-others
 +annoyances-overlays
 +annoyances-social
 +annoyances-widgets
 +ublock-experimental
 +ubol-tests
 adguard-mobile
 easylist
 easyprivacy
 tur-0
 ublock-filters
scripting:
 ubol-tests.main
 toolbar-icon
 css-user
 tur-0.main
 ublock-experimental.main
 prevent-popup
 adguard-mobile.main
 adguard-mobile.isolated
 css-generic-some
 annoyances-social.isolated
 tur-0.isolated
 ublock-filters.isolated
 annoyances-cookies.main
 css-generic-all
 annoyances-notifications.main
 annoyances-cookies.isolated
 easyprivacy.main
 annoyances-overlays.main
 annoyances-others.main
 easyprivacy.isolated
 annoyances-others.isolated
 annoyances-overlays.isolated
 ublock-experimental.isolated
 css-specific
 ublock-filters.main
 annoyances-notifications.isolated
 css-procedural

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions