Disable ads in Viber

72

22

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

Posted 2017-07-17T22:01:53.900

Reputation: 946

Answers

127

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ö

Posted 2017-07-17T22:01:53.900

Reputation: 1 434

Thanks. Haven't tested, but I hope this works. – janot – 2017-07-26T19:46:25.267

Let me know if you have tested! – Andras Sebö – 2017-07-27T08:00:43.940

11Confirming that it works. – Howie – 2017-08-05T08:02:42.377

6Also works on macOS. File /etc/hosts. – icem – 2017-09-30T10:48:40.527

1Same on Linux: /etc/hosts – Andras Sebö – 2017-10-02T07:40:38.143

4bless you kind person – Mishap – 2017-10-26T21:06:45.447

6Live long and prosper! – Chris Koston – 2017-11-27T21:47:58.617

1for linux/mac run: sudo echo 127.0.0.1 ads.viber.com >> /etc/hosts – Art – 2018-01-02T22:10:14.217

1Still works as of writing this. – Ivan Ivanić – 2018-04-26T15:04:22.613

9Viber should thank you and put you on the payroll. I was about to uninstall. – Miro – 2018-07-21T22:02:43.390

1@Miro: same :). They have no idea how much the BAD kid of ads harm them. If the ads were more gentle and not long, cpu-hogging videos more people would probably use their software. sigh – Axonn – 2018-11-01T20:51:54.110

God bless you!!! – WebBrother – 2019-02-18T14:57:55.290

This no longer works after a recent Viber update. – Borislav Ivanov – 2019-09-02T06:30:36.863

9New url added to prevent ads in the new Viber 11.4.0 ;) – Andras Sebö – 2019-09-02T08:40:43.640

1Ads are back after the latest Viber update, 11.9.1 . – darkred – 2019-11-19T21:28:31.433

3block *.adnxs.com. Specifically fra1-ib.adnxs.com, mediation.adnxs.com, ams1-mobile.adnxs.com and crcdn01.adnxs.com. Personally I blocked everything from adnxs.com – Panagiotis – 2019-11-20T10:52:39.890

@Panagiotis Thank you! It works. – darkred – 2019-11-21T17:00:25.460

6

I had to block extra addresses:

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

Posted 2017-07-17T22:01:53.900

Reputation: 434

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 – 2019-09-02T07:04:44.033

That helped a lot! Thanks you wise sir! – PeterS – 2019-09-05T12:47:16.473

@Axonn I used Proxifier

– Danatela – 2019-11-06T04:25:17.700

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.

Igor Levicki

Posted 2017-07-17T22:01:53.900

Reputation: 220