Skip to content

Website reloads multiple times when using trusted-set-cookie-reload scriptlet #3993

@BubblyBash

Description

@BubblyBash

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

When using this filter
arena.ai##+js(trusted-set-cookie, cookie-preferences, {"functionality":true\,"advertising":false\,"analytics":false\,"socialMedia":false\,"lastUpdated":"2026-04-29T00:00:00.001Z"})
to circumvent the annoying cookie banner on arena.ai, uBO reloads the page multiple times.
This filter used to to work just fine in the past (with uBO v1.69).
Let me know what I am doing wrong here.

A specific URL where the issue occurs.

https://arena.ai

Steps to Reproduce

  1. Add the following filter to uBO:
    arena.ai##+js(trusted-set-cookie, cookie-preferences, {"functionality":true\,"advertising":false\,"analytics":false\,"socialMedia":false\,"lastUpdated":"2026-04-29T00:00:00.001Z"})
  2. Open arena.ai
  3. Website reloads many times

Expected behavior

Website should reload just once

Troubleshooting information

uBlock Origin: 1.70.0
Firefox: 150
filterset (summary):
 network: 364971
 cosmetic: 217470
 scriptlet: 51819
 html: 3346
listset (total-discarded, last-updated):
 added:
  https://easylist-downloads.adblockplus.org/antiadblockfilters.txt: 2142-6, 3h.57m
  https://secure.fanboy.co.nz/fanboy-agegate.txt: 565-3, 6d.21h.1m
  ublock-experimental: 18-0, 1h.57m Δ
  adguard-spyware-url: 2483-134, 6d.21h.1m
  curben-phishing: 161734-47, 4h.57m
  adguard-cookies: 37927-84, 1d.4h.34m
  ublock-cookies-adguard: 5637-81, 6d.21h.1m
  fanboy-cookiemonster: 57253-14687, 6d.21h.1m
  ublock-cookies-easylist: 5637-5637, 6d.21h.1m
  adguard-social: 26112-42, 1d.4h.34m
  fanboy-social: 17486-848, 6d.21h.1m
  fanboy-thirdparty_social: 69-18, 6d.21h.1m
  [10 lists not shown]: [too many]
 default:
  user-filters: 82-0, never
  ublock-filters: 51626-87, 1h.57m Δ
  ublock-badware: 11000-34, 1h.57m Δ
  ublock-privacy: 4004-2, 1h.57m Δ
  ublock-unbreak: 2817-1, 1h.57m Δ
  ublock-quick-fixes: 457-13, 1h.57m Δ
  easylist: 95456-153, 1h.57m Δ
  easyprivacy: 55776-32, 1h.57m Δ
  urlhaus-1: 29740-6, 4h.57m
  plowe-0: 3504-1377, 3d.12h.53m
filterset (user): [array of 81 redacted]
trustedset:
 added: [array of 1 redacted]
userSettings:
 advancedUserEnabled: true
 showIconBadge: false
 userFiltersTrusted: true
hiddenSettings: [none]
supportStats:
 allReadyAfter: 2543 ms
 maxAssetCacheWait: 1556 ms
 cacheBackend: indexedDB

I ❤️ uBO

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