diff options
| author | mmrabbani <56675802+mmrabbani@users.noreply.github.com> | 2023-05-18 00:18:37 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-18 00:18:37 +0300 |
| commit | 5f44c80cd5d58221347599b11a493d2ff96a50e9 (patch) | |
| tree | 0112e6147c82a23d85d5b7c337788e91ac5b20f8 /web/html/xui/settings.html | |
| parent | 85d42ce94fbbd64f72f6c9dd528618a41a009fd1 (diff) | |
Simplifying ad blocking syntax
I simplified the ad blocking syntax.
"category-ads-all" includes "category-ads". Also "category-ads" includes "google-ads" and "spotify-ads".
So if "category-ads-all" is blocked, there is no need to block 3 other lists (category-ads,google-ads,spotify-ads)
References:
https://github.com/v2fly/domain-list-community/blob/master/data/category-ads
https://github.com/v2fly/domain-list-community/blob/master/data/category-ads-all
Diffstat (limited to 'web/html/xui/settings.html')
| -rw-r--r-- | web/html/xui/settings.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 09cf61ae..3dd1f57b 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -371,9 +371,6 @@ domains: { ads: [ "geosite:category-ads-all", - "geosite:category-ads", - "geosite:google-ads", - "geosite:spotify-ads", "ext:iran.dat:ads" ], speedtest: ["geosite:speedtest"], @@ -1026,4 +1023,4 @@ }); </script> </body> -</html>
\ No newline at end of file +</html> |
