AdguardTeam / AdguardTeam/Scriptlets

Handle `Element.prototype.getClientRects` in `spoof-css` scriptlet

Open
#559 0 comments 1 reaction 1 assignee Claimed by @maximtop View on GitHub
Priority: P4
Dominant language
JavaScript
Stars
195
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Screenshot

Image


A website can use `Element.prototype.getClientRects` [^1] to check if the `HTMLElement` is hidden.

[^1]: https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects

Related to https://github.com/AdguardTeam/AdguardFilters/issues/231525, https://github.com/AdguardTeam/AdguardFilters/issues/231315 and https://github.com/List-KR/List-KR/issues/1051

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.