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
{{ message }}
Repository navigation
"Restore from file..." may not work in Firefox for Android #2378
moz-extension://[different add-on ID per device]/dashboard.html#settings.html
Steps to Reproduce
1.Open Settings.
2.Press "Restore from file..." button.
3.Select backup of ublock settings.
Expected behavior
A pop-up dialog will appear asking if you want to restore the settings.
Actual behavior
No pop-up dialog appears and settings are not restored.
However, if you then select "Reset to default settings..." afterwards, it will behave as if the dialog has already appeared multiple times (check box to prevent the dialog from appearing again).
If I try restoring from Firefox home page, by launching uBO settings from add-on manager, then after applying the backup, Firefox will close the only tab leaving the browser with graphical glitch.
[...]
If I try restoring by first opening any page (like example.com), then accessing uBO UI from the browser menu, all is working completely fine.
That seems consistent with my experience with the issue. I'll try restoring the backup from somewhere other than the homepage
It seems that there is a bug in Firefox for Android that causes Window.confirm() and window.alert() to fail to execute after selecting a file, since the error message by window.alert() when selecting the wrong file also does not seem to execute.
Is it preferable to wait for Firefox to fix it or change the implementation on the uBlock side?
I would propose "recover from plain text" where users could paste the content of the file in an input field. I am encountering some issue on file chooser on Onyx Boox Go 7. It is hard to track the real issue (file chooser works in other Apps, such as Syncthing). Pasting to an input field does not require any specific permission or file chooser.
Activity
Rudxain commentedon Nov 10, 2023
@gwarser Why is this "closed as completed"? (rather than "not planned")
Rudxain commentedon Nov 10, 2023
related issue
Rudxain commentedon Nov 10, 2023
That seems consistent with my experience with the issue. I'll try restoring the backup from somewhere other than the homepage
Rudxain commentedon Nov 10, 2023
I tested, but the same behavior happens, regardless of homepage or site. The UI hangs, and there's no confirmation pop-up (usually)
tesmite commentedon Apr 26, 2024
It seems that there is a bug in Firefox for Android that causes Window.confirm() and window.alert() to fail to execute after selecting a file, since the error message by window.alert() when selecting the wrong file also does not seem to execute.
Is it preferable to wait for Firefox to fix it or change the implementation on the uBlock side?
garry-ut99 commentedon Sep 23, 2024
IRainman commentedon Sep 29, 2024
For me, this problem appears because before I disabled default file manager in Android.
Iey4iej3 commentedon Sep 26, 2025
I would propose "recover from plain text" where users could paste the content of the file in an input field. I am encountering some issue on file chooser on Onyx Boox Go 7. It is hard to track the real issue (file chooser works in other Apps, such as Syncthing). Pasting to an input field does not require any specific permission or file chooser.
BlazeFTL commentedon Oct 19, 2026
restore from file doesnt work in my pc firefox stable
uBlock Origin 1.75.0
backup taken from my phone but restoring in doesnt work
my-ublock-backup_2026-10-19_16.35.27.txt
gorhill commentedon Oct 19, 2026
I imported your backup file on my side and all seemed to have work fine:
config
What exactly doesn't work? What are the symptoms?
BlazeFTL commentedon Oct 19, 2026
Somehow fixed in PC.. tested again now (when it was not working I did try multiple fresh ublock installs)
Details
screen-20261020-001419.mp4
my-ublock-backup_2026-10-19_19.29.01.txt
(Removed my define fork lines still doesn't work)
But in my phone Firefox stable it's not fixed
BlazeFTL commentedon Oct 21, 2026
this is firefox problem as in github i tried choosing a file for upload..its doesn't show that file as selected
gorhill commentedon Oct 21, 2026
I believe this was brought before somewhere re. Firefox for Android.
BlazeFTL commentedon Oct 26, 2026
Details
screen-20261026-171626.mp4
my-ublock-backup_2026-10-26_15.30.38.txt