Page MenuHomePhabricator

Special:HideBanners request from Thank You page shows warnings in console
Open, Needs TriagePublic

Description

Load a TY page, e.g. https://thankyou.wikipedia.org/wiki/Thank_You/en in Firefox 140 (or later, probably)

Open the browser tools and check the network for a request to https://en.wikipedia.org/w/index.php?title=Special:HideBanners&category=fundraising&reason=donate

It should load and set a banner hide cookie with reason=donate. Instead it is shown in red and a warning appears in the console: A resource is blocked by OpaqueResponseBlocking, please check browser console for details.

This is what I can find about OpaqueResponseBlocking:
https://github.com/annevk/orb

We may just need to set access-control-allow-origin: * on Special:HideBanners

Event Timeline

Looks like we might need to set access-control-allow-origin * headers on the hidebanners img?

Hmm, perhaps it is still setting the cookie though?

Ejegg renamed this task from Special:HideBanners request from ty page is blocked in FF by OpaqueResponseBlocking to Special:HideBanners request from Thank You page shows warnings in console.Dec 8 2025, 5:04 PM

Change #1223687 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/CentralNotice@master] Emit cross-domain headers in Special:HideBanners

https://gerrit.wikimedia.org/r/1223687

Change #1223687 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] Emit cross-domain headers in Special:HideBanners

https://gerrit.wikimedia.org/r/1223687

Just merged this to wmf_deploy so it should go out on next week's train