AdguardTeam / AdguardTeam/AdGuardHome

Add support for "!#include"

Abierto
#2,173 2 comentarios 4 reacciones 1 asignado Reclamado por @ainar-g Ver en GitHub
external libs feature request P3: Medium
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.