Skip to content

Imported filters fail if added before user scripts are allowed #751

Description

@Stevoisiak

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

If a user imports a filter list then enables "Allow User Scripts" afterwards, the imported filter list will not work.

A specific URL where the issue occurs.

www.google.com

Steps to Reproduce

  1. In Edge's extension settings, have "Allow User Scripts" disabled for uBO Lite.
  2. Add imported filter list https://raw.githubusercontent.com/Stevoisiak/Stevos-AI-Blocklist/refs/heads/main/GenAI-Blocklist.txt
  3. Enable "Allow User Scripts"
  4. Go to google.com

Issue can also be reproduced by toggling "Allow User Scripts" off and on again.

Expected behavior

Imported filter list hides AI items on the page.

Actual behavior

Imported filter list does not work, AI items are not hidden. Can be fixed by deleting and re-adding the custom filter.

Troubleshooting information

name: uBlock Origin Lite
version: 2026.812.1211
browser: Edge 150 (win)
filtering:
 default: optimal
permission: all
user rules: 61
rules: 21115
rulesets:
 +annoyances-cookies
 +annoyances-social
 +https://raw.githubusercontent.com/Stevoisiak/Stevos-AI-Blocklist/refs/heads/main/GenAI-Blocklist.txt
 easylist
 easyprivacy
 pgl
 ublock-badware
 ublock-filters
 urlhaus-full
scripting:
 ublock-filters.main
 ublock-filters.isolated
 easyprivacy.main
 easyprivacy.isolated
 ublock-badware.main
 ublock-badware.isolated
 annoyances-cookies.main
 annoyances-cookies.isolated
 annoyances-social.isolated
 prevent-popup
 css-specific

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions