Image filtering by dimensions

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
fearfactory
Posts: 1
Joined: Mon Feb 08, 2016 2:10 am

Image filtering by dimensions

Post by fearfactory »

Hi to all.
Can I hide image only if it bigger/smaller than I need?
example.com##img[src$="jpeg"][height>1080]

I am understand that it's incorrect to compare string and integer value. May be we have TryParse Method or something analogue?
Thanx in advance for any answers.
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Image filtering by dimensions

Post by lewisje »

The new property syntax allows filtering by explicitly-set CSS properties, but not by computed styles like you're suggesting; the new property syntax is slow, and filtering by computed styles is even slower.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Locked