AdguardTeam / AdguardTeam/Scriptlets

Add a scriptlet that cleans up 'location.hash'

Offen
#135 11 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement Priority: P4 Version: Scriptlets v3.0
Vorherrschende Sprache
JavaScript
Sterne
195
Forks
33
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

`location.hash` is the part of an URL that comes after `#`. For instance, `https://example.org/#heregoeshash`.
Doc: https://developer.mozilla.org/en-US/docs/Web/API/Location/hash

This script would nicely pair with $removeparam that currently does not handle `location.hash`.

@AdguardTeam/filters-maintainers what we need before implementing this are examples of tracking parameters that use `location.hash`.

- [ ] Consider real-life examples
- [ ] Scriptlet spec
- [ ] Implementation

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.