From cd1fef2d5ce5deb38f8543848db82d79df2cc12e Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 25 May 2020 07:08:02 -0400 Subject: [PATCH] On re-consideration, remove `popupPanelGodMode` `filterAuthorMode` is sufficient to enable the ability to create _allow_ rules from popup panel. --- src/js/background.js | 1 - src/js/messaging.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/background.js b/src/js/background.js index 4905fccfe..d81ba18fa 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -68,7 +68,6 @@ const µBlock = (( ) => { // jshint ignore:line popupFontSize: 'unset', popupPanelDisabledSections: 0, popupPanelLockedSections: 0, - popupPanelGodMode: false, popupPanelHeightMode: 0, requestJournalProcessPeriod: 1000, selfieAfter: 3, diff --git a/src/js/messaging.js b/src/js/messaging.js index c3a7c94cd..56dceea6e 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -280,7 +280,7 @@ const popupDataFromTabId = function(tabId, tabTitle) { globalAllowedRequestCount: µb.localSettings.allowedRequestCount, globalBlockedRequestCount: µb.localSettings.blockedRequestCount, fontSize: µbhs.popupFontSize, - godMode: µbhs.filterAuthorMode || µbhs.popupPanelGodMode, + godMode: µbhs.filterAuthorMode, netFilteringSwitch: false, rawURL: tabContext.rawURL, pageURL: tabContext.normalURL,