75

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?

136

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.

| improve this answer | |
  • 11
    Confirming that it works. – Howie Aug 5 '17 at 8:02
  • 6
    Also works on macOS. File /etc/hosts. – icem Sep 30 '17 at 10:48
  • 6
    Live long and prosper! – Chris Koston Nov 27 '17 at 21:47
  • 9
    Viber should thank you and put you on the payroll. I was about to uninstall. – Miro Jul 21 '18 at 22:02
  • 9
    New url added to prevent ads in the new Viber 11.4.0 ;) – Andras Sebö Sep 2 '19 at 8:40
10

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.

| improve this answer | |
  • 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 2 '19 at 7:04
  • That helped a lot! Thanks you wise sir! – PetarS Sep 5 '19 at 12:47
  • @Axonn I used Proxifier – Danatela Nov 6 '19 at 4:25
3

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.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.