diff --git a/js/components/braveryPanel.js b/js/components/braveryPanel.js index 04484aa492c..2fae3d6dfa1 100644 --- a/js/components/braveryPanel.js +++ b/js/components/braveryPanel.js @@ -6,6 +6,7 @@ const React = require('react') const ipc = require('electron').ipcRenderer const Immutable = require('immutable') const ImmutableComponent = require('./immutableComponent') +const config = require('../constants/config') const Dialog = require('./dialog') const SwitchControl = require('./switchControl') const windowActions = require('../actions/windowActions') @@ -33,6 +34,7 @@ class BraveryPanel extends ImmutableComponent { this.onToggleFp = this.onToggleSiteSetting.bind(this, 'fingerprintingProtection') this.onReload = this.onReload.bind(this) this.onEditGlobal = this.onEditGlobal.bind(this) + this.onInfoClick = this.onInfoClick.bind(this) } get isBlockingTrackedContent () { return this.blockedByTrackingList && this.blockedByTrackingList.size > 0 @@ -130,6 +132,9 @@ class BraveryPanel extends ImmutableComponent { onEditGlobal () { ipc.emit(messages.SHORTCUT_NEW_FRAME, {}, 'about:preferences#privacy') } + onInfoClick () { + ipc.emit(messages.SHORTCUT_NEW_FRAME, {}, config.fingerprintingInfoUrl) + } onToggleSiteSetting (setting, e) { let ruleKey = siteUtil.getOrigin(this.props.activeRequestedLocation) const parsedUrl = urlParse(this.props.activeRequestedLocation) @@ -286,7 +291,7 @@ class BraveryPanel extends ImmutableComponent {