mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Do not select background images as best candidate in picker
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/s2lrm0/picker_cant_select_and_block_this/
This commit is contained in:
parent
2b65f25dfd
commit
ebaa8a8bb2
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ const netFilterFromElement = function(elem) {
|
|||
const pattern = mergeStrings(urls);
|
||||
|
||||
|
||||
if ( bestCandidateFilter === null ) {
|
||||
if ( bestCandidateFilter === null && elem.matches('html,body') === false ) {
|
||||
bestCandidateFilter = {
|
||||
type: 'net',
|
||||
filters: candidates,
|
||||
|
|
Loading…
Reference in a new issue