mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-29 12:14:41 +00:00
Add filters by platforms (#19224)
* Add filters by platforms * Add filters by platforms
This commit is contained in:
1
ExperimentalFilter/sections/Other/android.txt
Normal file
1
ExperimentalFilter/sections/Other/android.txt
Normal file
@@ -0,0 +1 @@
|
||||
||android.test.filter^$third-party
|
||||
1
ExperimentalFilter/sections/Other/chrome.txt
Normal file
1
ExperimentalFilter/sections/Other/chrome.txt
Normal file
@@ -0,0 +1 @@
|
||||
||chrome.test.filter.com^$third-party
|
||||
@@ -1,3 +1,17 @@
|
||||
!
|
||||
! This file contains all filters other than English, Social, Spyware and Russian.
|
||||
!
|
||||
! Also filters by platforms https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917
|
||||
|
||||
!if adguard_app_windows
|
||||
!#include windows.txt
|
||||
!endif
|
||||
|
||||
!if (adguard_app_android && adguard_app_ios)
|
||||
!#include android.txt
|
||||
!#include ../Mobile/filter.txt
|
||||
!endif
|
||||
|
||||
! Filters for adguard without safari
|
||||
!if (adguard && !adguard_ext_safari)
|
||||
!#include chrome.txt
|
||||
!endif
|
||||
|
||||
2
ExperimentalFilter/sections/Other/windows.txt
Normal file
2
ExperimentalFilter/sections/Other/windows.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
||windows.filter^$third-party
|
||||
||windows.test.filter^$third-party
|
||||
Reference in New Issue
Block a user