Hiding rule also blocking?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Hiding rule also blocking?

Post by Hubird »

The following oddity was brought to my attention by pacman and I was hoping someone could enlighten me as to what is going on...

If I add

Code: Select all

/sprites-social.
To my personal filters and then visit http://www.zdnet.com/ I get hits on the above rule.

If I then add the following additional hiding rule

Code: Select all

 zdnet.com##.social
And reload the page I no longer get hits on the blocking rule.

Can someone please explain what is going on here, I would have though that

Code: Select all

/sprites-social.
Would still get hits :?
Wladimir Palant

Re: Hiding rule also blocking?

Post by Wladimir Palant »

I checked with Diagnostics: these are images that are listed with the document as their context, not an image element. This most likely means that they are background images (or something that is similarly loaded via CSS). Firefox will only load background images when there is something to display them on. The hiding rule makes sure that there is no element to show the background images on, hence no request.
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: Hiding rule also blocking?

Post by Hubird »

Thanks for looking into this.
Locked