fixed invalid regexp

This commit is contained in:
Alex-302
2018-03-28 11:23:45 +03:00
parent 1a7f42a43e
commit fb6be3d671
3 changed files with 10 additions and 10 deletions

View File

@@ -955,7 +955,7 @@ yandex.by,yandex.com,yandex.com.tr,yandex.fr,yandex.kz,yandex.ru,yandex.ua$$scri
!
! Yandex.News
! for the case of using RU AdList
||news.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,important,domain=news.yandex.by|news.yandex.com|news.yandex.fr|news.yandex.kz|news.yandex.ru|news.yandex.ua
||news.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,important,domain=news.yandex.by|news.yandex.com|news.yandex.fr|news.yandex.kz|news.yandex.ru|news.yandex.ua
news.yandex.by,news.yandex.com,news.yandex.fr,news.yandex.kz,news.yandex.ru,news.yandex.ua$$div[aria-label="Реклама"][class="profit"][max-length="18000"]
! for extensions
!+ NOT_PLATFORM(windows, mac, android)
@@ -966,7 +966,7 @@ news.yandex.by,news.yandex.com,news.yandex.fr,news.yandex.kz,news.yandex.ru,news
@@||an.yandex.ru/partner-code-bundles/*.js$domain=news.yandex.by|news.yandex.com|news.yandex.fr|news.yandex.kz|news.yandex.ru|news.yandex.ua
!
! Yandex.Weather
||yandex.*/pogoda/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,important,domain=yandex.by|yandex.kz|yandex.ru|yandex.ua
||yandex.*/pogoda/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,important,domain=yandex.by|yandex.kz|yandex.ru|yandex.ua
!+ NOT_PLATFORM(windows, mac, android)
@@||yandex.*/pogoda/$generichide
!
@@ -979,7 +979,7 @@ news.yandex.by,news.yandex.com,news.yandex.fr,news.yandex.kz,news.yandex.ru,news
://yandex.*/maps/$replace=/\,"adverts":\[.+?]}/\,"adverts":\[]\}/,important
!
! Yandex.Mail
||mail.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,important,domain=mail.yandex.by|mail.yandex.kz|mail.yandex.ru|mail.yandex.ua|mail.yandex.com|mail.yandex.com.tr
||mail.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,important,domain=mail.yandex.by|mail.yandex.kz|mail.yandex.ru|mail.yandex.ua|mail.yandex.com|mail.yandex.com.tr
!+ NOT_PLATFORM(windows, mac, android)
@@||mail.yandex.$generichide
!+ NOT_PLATFORM(windows, mac, android)
@@ -992,7 +992,7 @@ news.yandex.by,news.yandex.com,news.yandex.fr,news.yandex.kz,news.yandex.ru,news
@@||an.yandex.ru/mapuid/tnscounter/?from=yan_oo-rtb-direct$domain=mail.yandex.by|mail.yandex.kz|mail.yandex.ru|mail.yandex.ua|mail.yandex.com|mail.yandex.com.tr
!
! Yandex.TV
||tv.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,important,domain=tv.yandex.by|tv.yandex.kz|tv.yandex.ru|tv.yandex.ua
||tv.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,important,domain=tv.yandex.by|tv.yandex.kz|tv.yandex.ru|tv.yandex.ua
tv.yandex.by,tv.yandex.kz,tv.yandex.ru,tv.yandex.ua$$script[tag-content="adblockDetected"][max-length="5000"]
!+ NOT_PLATFORM(windows, mac, android)
@@||tv.yandex.$generichide
@@ -1001,7 +1001,7 @@ tv.yandex.by,tv.yandex.kz,tv.yandex.ru,tv.yandex.ua$$script[tag-content="adblock
tv.yandex.by,tv.yandex.kz,tv.yandex.ru,tv.yandex.ua#%#AG_abortInlineScript(/adblockDetected/, 'document.addEventListener');
!
! Yandex.Afisha
||afisha.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,important,domain=afisha.yandex.by|afisha.yandex.kz|afisha.yandex.ru|afisha.yandex.ua
||afisha.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,important,domain=afisha.yandex.by|afisha.yandex.kz|afisha.yandex.ru|afisha.yandex.ua
!+ NOT_PLATFORM(windows, mac, android)
@@||afisha.yandex.*^$generichide
!+ NOT_PLATFORM(windows, mac, android)

View File

@@ -8,9 +8,9 @@
! https://github.com/AdguardTeam/AdguardFilters/issues/12262
||drive2.ru/*/*/*/*/*/$replace=/{"settings":.+/null;/,script,domain=drive2.ru,important
! https://github.com/AdguardTeam/AdguardFilters/issues/12803
||gorodrabot.ru/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,domain=gorodrabot.ru,important
||gorodrabot.ru/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,domain=gorodrabot.ru,important
! https://github.com/AdguardTeam/AdguardFilters/issues/10802
||otzovik.com/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,domain=otzovik.com,important
||otzovik.com/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,domain=otzovik.com,important
! https://github.com/AdguardTeam/AdguardFilters/issues/12065
||mathb-ege.sdamgia.ru/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,important,script,domain=mathb-ege.sdamgia.ru
! https://github.com/AdguardTeam/AdguardFilters/issues/11445
@@ -19,11 +19,11 @@
! It breaks embed players. But standalone player works.
! ||torrentstream.*/get?_v=$replace=/(<VAST[\s\S]*?>)[\s\S]*<\/VAST>/\$1<\/VAST>/,important
! https://github.com/AdguardTeam/AdguardFilters/issues/10426
||24smi.org/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,domain=24smi.org,important
||24smi.org/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,domain=24smi.org,important
! hi-tech.mail.ru
||hi-tech.mail.ru/*/js/cmpld/web/common.js$replace=/^mimic_.+/,important
! https://github.com/AdguardTeam/AdguardFilters/issues/9587
||mk.ru/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,domain=mk.ru,important
||mk.ru/*/*/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,domain=mk.ru,important
! https://github.com/AdguardTeam/AdguardFilters/issues/8860
||e1.ru/*/*/*/$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,important,script,~stylesheet,domain=e1.ru
! https://github.com/AdguardTeam/AdguardFilters/issues/8588

View File

@@ -187,7 +187,7 @@ kizlarsoruyor.com#%#window.canRunAds=!0;
! START: Yandex
!
! Yandex.Mail
||mail.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$/,script,important,domain=mail.yandex.com.tr
||mail.yandex.*/*/*-*-*-*-$replace=/Ya\[([0-9]{10\,15})\]\([\s\S]*\)\$//,script,important,domain=mail.yandex.com.tr
!+ NOT_PLATFORM(windows, mac, android)
@@||mail.yandex.$generichide
!+ NOT_PLATFORM(windows, mac, android)