Skip to content

Using an alias for custom scriptlet in my Filters pane is seen as invalid #1419

@uBlock-user

Description

@uBlock-user

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
    • 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
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

As above.

A specific URL where the issue occurs

myFilters pane

Steps to Reproduce

  • Set userResourcesLocation to https://raw.githubusercontent.com/uBlock-user/uBO-Scriptlets/master/scriptlets.js

  • Navigate to my Filters and type/add, example.com##+js(noaif)

  • uBO sees the alias as invalid --
    Capture

Expected behavior:

Alias shouldn't be seen as invalid.

Actual behavior:

Alias is seen as invalid

Your environment

  • uBlock Origin version: 1.32.3b1/1.32.0
  • Browser Name and version: Firefox 84/86
  • Operating System and version: Win X

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions