mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #467] [MERGED] Simplifying ad blocking syntax #4741
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4741
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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)
5f44c80Simplifying ad blocking syntax49f60f7Update traffic+block-ads+ipv4-google.json30042bcUpdate 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.