github gorhill/uBlock 1.43.1b8

latest releases: 1.58.1b11, 1.58.1b10, 1.58.1b9...
pre-release23 months ago

Commits to master since this release

To install the developer build:


New

New procedural cosmetic filter operator: :matches-media()

Commit

The argument must be a valid media query as documented on MDN, i.e. what appears between the @media at-rule and the first opening curly bracket (including the parentheses when required).

Best practice:

Use :matches-media() after plain CSS selectors, if any.

Good: example.com###target-1 > .target-2:matches-media((min-width: 800px))

Bad (though this will still work): example.com##:matches-media((min-width: 800px)) #target-1 > .target-2

The reason for this is to keep the door open for a future optimisation where uBO could convert :matches-media()-based filters into CSS media
rules injected declaratively in a user stylesheet.

Fixes:

Don't miss a new uBlock release

NewReleases is sending notifications on new releases.