[PR #467] [MERGED] Simplifying ad blocking syntax #4741

Closed
opened 2026-10-31 20:42:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/467
Author: @mmrabbani
Created: 5/17/2023
Status: ✅ Merged
Merged: 5/17/2023
Merged by: @MHSanaei

Base: main ← Head: patch-1


📝 Commits (3)

  • 5f44c80 Simplifying ad blocking syntax
  • 49f60f7 Update traffic+block-ads+ipv4-google.json
  • 30042bc Update traffic+block-ads+warp.json

📊 Changes

3 files changed (+3 additions, -12 deletions)

View changed files

📝 media/configs/traffic+block-ads+ipv4-google.json (+1 -4)
📝 media/configs/traffic+block-ads+warp.json (+1 -4)
📝 web/html/xui/settings.html (+1 -4)

📄 Description

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 issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/467 **Author:** [@mmrabbani](https://github.com/mmrabbani) **Created:** 5/17/2023 **Status:** ✅ Merged **Merged:** 5/17/2023 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`5f44c80`](https://github.com/MHSanaei/3x-ui/commit/5f44c80cd5d58221347599b11a493d2ff96a50e9) Simplifying ad blocking syntax - [`49f60f7`](https://github.com/MHSanaei/3x-ui/commit/49f60f7775beb9e2c6cbb5ecaa0dc07ee63895a4) Update traffic+block-ads+ipv4-google.json - [`30042bc`](https://github.com/MHSanaei/3x-ui/commit/30042bc0475f6b99411741492440b0d62e3d5c3b) Update traffic+block-ads+warp.json ### 📊 Changes **3 files changed** (+3 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `media/configs/traffic+block-ads+ipv4-google.json` (+1 -4) 📝 `media/configs/traffic+block-ads+warp.json` (+1 -4) 📝 `web/html/xui/settings.html` (+1 -4) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:42:22 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4741
No description provided.