AdguardTeam / AdguardTeam/CoreLibs

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

Offen
#1,935 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @sfionov Auf GitHub ansehen
Feature request needs tech clarification Priority: P4
Vorherrschende Sprache
Keine Sprachdaten
Sterne
52
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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