Adjust Google filter CSS selector

pull/227/head
Kevin Payravi 2023-07-24 09:49:06 -05:00
parent 70cdfdd0ff
commit f93121fa83
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ function filterSearchResults(searchResults, searchEngine, storage) {
let fontSize = '';
switch (searchEngine) {
case 'google':
if (searchResult.closest('div[data-hveid] > div')) {
cssQuery = 'div[data-hveid] > div';
if (searchResult.closest('div[data-hveid]')) {
cssQuery = 'div[data-hveid]';
fontSize = '14px';
}
break;