Custom filters not working with Safari 7.0.3

Everything about using Adblock Plus on Safari
Post Reply
Marco

Custom filters not working with Safari 7.0.3

Post by Marco »

I just updated to the latest Safari (released today, 7.0.3) and non of my custom filters work anymore.

I had very simple filters like :

|/gfx/design/bg_big*.jpg

Am I the only one with this problem?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Custom filters not working with Safari 7.0.3

Post by mapx »

what if you try

Code: Select all

/gfx/design/bg_big*.jpg
?

which is the site ?
Marco

Re: Custom filters not working with Safari 7.0.3

Post by Marco »

Hi mapx,

For example: www.hordes.fr

The layout.css file contains :

Code: Select all

.bigBg {
    background-image: url(/gfx/design/bg_big.jpg);
    background-repeat: no-repeat;
    background-position: top center;
}

.bigBg2 {
    background-image: url(/gfx/design/bg_big2.jpg);
    background-repeat: no-repeat;
    background-position: top center;
}
So it should work, right?

Anyway, thanks for the quick answer.

Marco
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Custom filters not working with Safari 7.0.3

Post by mapx »

try

Code: Select all

||data.hordes.fr/gfx/design/bg_big*.jpg
or the filter above (without | at the beginning)
Marco

Re: Custom filters not working with Safari 7.0.3

Post by Marco »

None of those successfully remove the background image for me.

It used to work this morning though. And the only thing that happened since is that I updated Safari (and OSX 10.9.3).
snoack
Posts: 162
Joined: Tue Aug 13, 2013 7:45 pm

Re: Custom filters not working with Safari 7.0.3

Post by snoack »

Apparently you try to block a background image. Unfortunately we can not block images loaded via CSS on Safari. This is a limitation of Safari's extension API.

Also note that Safari 7.0.3 has been around for a while. So you probably didn't installed a Safari update, but the OSX 10.9.3 update which has been released today.
Guest

Re: Custom filters not working with Safari 7.0.3

Post by Guest »

snoack wrote:Apparently you try to block a background image. Unfortunately we can not block images loaded via CSS on Safari. This is a limitation of Safari's extension API.
It was working yesterday though...
snoack wrote:Also note that Safari 7.0.3 has been around for a while. So you probably didn't installed a Safari update, but the OSX 10.9.3 update which has been released today.
My bad, I must have been fooled by the release notes of OSX 10.9.3.

Just to be clear then, I only updated OSX today.
snoack
Posts: 162
Joined: Tue Aug 13, 2013 7:45 pm

Re: Custom filters not working with Safari 7.0.3

Post by snoack »

Just in case, I tested on a Mac that is still on OSX 10.9.2. And background images can't neither be blocked there in Safari.

If this filter has worked before with Adblock Plus for Safari, the only possible reason would be that the website has been changed meanwhile.
Marco

Re: Custom filters not working with Safari 7.0.3

Post by Marco »

Ok, thank you snoack !

Is there any way at all to block images loaded via CSS on Safari, then?

I've recently switched from Firefox (where it wasn't a problem) to Safari, and got many similar issues with other websites as well.
snoack
Posts: 162
Joined: Tue Aug 13, 2013 7:45 pm

Re: Custom filters not working with Safari 7.0.3

Post by snoack »

No, you can't block images loaded via CSS on Safari. Neither can you block XMLHttpRequests and requests initiated by Flash.

Safari's extension API is much more limited than those of Chrome and Firefox, where we can block every kind of request.
Post Reply