From dee2c5d1a8e59b4ba8cd85e0f4c4a8373031e928 Mon Sep 17 00:00:00 2001 From: Kevin Payravi Date: Wed, 5 Jun 2024 22:38:23 -0500 Subject: [PATCH] Update Qwant CSS selector Previous selector no longer works --- scripts/content-search-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/content-search-filtering.js b/scripts/content-search-filtering.js index 9313433..7d48a88 100644 --- a/scripts/content-search-filtering.js +++ b/scripts/content-search-filtering.js @@ -769,7 +769,7 @@ function startFiltering(searchEngine, storage, mutations = null, observer = null case 'qwant': // Function to filter search results in Qwant 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); }