diff --git a/src/js/scriptlets/epicker.js b/src/js/scriptlets/epicker.js index 4f4390613..138c93217 100644 --- a/src/js/scriptlets/epicker.js +++ b/src/js/scriptlets/epicker.js @@ -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,