Disable ads in Viber

64,860

Solution 1

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.

Solution 2

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.

Solution 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.

Share:
64,860

Related videos on Youtube

janot
Author by

janot

Updated on September 18, 2022

Comments

  • janot
    janot almost 2 years

    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
    janot almost 7 years
    Thanks. Haven't tested, but I hope this works.
  • Andras Sebö
    Andras Sebö almost 7 years
    Let me know if you have tested!
  • Howie
    Howie almost 7 years
    Confirming that it works.
  • icem
    icem almost 7 years
    Also works on macOS. File /etc/hosts.
  • Andras Sebö
    Andras Sebö almost 7 years
    Same on Linux: /etc/hosts
  • mishap
    mishap over 6 years
    bless you kind person
  • Chris Koston
    Chris Koston over 6 years
    Live long and prosper!
  • Art
    Art over 6 years
    for linux/mac run: sudo echo 127.0.0.1 ads.viber.com >> /etc/hosts
  • Ivan Ivanic
    Ivan Ivanic about 6 years
    Still works as of writing this.
  • Miro
    Miro almost 6 years
    Viber should thank you and put you on the payroll. I was about to uninstall.
  • Axonn
    Axonn over 5 years
    @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
  • WebBrother
    WebBrother over 5 years
    God bless you!!!
  • Borislav Ivanov
    Borislav Ivanov almost 5 years
    This no longer works after a recent Viber update.
  • Axonn
    Axonn almost 5 years
    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.
  • Andras Sebö
    Andras Sebö almost 5 years
    New url added to prevent ads in the new Viber 11.4.0 ;)
  • PetarS
    PetarS almost 5 years
    That helped a lot! Thanks you wise sir!
  • Danatela
    Danatela over 4 years
    @Axonn I used Proxifier
  • darkred
    darkred over 4 years
    Ads are back after the latest Viber update, 11.9.1 .
  • Panagiotis
    Panagiotis over 4 years
    block *.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
  • darkred
    darkred over 4 years
    @Panagiotis Thank you! It works.