diff --git a/helpers/make-firefox b/helpers/make-firefox index bee3087..78aa8ce 100644 --- a/helpers/make-firefox +++ b/helpers/make-firefox @@ -55,6 +55,18 @@ sed '/"browser.privatebrowsing.vpnpromourl"/s/https.*"/"/' -i browser/app/profil sed '/network.connectivity-service.IPv/s/http.*success.txt?ipv[46]//' -i modules/libpref/init/all.js sed 's/accounts-static.cdn.mozilla.net.*sync.services.mozilla.com//' -i modules/libpref/init/all.js +# Disable 106 firefox-view and other firefox-branded popups +sed -i '/browser.urlbar.quicksuggest.shouldShowOnboardingDialog/s|true|false|' browser/app/profile/firefox.js +sed -i '/services.sync.prefs.sync.browser.firefox-view.feature-tour/s|true|false|' browser/app/profile/firefox.js +##disable firefox-view +sed -i '/"browser.tabs.firefox-view"/s|true|false|' browser/app/profile/firefox.js +##disable ui tour +sed -i '/browser.uitour.enabled/s|true|false|' browser/app/profile/firefox.js +##disable colorways closet +sed -i '/browser.theme.colorway-closet/s|true|false|' browser/app/profile/firefox.js +##disable newtab intro - check adjustment for versions greater than 106 +grep -rl browser.newtabpage.introShown |xargs sed -i '/browser.newtabpage.introShown/s|true|false|' || true + # Replace ubufox recommendation sed 's/xul-ext-ubufox/xul-ext-youtube-html5-video-player/' -i debian/control.in