Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Add a button which leads to the adblock settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bbondy committed Oct 4, 2016
1 parent f5103de commit 1dd8a6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/extensions/brave/locales/en-US/preferences.properties
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ tabSettings=Tab Settings
clearBrowsingDataNow=Clear Browsing Data Now…
autofillSettings=Autofill Settings
manageAutofillData=Manage Autofill Data…
manageAdblockSettings=Manager Adblock Settings…
enableAutofill=Enable Autofill
importBrowserData=Import Browser Data
importNow=Import now…
Expand Down
4 changes: 4 additions & 0 deletions js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,10 @@ class ShieldsTab extends ImmutableComponent {
<SettingCheckbox checked={this.props.braveryDefaults.get('noScript')} dataL10nId='noScript' onChange={this.onToggleNoScript} />
<SettingCheckbox dataL10nId='blockCanvasFingerprinting' prefKey={settings.BLOCK_CANVAS_FINGERPRINTING} settings={this.props.settings} onChangeSetting={this.props.onChangeSetting} />
</SettingsList>
<Button l10nId='manageAdblockSettings' className='primaryButton manageAdblockSettings'
onClick={aboutActions.newFrame.bind(null, {
location: 'about:adblock'
}, true)} />
<SitePermissionsPage siteSettings={this.props.siteSettings}
names={braveryPermissionNames}
defaults={this.props.braveryDefaults.merge({
Expand Down

0 comments on commit 1dd8a6d

Please sign in to comment.