Skip to content

My rules have different sort order in firefox and chromium #3870

@shell-surfer

Description

@shell-surfer

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

My rules are sorted differently when the same rules are exported from firefox and imported into chromium or vice versa. All settings are default and the sort type is Rule type in both cases.

chromium sort is as follows

chatgpt.com * 3p-script noop
community.bitwarden.com * 3p-script noop
github.com * 3p-script noop
substack.com * 3p-script noop
www.amazon.in * 3p-script noop
www.instagram.com * 3p-script noop
www.reddit.com * 3p-script noop
www.youtube.com * 3p-script noop
x.com * 3p-script noop

firefox sort for the same rules

www.amazon.in * 3p-script noop
community.bitwarden.com * 3p-script noop
chatgpt.com * 3p-script noop
github.com * 3p-script noop
www.instagram.com * 3p-script noop
www.reddit.com * 3p-script noop
substack.com * 3p-script noop
x.com * 3p-script noop
www.youtube.com * 3p-script noop
Image

firefox rules

Image

chromium rules

A specific URL where the issue occurs.

ublock settings

Steps to Reproduce

  1. Add some rules to firefox my rules pane
  2. Export these rules
  3. Import them into chromium my rules

Expected behavior

Both my rules pane are expected to have the the same sort order for the same sort type.

Actual behavior

Both have different sort orders with firefox sorting always based on SLD and chromium on subdomains if available.

uBO version

uBlock Origin 1.67.0

Browser name and version

Firefox 145.0, Chromium 142.0.7444.162

Operating System and version

Windows 11 25H2 26200.7171

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