-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uBlock does not load adminSettings at first run #1547
Comments
uBO reads admin config using the |
Hi, at first thank you for your reply. I've resettet the uBlock settings and added the addtitional filters again. Is there anything I can do to further troubleshoot the problem? My assumption is that uBlock does not check the parameter adminSettings on first setup. |
I will try to find the time to investigate all what I can reproduce (though on linux) tomorrow, I will report my findings. Whoever else is also welcome to do so and share gheir findings. |
I can reproduce this on linux (Debian Bullseye and Ubuntu Focal). If I put this on
First run doesn't load configuration, but second run does. If I add this option to the json file
Configuration is never loaded |
Related issue: - uBlockOrigin/uBlock-issues#1547 The approach used to fix the issue was confirmed working in the following related issue: - uBlockOrigin/uBlock-issues#1608 (comment)
@gorhill — bad news. I have user reports that, if Chromium reloads after crashing, It's possible—looking likely—that the crash happened on deploy. I notice |
Prerequisites
Description
when installing uBlock Origin by GPO into Chrome on Windows 10, the custom config of uBlock is not recognized at the first start. When the browser gets closed and started again the settings are there.
A specific URL where the issue occurs
www.google.com
Steps to Reproduce
Prerequesites:
I have two policies configured. One for automatically installing uBlock origin (it may be necessary to join the Windows 10 PC into a domain for using this) and the other one for giving uBlock a config:
In order to simulate a new install do the following:
1.) Goto %LocalAppData%\Google and delete the folder Chrome
2.) Start Chrome. The folder will be recreated and Chrome will reinstall the profile with the ublock origin but without the given config (e.g. my filter is empty)
3.) Close Chrome
3.1) Reboot the machine (optional)
4.) Start Chrome. Now the settings are there
Another way to reproduce is the following:
1.) Goto %LocalAppData%\Google and delete the folder Chrome
2.) Start Chrome. The folder will be recreated and Chrome will reinstall the profile with the ublock origin but without the given config (e.g. my filter is empty)
3.) Open the uBlock Config tab and click on "restore default settings"
Now the correct config gets loaded and applied.
Expected behavior:
I would expect the custom config (from the second registry key) to be active at the very first start of Google Chrome, when the Plugin gets automatically installed without any further interaction.
Actual behavior:
The config seems to be recongnized at the second start or when the default config gets manually loaded (alternative way). Maybe the Plugin checks if there is an adminConfig-Entry every time Chrome starts but not when it gets installed.
Your environment
The text was updated successfully, but these errors were encountered: