mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Chase the fox out of the shell service.
"Welcome to branding hell, boys!" Part 2 for #271.
This commit is contained in:
parent
10c9be356b
commit
6d7a58e4d2
3 changed files with 4 additions and 4 deletions
|
|
@ -62,10 +62,10 @@ let ShellServiceInternal = {
|
|||
|
||||
if (AppConstants.platform == "win") {
|
||||
let optOutValue = WindowsRegistry.readRegKey(Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER,
|
||||
"Software\\Mozilla\\Firefox",
|
||||
"Software\\Mozilla\\Basilisk",
|
||||
"DefaultBrowserOptOut");
|
||||
WindowsRegistry.removeRegKey(Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER,
|
||||
"Software\\Mozilla\\Firefox",
|
||||
"Software\\Mozilla\\Basilisk",
|
||||
"DefaultBrowserOptOut");
|
||||
if (optOutValue == "True") {
|
||||
Services.prefs.setBoolPref("browser.shell.checkDefaultBrowser", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue