AdguardTeam / AdguardTeam/Scriptlets
Fix 'href-sanitizer' — performance issue
- Linguagem predominante
- JavaScript
- Estrelas
- 195
- Forks
- 33
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
AdGuard 4.4.41
Scriptlets v1.12.1
### Details
https://hentai-id.tv/ uses URL shortener for analytics

Following rule removes redirection
`hentai-id.tv#%#//scriptlet('href-sanitizer', 'a[href*="://ouo.io/"]', '?s')`
Example
```
https://ouo.io/s/lbH3iXRW?s=https://hentai-id.tv/my-weekend-sex-buddy-my-female-boss-only-i-know-the-other-side-of-julia/
```
changed to
```
https://hentai-id.tv/my-weekend-sex-buddy-my-female-boss-only-i-know-the-other-side-of-julia/
```
### Problem details
I need to wait until the page will be loaded completely.
It can be reproduce with throttling as 3G using the DevTools.
Details

### Proposed solution
Probably mutation observer can be used to scan elements, or just scan every 0.5-1 second.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.