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

GH-2283/Ad-blocker-off-by-default-in-Dawn #693

Closed
wants to merge 10 commits into from

Only deactivate Cliqz adblocker module on startup if extension has ju…

…st been installed
  • Loading branch information
wlycdgr committed Feb 23, 2021
commit c6cfdd6906feaed242c85a031775189770fe118a
@@ -24,7 +24,6 @@ CLIQZ.config.default_prefs = {
...CLIQZ.config.default_prefs,
// the following are enabled by default on non-android platforms
'modules.human-web.enabled': !IS_ANDROID,
'modules.adblocker.enabled': false, // GH-2283
'modules.hpnv2.enabled': !IS_ANDROID,
// the following are enabled for android only
'modules.human-web-lite.enabled': IS_ANDROID,
@@ -35,4 +34,12 @@ if (IS_ANDROID) {
CLIQZ.config.settings.HW_CHANNEL = 'android';
}

// GH-2283
if (globals.JUST_INSTALLED) {
CLIQZ.config.default_prefs = {
...CLIQZ.config.default_prefs,
'modules.adblocker.enabled': false,
};
}

export default new (CLIQZ.App)({ debug: globals.DEBUG });
ProTip! Use n and p to navigate between commits in a pull request.