AdguardTeam / AdguardTeam/AdguardBrowserExtension

The @media CSS at-rules are not logged

Offen
#2,270 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @maximtop Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
4.4k
Forks
449
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### AdGuard Extension version

4.1.53

### Browser version

109

### OS version

Windows 10

### What filters do you have enabled?

AdGuard Base filter, AdGuard Mobile Ads filter

### What Stealth Mode options do you have enabled?

_No response_

### Issue Details

The @media CSS at-rules are not printed to the filtering log

### Expected Behavior

This tipe of rules must be logged as element hiding and CSS rules.

### Screenshots

_No response_

### Additional Information

Steps to reproduce

1. Disable all filters and add to user filter

```adblock
netzwelt.de#$#@media only screen and (max-width: 700px) { body > #header ~ #main { margin-top: 80px !important; } }
netzwelt.de#$#@media only screen and (max-width: 700px) { body > #header { margin-top: -50px !important; } }
```
3. Go to https://www.netzwelt.de/ with mobile device emulation
4. Open the filtering log

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.