mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 00:56:32 +13:00
Preferences button for Safari
Brings back the possibility to click a checkbox which opens the extension settings from Safari's Preferences/Extensions.
This commit is contained in:
parent
1a38523875
commit
08247fb5dd
1 changed files with 5 additions and 5 deletions
|
@ -56,10 +56,10 @@ if (self.chrome) {
|
|||
vAPI.chrome = true;
|
||||
vAPI.messaging = {
|
||||
port: null,
|
||||
channels: {},
|
||||
listeners: {},
|
||||
requestId: 0,
|
||||
connectorId: uniqueId(),
|
||||
listeners: {},
|
||||
channels: {},
|
||||
connector: messagingConnector,
|
||||
setup: function() {
|
||||
this.port = chrome.runtime.connect({name: this.connectorId});
|
||||
|
@ -111,10 +111,10 @@ if (self.chrome) {
|
|||
// relevant?
|
||||
// https://developer.apple.com/library/safari/documentation/Tools/Conceptual/SafariExtensionGuide/MessagesandProxies/MessagesandProxies.html#//apple_ref/doc/uid/TP40009977-CH14-SW12
|
||||
vAPI.messaging = {
|
||||
connectorId: uniqueId(),
|
||||
requestId: 0,
|
||||
listeners: {},
|
||||
channels: {},
|
||||
listeners: {},
|
||||
requestId: 0,
|
||||
connectorId: uniqueId(),
|
||||
connector: messagingConnector,
|
||||
setup: function() {
|
||||
this._connector = function(msg) {
|
||||
|
|
Loading…
Reference in a new issue