[mv3] Fix target URL when reporting from a strict-blocked page

Related feedback:
https://github.com/uBlockOrigin/uAssets/issues/29594#issuecomment-3176159770
This commit is contained in:
Raymond Hill 2025-08-11 18:17:26 -04:00
parent 28ea00fd11
commit 18f9acd844
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -233,7 +233,7 @@ dom.on('#gotoReport', 'click', ev => {
}
if ( url === undefined ) { return; }
const reportURL = new URL(runtime.getURL('/report.html'));
reportURL.searchParams.set('url', url.href);
reportURL.searchParams.set('url', tabURL.href);
reportURL.searchParams.set('mode', popupPanelData.level);
sendMessage({
what: 'gotoURL',