77

Recent version of Viber on Windows started displaying ads. It appeared in sidebar under contacts. There is no GUI option to disable.

How can I disable them?

janot
  • 1,031
  • 2
  • 11
  • 20

3 Answers3

140

I put

127.0.0.1 ads.viber.com
127.0.0.1 ads.aws.viber.com
127.0.0.1 ads-d.viber.com
127.0.0.1 s-bid.rmp.rakuten.com

into my c:\Windows\System32\Drivers\etc\hosts file. Since then I have no ads ;) Hope it'll help for you, too.

Andras Sebö
  • 1,564
  • 1
  • 10
  • 6
11

I had to block extra addresses (discovered in Proxifier):

ads.cdn.viber.com
ads.*.viber.com
locp-ir.viber.com

Also I had to open preferences and close. Then the effect was achieved.

Danatela
  • 504
  • 6
  • 16
  • Thank you. The ads were back but thanks to these additional addresses managed to get rid of them again. ARGH, nevermind, they're back again. What software did you use to find the addresses? Wireshark is sometimes a bit too verbose. – Axonn Sep 02 '19 at 07:04
  • That helped a lot! Thanks you wise sir! – PetarS Sep 05 '19 at 12:47
  • @Axonn I used [Proxifier](http://www.proxifier.com) – Danatela Nov 06 '19 at 04:25
4

Owners of MikroTik routers who use DNS caching can create a static DNS entry on the router with Regexp field containing ads(\-d|\.aws)?\.viber\.com and Address field containing 127.0.0.1. That will stop all devices on the network (phones, tablets) from showing those ads, not just a single PC or Mac computer like with the hosts file.

Owners of Ubiquiti EdgeRouter devices can do the same but will have to create three separate entries because EdgeRouter does not support regex. Same goes for any other router or firewall, better to block on the edge.

Igor Levicki
  • 355
  • 3
  • 7