Is it possible to filter by file size?

Various discussions related to filter list maintenance

Moderator: njones

Post Reply
carlos2016
Posts: 1
Joined: Tue Aug 02, 2016 3:37 am

Is it possible to filter by file size?

Post by carlos2016 »

to avoid anti adblock, for example by excluding files with fewer than 20 letters. :D

popunder2.js
adblock = false;
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Is it possible to filter by file size?

Post by lewisje »

Blocking filters are based only on the pattern in the URL and the context in which a network request is attempted, and if there's a match, the request is blocked; in order to filter by filesize, the request would need to be allowed first, and there is no way, to my knowledge, for an extension to allow the download to happen and then later, based on its content, to render it inoperable.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Post Reply