Skip to content

Handle Element.prototype.getClientRects in spoof-css scriptlet #559

@piquark6046

Description

@piquark6046
Screenshot

Image

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

Related to AdguardTeam/AdguardFilters#231525, AdguardTeam/AdguardFilters#231315 and List-KR/List-KR#1051

Footnotes

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions