1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

On re-consideration, remove popupPanelGodMode

`filterAuthorMode` is sufficient to enable the
ability to create _allow_ rules from popup panel.
This commit is contained in:
Raymond Hill 2020-05-25 07:08:02 -04:00
parent 903616f9a8
commit cd1fef2d5c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,6 @@ const µBlock = (( ) => { // jshint ignore:line
popupFontSize: 'unset', popupFontSize: 'unset',
popupPanelDisabledSections: 0, popupPanelDisabledSections: 0,
popupPanelLockedSections: 0, popupPanelLockedSections: 0,
popupPanelGodMode: false,
popupPanelHeightMode: 0, popupPanelHeightMode: 0,
requestJournalProcessPeriod: 1000, requestJournalProcessPeriod: 1000,
selfieAfter: 3, selfieAfter: 3,

View File

@ -280,7 +280,7 @@ const popupDataFromTabId = function(tabId, tabTitle) {
globalAllowedRequestCount: µb.localSettings.allowedRequestCount, globalAllowedRequestCount: µb.localSettings.allowedRequestCount,
globalBlockedRequestCount: µb.localSettings.blockedRequestCount, globalBlockedRequestCount: µb.localSettings.blockedRequestCount,
fontSize: µbhs.popupFontSize, fontSize: µbhs.popupFontSize,
godMode: µbhs.filterAuthorMode || µbhs.popupPanelGodMode, godMode: µbhs.filterAuthorMode,
netFilteringSwitch: false, netFilteringSwitch: false,
rawURL: tabContext.rawURL, rawURL: tabContext.rawURL,
pageURL: tabContext.normalURL, pageURL: tabContext.normalURL,