How to remove olx.pt map overlays?

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
cmmc
Posts: 158
Joined: Fri Apr 22, 2011 8:15 pm

How to remove olx.pt map overlays?

Post by cmmc »

Go to

Code: Select all

https://www.olx.pt/anuncio/moto-4-can-am-bombardier-IDA1hrb.html
Click on "Ver no mapa", to the right.
Map will show a circle overlay over the claimed location.
Most of the times this isn't even over the right location, but even if it is, it's just an annoyance as it only makes it more difficult to see the image underneath.

So, any way to remove this overlay altogether, or remove the color circle and leave just the border, with a filter?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to remove olx.pt map overlays?

Post by mapx »

try this filter

Code: Select all

olx.pt##DIV[style^="width: 256px; height: 256px; overflow: hidden; position: absolute; left: 339px;"]
cmmc
Posts: 158
Joined: Fri Apr 22, 2011 8:15 pm

Re: How to remove olx.pt map overlays?

Post by cmmc »

Not quite working; other ads still show it, and when you zoom in/out, it shows again:
https://www.olx.pt/anuncio/avies-de-col ... y8NaN.html
https://www.olx.pt/anuncio/como-nova-pa ... A1uDl.html

It seems it's js code, but I couldn't find it: https://developers.google.com/maps/docu ... cle-simple
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to remove olx.pt map overlays?

Post by mapx »

"other ads" ? you were talking about circles not about ads, what ads ?

for the circles add

Code: Select all

olx.pt##DIV[style^="width: 256px; height: 256px; overflow: hidden;"]
cmmc
Posts: 158
Joined: Fri Apr 22, 2011 8:15 pm

Re: How to remove olx.pt map overlays?

Post by cmmc »

I meant the other ads were still showing the circle on the map, but it's all fixed now, thanks!
Post Reply