Check for removal of new link
Qwant can sometimes remove the new link button but leave the ancestor iwb-detected class intact.toggle-search-engines
parent
c3e7339019
commit
de130b1a79
|
@ -584,7 +584,7 @@ async function filterSearchResults(searchResults, searchEngine, storage, reorder
|
|||
for (const searchResult of searchResults) {
|
||||
try {
|
||||
// Check that result isn't within another result
|
||||
if (!searchResult.closest('.iwb-detected')) {
|
||||
if (!searchResult.closest('.iwb-detected') || !searchResult.closest('.iwb-detected')?.querySelector('.iwb-new-link')) {
|
||||
searchResultLink = searchResult.href || '';
|
||||
|
||||
if (!searchResultLink) {
|
||||
|
|
Loading…
Reference in New Issue