You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Whenever you change any of the per-site-switches other than the no-popups one, disable/enable uBo via the power button, or click to block/noop something in the dynamic filtering from the popup, uBo asks to reload the page (this makes sense).
However, if I do that on a local file (file:///), and let uBo reload it, I end up at http://file-scheme/.
Calling the browser's tabs.reload function does not cause this problem, so I assume this is uBo-specific.
Looking into uBo's code, it seems the problem is with uBo setting popupData.pageURL to http://file-scheme/, as that is what is sent in the reloadTab message from the popup:
A specific URL where the issue occurs.
N/A, as it is a local file
Steps to Reproduce
Create a HTML file and open it in the browser with uBo OR go to any file:/// URL (i.e. file:///C:/ on Windows, maybe file:///bin on GNU/Linux)
Change any of the per-site-switches which require a reload
Let uBo reload the page
Notice that end up on http://file-scheme/
Expected behavior
The page is reloaded
Actual behavior
The user is redirected to http://file-scheme/
The reload button in the logger seems unaffected.
uBO version
uBlock Origin 1.51.0 (but can reproduce on the latest beta)
Browser name and version
Mozilla Firefox 116.0.2 (64-bit)
Operating System and version
Windows 10 Home 22H2
The text was updated successfully, but these errors were encountered:
Prerequisites
I tried to reproduce the issue when...
Description
Whenever you change any of the per-site-switches other than the no-popups one, disable/enable uBo via the power button, or click to block/noop something in the dynamic filtering from the popup, uBo asks to reload the page (this makes sense).
However, if I do that on a local file (file:///), and let uBo reload it, I end up at
http://file-scheme/
.Calling the browser's tabs.reload function does not cause this problem, so I assume this is uBo-specific.
Looking into uBo's code, it seems the problem is with uBo setting
popupData.pageURL
tohttp://file-scheme/
, as that is what is sent in thereloadTab
message from the popup:A specific URL where the issue occurs.
N/A, as it is a local file
Steps to Reproduce
file:///C:/
on Windows, maybefile:///bin
on GNU/Linux)http://file-scheme/
Expected behavior
The page is reloaded
Actual behavior
The user is redirected to
http://file-scheme/
The reload button in the logger seems unaffected.
uBO version
uBlock Origin 1.51.0 (but can reproduce on the latest beta)
Browser name and version
Mozilla Firefox 116.0.2 (64-bit)
Operating System and version
Windows 10 Home 22H2
The text was updated successfully, but these errors were encountered: