diff --git a/manifest-chromium.json b/manifest-chromium.json index ea062f3..9cb1279 100644 --- a/manifest-chromium.json +++ b/manifest-chromium.json @@ -63,6 +63,24 @@ "https://*.ecosia.org/*", "https://*.qwant.com/*", "https://*.yandex.com/*", + "https://*.yandex.ru/*", + "https://*.yandex.by/*", + "https://*.yandex.kz/*", + "https://*.yandex.uz/*", + "https://*.yandex.com.tr/*", + "https://*.yandex.fr/*", + "https://*.yandex.az/*", + "https://*.yandex.com.ge/*", + "https://*.yandex.com.am/*", + "https://*.yandex.co.il/*", + "https://*.yandex.lv/*", + "https://*.yandex.lt/*", + "https://*.yandex.ee/*", + "https://*.yandex.md/*", + "https://*.yandex.tm/*", + "https://*.yandex.tj/*", + "https://*.yandex.eu/*", + "https://*.ya.ru/*", "https://*.startpage.com/*", "https://*.search.yahoo.com/*", "https://www.google.com/search*", diff --git a/manifest-firefox.json b/manifest-firefox.json index 9797cf8..2bcc422 100644 --- a/manifest-firefox.json +++ b/manifest-firefox.json @@ -120,6 +120,24 @@ "https://*.ecosia.org/*", "https://*.qwant.com/*", "https://*.yandex.com/*", + "https://*.yandex.ru/*", + "https://*.yandex.by/*", + "https://*.yandex.kz/*", + "https://*.yandex.uz/*", + "https://*.yandex.com.tr/*", + "https://*.yandex.fr/*", + "https://*.yandex.az/*", + "https://*.yandex.com.ge/*", + "https://*.yandex.com.am/*", + "https://*.yandex.co.il/*", + "https://*.yandex.lv/*", + "https://*.yandex.lt/*", + "https://*.yandex.ee/*", + "https://*.yandex.md/*", + "https://*.yandex.tm/*", + "https://*.yandex.tj/*", + "https://*.yandex.eu/*", + "https://*.ya.ru/*", "https://*.startpage.com/*", "https://*.search.yahoo.com/*", "https://www.google.com/search*", diff --git a/scripts/content-search-filtering.js b/scripts/content-search-filtering.js index 360d32c..35e708d 100644 --- a/scripts/content-search-filtering.js +++ b/scripts/content-search-filtering.js @@ -673,7 +673,7 @@ function main(mutations = null, observer = null) { } }, { once: true }); } - } else if (currentURL.hostname.includes('yandex.com')) { + } else if (currentURL.hostname.includes('yandex.') || currentURL.hostname.includes('ya.ru')) { // Function to filter search results in Yandex function filterYandex() { let searchResults = Array.from(document.querySelectorAll('.serp-item a.link, .serp-item a.Link')).filter(el =>