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-1831 Disable Rewards by default on Firefox #437

Merged
merged 4 commits into from Aug 22, 2019
Merged
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -104,7 +104,7 @@ class SetupViewContainer extends Component {
this.props.actions.setAntiTracking({ enable_anti_tracking: true });
this.props.actions.setAdBlock({ enable_ad_block: true });
this.props.actions.setSmartBlocking({ enable_smart_block: true });
this.props.actions.setGhosteryRewards({ enable_ghostery_rewards: true });
this.props.actions.setGhosteryRewards({ enable_ghostery_rewards: !IS_FIREFOX });
This conversation was marked as resolved by wlycdgr

This comment has been minimized.

@Eden12345

Eden12345 Aug 20, 2019
Contributor

This isn't your code at all, so I will approve this PR, but I want to take this opportunity to express my sadness about calling this action via _setDefaultSettings() in the constructor() of this component.

This comment has been minimized.

@wlycdgr

wlycdgr Aug 21, 2019
Author Member

I want to take this opportunity to express that I share your sadness.

this.props.actions.setHumanWeb({ enable_human_web: !IS_FIREFOX });
}

@@ -1759,7 +1759,7 @@ function initializeGhosteryModules() {
conf.enable_ad_block = !adblocker.isDisabled;
conf.enable_anti_tracking = !antitracking.isDisabled;
conf.enable_human_web = !humanweb.isDisabled && !(IS_FIREFOX && globals.JUST_INSTALLED);
conf.enable_offers = !offers.isDisabled;
conf.enable_offers = !offers.isDisabled && !(IS_FIREFOX && globals.JUST_INSTALLED);
}
}
});
@@ -107,7 +107,7 @@ class ConfData {
_initProperty('enable_click2play_social', true);
_initProperty('enable_human_web', !IS_CLIQZ && !IS_FIREFOX);
_initProperty('enable_metrics', false);
_initProperty('enable_offers', !IS_CLIQZ);
_initProperty('enable_offers', !IS_CLIQZ && !IS_FIREFOX);
_initProperty('enable_smart_block', true);
_initProperty('expand_all_trackers', true);
_initProperty('hide_alert_trusted', false);
ProTip! Use n and p to navigate between commits in a pull request.