From 5f69bfe5e7c4fea447378730d711897ec7d6b4ba Mon Sep 17 00:00:00 2001 From: Alex-302 Date: Wed, 21 May 2025 19:34:32 +0300 Subject: [PATCH] Fix mail.yandex.com https://github.com/AdguardTeam/AdGuardForSafari/issues/1072 --- AnnoyancesFilter/Popups/sections/antiadblock.txt | 8 +++++++- package-lock.json | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/AnnoyancesFilter/Popups/sections/antiadblock.txt b/AnnoyancesFilter/Popups/sections/antiadblock.txt index e3f72a1c351..18421259495 100644 --- a/AnnoyancesFilter/Popups/sections/antiadblock.txt +++ b/AnnoyancesFilter/Popups/sections/antiadblock.txt @@ -45,11 +45,17 @@ music.yandex.*##.notify > div.deco-tooltip_notify.notify_shown [$path=/pogoda]dzen.ru#%#//scriptlet('abort-on-property-read', 'Object.prototype.renderData') [$path=/pogoda]dzen.ru##.adv-ecom [$path=/pogoda]yandex.*#%#//scriptlet('prevent-eval-if', 'Id":"R-I') -[$path=/pogoda]yandex.*#%#//scriptlet('abort-on-property-read', 'Object.prototype.renderDirect') [$path=/pogoda]yandex.*#%#//scriptlet('json-prune', 'rtb') +! TODO: remove after releasing new AdGuard 2.0 for Safari +! Breaks Yandex Mail in Safari due to a bug +!+ NOT_PLATFORM(ext_safari) +[$path=/pogoda]yandex.*#%#//scriptlet('abort-on-property-read', 'Object.prototype.renderDirect') ! ! Yandex.Video [$path=/video]ya.ru,yandex.*#%#//scriptlet('json-prune', 'rtb seatbid') +! TODO: remove after releasing new AdGuard 2.0 for Safari +! Breaks Yandex Mail in Safari due to a bug +!+ NOT_PLATFORM(ext_safari) [$path=/video]ya.ru,yandex.*#%#//scriptlet('set-constant', 'Object.prototype.renderDirect', 'throwFunc') ! ! Yandex.Afisha diff --git a/package-lock.json b/package-lock.json index ea1a57670bd..ea4aef1322a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,6 @@ "packages": { "": { "name": "@adguard/filters", - "version": "1.0.0", "license": "GPL-3.0-only", "devDependencies": { "@adguard/aglint": "3.0.0", @@ -14,6 +13,9 @@ "lint-staged": "^16.0.0", "markdownlint": "^0.38.0", "markdownlint-cli": "^0.45.0" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@adguard/aglint": {