as - regex workaround for MV3

This commit is contained in:
Yuki2718
2025-04-20 21:57:05 +09:00
parent 3623bfa9c5
commit 0d8f5d98e0

View File

@@ -50,6 +50,10 @@ triblive.com###storyContent > div[data-type="float"][data-stn-player]
! START: Ad-Shield ad reinsertion
! ad-shield.cc CNAME ex. https://www.47206262.xyz/script/jmty.jp.js
/^https:\/\/www\.[0-9a-z-]{8,}\.xyz\/script\/[-.0-9A-Za-z]+\.[A-Za-z-]{2,30}\.js$/$script,third-party,match-case
!#if (adguard_ext_chromium_mv3)
://www.*.xyz/script/*.de.js|$script,third-party
://www.*.xyz/script/*.jp.js|$script,third-party
!#endif
!+ PLATFORM(ios, ext_safari)
/^https:\/\/www\.[0-9a-z-][0-9a-z-][0-9a-z-][0-9a-z-][0-9a-z-][0-9a-z-][0-9a-z-][0-9a-z-]+\.xyz\/script\/[0-9A-Za-z.-]+\.[A-Za-z-][A-Za-z-]+\.js$/$script,third-party,match-case
! For all platforms including iOS