AdguardTeam / AdguardTeam/AdGuardHome

Add support for "!#include"

Offen
#2,173 2 Kommentare 4 Reaktionen 1 zugewiesene Person Beansprucht von @ainar-g Auf GitHub ansehen
external libs feature request P3: Medium
Vorherrschende Sprache
TypeScript
Sterne
36.9k
Forks
2.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Prerequisites

- [x] I am running the latest version (0.104.0-beta1)
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed

### Issue Details

* **Version of AdGuard Home server:**
* 0.104.0-beta1
* **How did you setup DNS configuration:**
* N/A
* **If it's a router or IoT, please write device model:**
* Raspberry Pi 4
* **Operating system and version:**
* Raspberry Pi OS Bullseye 32-bit

### Expected Behavior
Currently, AdGuard Home does not recognise `!#include` tags that are used to load additional list files, as seen in uBlock Origin and to a fairly small degree AdGuard for Windows/Mac/browsers. It'd have been pretty cool if it became supported, including in lists that are not natively included in AdGuard Home.

### Actual Behavior
AdGuard Home does not recognise `!#include` tags.

### Screenshots

Screenshot:

![image](https://user-images.githubusercontent.com/22780683/95664933-1dc80580-0b4c-11eb-87f3-e8883ca10ef1.png)

### Additional Information
If you need a test file to test such a new function with, [my personal-use-*only* list](https://raw.githubusercontent.com/DandelionSprout/adfilt/master/a.txt) would be a very solid test subject; because it shows only \~1,200 entries in AdGuard's filters menu without `!#include`, but would increase to 11,000\~14,000 with full support for `!#include`, and also has up to three tiers of `!#include` links themselves using `!#include` links.

If you instead need to test with a publicly intended list without any odd-looking content whatsoever, [Dandelion Sprout's Annoyances List](https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AnnoyancesList) is also available.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.