Improving CSS selector for Google search filtering

pull/379/head
Kevin Payravi 2023-12-03 02:33:10 -06:00
parent 0f5feed62d
commit 1d3e77e787
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ function filterSearchResults(searchResults, searchEngine, storage) {
let searchResultContainer = null;
switch (searchEngine) {
case 'google':
searchResultContainer = searchResult.closest('div[data-hveid]');
searchResultContainer = searchResult.closest('div[data-hveid].g') || searchResult.closest('div[data-hveid]');
break;
case 'bing':
searchResultContainer = searchResult.closest('li.b_algo');