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
This commit is contained in:
mmrabbani 2023-05-18 00:48:37 +03:30 committed by GitHub
parent 85d42ce94f
commit 5f44c80cd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
</html>