mirror of https://github.com/gorhill/uBlock.git
Prevent context menu entries on non-HTTP documents
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1093#issuecomment-1423342620
This commit is contained in:
parent
1fcd0ce7eb
commit
8f2e7ae202
|
@ -137,16 +137,19 @@ const menuEntries = {
|
|||
id: 'uBlock0-blockElement',
|
||||
title: i18n$('pickerContextMenuEntry'),
|
||||
contexts: [ 'all' ],
|
||||
documentUrlPatterns: [ 'http://*/*', 'https://*/*' ],
|
||||
},
|
||||
blockElementInFrame: {
|
||||
id: 'uBlock0-blockElementInFrame',
|
||||
title: i18n$('contextMenuBlockElementInFrame'),
|
||||
contexts: [ 'frame' ],
|
||||
documentUrlPatterns: [ 'http://*/*', 'https://*/*' ],
|
||||
},
|
||||
blockResource: {
|
||||
id: 'uBlock0-blockResource',
|
||||
title: i18n$('pickerContextMenuEntry'),
|
||||
contexts: [ 'audio', 'frame', 'image', 'video' ],
|
||||
documentUrlPatterns: [ 'http://*/*', 'https://*/*' ],
|
||||
},
|
||||
subscribeToList: {
|
||||
id: 'uBlock0-subscribeToList',
|
||||
|
@ -158,6 +161,7 @@ const menuEntries = {
|
|||
id: 'uBlock0-temporarilyAllowLargeMediaElements',
|
||||
title: i18n$('contextMenuTemporarilyAllowLargeMediaElements'),
|
||||
contexts: [ 'all' ],
|
||||
documentUrlPatterns: [ 'http://*/*', 'https://*/*' ],
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue