Page 1 of 1

Blocking Ads on wetteronline.de

Posted: Mon Feb 26, 2018 2:38 pm
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

Re: Blocking Ads on wetteronline.de

Posted: Mon Feb 26, 2018 7:57 pm
by mapx
try this filter

Code: Select all

@@.de/*ad$image,domain=wetteronline.de

Re: Blocking Ads on wetteronline.de

Posted: Mon Feb 26, 2018 8:56 pm
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

Re: Blocking Ads on wetteronline.de

Posted: Mon Feb 26, 2018 11:40 pm
by mapx
safari has some limitations, I cannot test it