Skip to content
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

How to disable "Restart FF after OS restart" banner on first start #1146

Open
htcfreek opened this issue Aug 16, 2024 · 6 comments
Open

How to disable "Restart FF after OS restart" banner on first start #1146

htcfreek opened this issue Aug 16, 2024 · 6 comments

Comments

@htcfreek
Copy link
Contributor

Ho can I disable the "Open Firefox after each OS restart. Now you can configure Firefox to open automatically on restarting your device." banner that appears after updating to the latest Firefox ESR (128.*) and on first startup of Fifrefox?

image

@mkaply
Copy link
Collaborator

mkaply commented Aug 19, 2024

browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt
for the prompt
browser.startup.windowsLaunchOnLogin.enabled
for the feature.

You can use the preference policy to set it:

https://mozilla.github.io/policy-templates/#preferences

@htcfreek
Copy link
Contributor Author

@mkaply
Thank you so much. I try this tomorrow.

@htcfreek
Copy link
Contributor Author

@mkaply
Only for clarification ...

browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt for the prompt

Setting this to true prevents the banner from opening.

browser.startup.windowsLaunchOnLogin.enabled for the feature.

Setting this to true does nothing. Setting this to false tells FF that this feature is not available/supported and hides it from the ui. And this entry does not affect the setting in preferences so I can not enable this feature by this preference?

@mkaply
Copy link
Collaborator

mkaply commented Aug 20, 2024

Do you want to enable the feature?

@htcfreek
Copy link
Contributor Author

Setting this to true does nothing. Setting this to false tells FF that this feature is not available/supported and hides it from the ui. And this entry does not affect the setting in preferences so I can not enable this feature by this preference?

No I don't like to enable it. But I saw that browser.startup.windowsLaunchOnLogin.enabled does not enable/disable (on/off) the feature. Instead it hides the feature from settings ui. So I imagine that there is a different preference for enabling/disabling (on/off) or it depends on something inside Windows Registry.

@mkaply
Copy link
Collaborator

mkaply commented Aug 20, 2024

Yeah, there is no pref to control the feature. It's done in the registry from what I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants