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

Cliqz Browser: Do not load human-web and offers #35

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

GH-934: When Ghostery is installed in the Cliqz Browser,
do not load the human-web and offers modules.
  • Loading branch information
philipp-classen committed Apr 12, 2018
commit b855a16b8a65fabd43bf28357d95fc50e09a4c6c
@@ -1324,14 +1324,14 @@ function initializeGhosteryModules() {
conf.enable_anti_tracking = false;
setCliqzModuleEnabled(antitracking, conf.enable_anti_tracking);
setCliqzModuleEnabled(adblocker, conf.enable_ad_block);
setCliqzModuleEnabled(humanweb, IS_EDGE ? false : conf.enable_human_web);
setCliqzModuleEnabled(humanweb, (IS_EDGE || IS_CLIQZ) ? false : conf.enable_human_web);
} else {
conf.enable_ad_block = !adblocker.isDisabled;
conf.enable_anti_tracking = !antitracking.isDisabled;
conf.enable_human_web = IS_EDGE ? false : !humanweb.isDisabled;
conf.enable_human_web = (IS_EDGE || IS_CLIQZ) ? false : !humanweb.isDisabled;
}
// sync conf from module status
conf.enable_offers = IS_EDGE ? false : !offers.isDisabled;
conf.enable_offers = (IS_EDGE || IS_CLIQZ) ? false : !offers.isDisabled;
})).catch((e) => {
log('cliqzStartup error', e);
});
ProTip! Use n and p to navigate between commits in a pull request.