Update Qwant CSS selector

Previous selector no longer works
safari
Kevin Payravi 2024-06-05 22:38:23 -05:00
parent 5995b28efa
commit dee2c5d1a8
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ function startFiltering(searchEngine, storage, mutations = null, observer = null
case 'qwant': case 'qwant':
// Function to filter search results in Qwant // Function to filter search results in Qwant
function filterQwant() { function filterQwant() {
let searchResults = Array.from(document.querySelectorAll('a[data-testid=serTitle]')).filter(el => el.href.includes('fandom.com') || el.href.includes('fextralife.com')); let searchResults = Array.from(document.querySelectorAll('a.external')).filter(el => el.href.includes('.fandom.com') || el.href.includes('.wiki.fextralife.com'));
filterSearchResults(searchResults, 'qwant', storage); filterSearchResults(searchResults, 'qwant', storage);
} }