AdguardTeam / AdguardTeam/Scriptlets

Add a scriptlet that cleans up 'location.hash'

Open
#135 11 comments 1 reaction 0 assignees View on GitHub
enhancement Priority: P4 Version: Scriptlets v3.0
Dominant language
JavaScript
Stars
195
Forks
33
PR merge metrics
No merged PRs in 30d

Description

`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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.