Remove ads in Viber for PC

21

4

How do I disable ads in Viber for PC - version 11.4 (2019). The hosts file trick no longer works (the following one):

127.0.0.1 ads.viber.com
127.0.0.1 ads.aws.viber.com
127.0.0.1 ads-d.viber.com

Viber offers no option to disable (paid) ads and their ads are too large and too disruptive (covering half of the contact list).

Coder12345

Posted 2019-09-02T00:43:02.963

Reputation: 614

Question was closed 2019-09-03T10:25:44.083

OP notes previous solutions no longer work. Unless someone can verify that they do, this is NOT a duplicate of https://superuser.com/questions/1230742/disable-ads-in-viber

– music2myear – 2019-09-02T00:49:55.553

Are you certain that those addresses are the only ones being used? – ajgringo619 – 2019-09-02T00:50:38.117

127.0.0.1 images.taboola.com for kill current image. Ads still here but white. – Enyby – 2019-09-02T03:59:53.710

@music2myear rest assured it is does not work with the above list and it is not a duplicate - in fact, most questions of this kind are a year or two old and refer only ads.viber.com which used to be sufficient for the above purpose. I'll try the rest of the list and report back. – Coder12345 – 2019-09-02T10:07:56.600

For the moment the list from @ZoltánKurgya works, we'll see how it behaves after a while. – Coder12345 – 2019-09-02T10:15:22.780

7You are aware that this is probably a violation of their terms of conditions of use, and that you are actually stealing a service from them by doing so? If you don't want the ads, find an alternative. – jcaron – 2019-09-02T17:18:00.870

@Coder12345 that is exactly what I said. – music2myear – 2019-09-02T22:05:23.423

@jcaron SE as a whole apparently does not care, even with this question being featured on the hot network questions for quite some time. BTW yes, you are right, it's violating their TOS and this question and answers are encouraging that, which pretty much violates SE's own TOS. But hey, it's 2019 and not 2009 anymore ... Moderation is limited to deleting comments, making 100 page meta discussions and flagging for duplicates for half a decade now. – Num Lock – 2019-09-03T09:34:12.220

3@jcaron Apparently, I have determined that there is a suspicious traffic coming from those URLs and I am blocking them to safeguard my own system, and saving bandwidth. So not violating SE own TOS. I wouldn't know if I am violating Viber's TOS. I pay random people on the street to click "I Agree" buttons for me. – Coder12345 – 2019-09-03T10:03:48.073

1I am closing this as it is against the (spirit of) the terms of service in that you shouldn't be trying to circumvent or otherwise abuse specific programs or copyright holders. A slightly more generic question of "Given a nonspecific program, how do I determine what sites it connects to?" Might well be on topic as it can be viewed as a general system protection question. We all hate adverts, but sometimes developers go for a small evil for the greater good (free). Adverts are near the point where they are considered harmful, but I don't think we should single out sites or programs. – Mokubai – 2019-09-03T10:30:48.417

This is one of those difficult to judge questions that may merit discussion on [meta]. – Mokubai – 2019-09-03T10:32:24.593

@Coder12345 a last point, ignorance of the law (paying someone else to agree to the terms of service) does not absolve you of responsibility or liability to those laws or terms of service. I'm not advocating one way or another about the ad-blocking (I do use an ad-blocker in general but disable it for sites I use regularly) but in general if you were to be arrested for something actually illegal such as theft or murder, then saying "I didn't know it was illegal officer" is likely to be given short shrift. – Mokubai – 2019-09-03T17:04:23.917

Answers

21

I put also these two into my "c:\Windows\System32\Drivers\etc\hosts" file: (for mac the file location is: "/private/etc/hosts"), however, as others may suggest, later on new ad sites filtering might need.

127.0.0.1 rmp.rakuten.com
127.0.0.1 s-bid.rmp.rakuten.com
...

so I have these now: (Viber related)

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 rmp.rakuten.com
127.0.0.1 s-bid.rmp.rakuten.com
127.0.0.1 ams1-mobile.adnxs.com
127.0.0.1 api.mixpanel.com
127.0.0.1 fra1-ib.adnxs.com
127.0.0.1 mediation.adnxs.com

Zoltán Kurgya

Posted 2019-09-02T00:43:02.963

Reputation: 326

2After some time this was not enough as new domains are added. Here is my list i managed to collect so far:

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 127.0.0.1 ams1-mobile.adnxs.com 127.0.0.1 api.mixpanel.com 127.0.0.1 fra1-ib.adnxs.com 127.0.0.1 mediation.adnxs.com – Ognjen Babic – 2019-11-20T09:30:58.797

1@OgnjenBabic - Thanks Mate, added your suggestion to the list. – Zoltán Kurgya – 2019-12-08T14:45:02.897

7

127.0.0.1 images.taboola.com
127.0.0.1 api.taboola.com

Do the job.
First for kill image.
Second for kill load ads data from this ads network.
But if viber switch to other ads network, this solution stop work.
Or if it use another network for you.

I suggest install DNSQuerySniffer unload viber, run tool, run viber, and monitor your DNS queries.
If you see some suspicious DNS query - block it in hosts.

Enyby

Posted 2019-09-02T00:43:02.963

Reputation: 171

1Thank you for the added URLs, but you should also clarify this makes the images white as well in the answer (which might prove useful as a backup solution if the above ones stop working in some later version). – Coder12345 – 2019-09-02T10:15:49.013

@Coder12345 api.taboola.com block ads completely. – Enyby – 2019-09-02T14:13:47.330

6

After my investigation, here are my hosts items:

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
127.0.0.1 s-imp.rmp.rakuten.com
127.0.0.1 api.mixpanel.com

steve

Posted 2019-09-02T00:43:02.963

Reputation: 61