AdguardTeam / AdguardTeam/CoreLibs

Allow negative selection of tagName (and possibly special attributes) for HTML filtering

Abierto
#1,935 0 comentarios 0 reacciones 1 asignado Reclamado por @sfionov Ver en GitHub
Feature request needs tech clarification Priority: P4
Lenguaje dominante
Sin datos de lenguaje
Estrellas
52
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Issue Details

In relation to https://github.com/AdguardTeam/CoreLibs/issues/1934 if scripts are like
```

```

allow to remove `test2.js` with something like `:not()` pseudo selector e.g. `example.org$$script[src="test"]:not([async])` and/or `example.org$$script[src="test"]:not([async=""])`.

### Proposed solution

Allow to select tags not having specified attirbute(s)/value(s) (or possibly special attributes such as `:contains()`)

### Alternative solution

CSS-like forward-, backward- , or exact matching to attributes (if not regex) will also help if possible.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.