Blocking Ads on wetteronline.de

Everything about using Adblock Plus on Safari
Post Reply
hate-ads
Posts: 2
Joined: Mon Feb 26, 2018 2:24 pm

Blocking Ads on wetteronline.de

Post by hate-ads »

Hello I'm new to writing Adblock filters and I have a question.

On the top of

Code: Select all

https://www.wetteronline.de
there is an big Ad banner witch dosen't get blocked by the default rules.

The structure is the following:

Code: Select all

https://st.wetteronline.de/image/sites/0911d54b42d65223ca02a2320d340ac8411028304035/FLmcD7TufJJGB2OD2.jpg
The two strings at the end are random and change on reload. So the most basic filter to use here is the following I thought:
st.wetteronline.de/image/sites/*/*.jpg

But this filter is not working! Can someone tell me why?

My solution is now:
wetteronline.de###leftcontainer > DIV:first-child
wetteronline.de###contentcontainer > DIV:first-child
wetteronline.de###sidebar > DIV:first-child
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking Ads on wetteronline.de

Post by mapx »

try this filter

Code: Select all

@@.de/*ad$image,domain=wetteronline.de
hate-ads
Posts: 2
Joined: Mon Feb 26, 2018 2:24 pm

Re: Blocking Ads on wetteronline.de

Post by hate-ads »

Hey, thanks for your answer but your filter is not working.

Mine works already fine:

Code: Select all

wetteronline.de###leftcontainer > DIV:first-child
wetteronline.de###contentcontainer > DIV:first-child
wetteronline.de###sidebar > DIV:first-child
I'm more interested in the question why this easy filter is not working:

Code: Select all

st.wetteronline.de/image/sites/*/*.jpg
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Blocking Ads on wetteronline.de

Post by mapx »

safari has some limitations, I cannot test it
Post Reply