Outlook-desktop-ad-blocker icon indicating copy to clipboard operation
Outlook-desktop-ad-blocker copied to clipboard

Ads came back

Open Kuro-23 opened this issue 1 year ago • 24 comments

Today I got the ads even with 0.0.0.0 outlookads.live.com applied in the hosts file. Maybe microsoft changed the url?

Kuro-23 avatar Oct 17 '24 17:10 Kuro-23

Hm, could be. I will take a look at this when I have time. I switched to Thunderbird in the meantime, but I still have outlook installed, so should be no problem 👍

Pyenb avatar Oct 18 '24 12:10 Pyenb

new ad url: https://m.adnxs.com/ut/v3 block this

ABucket avatar Oct 19 '24 12:10 ABucket

It's working great. thx!

Kuro-23 avatar Oct 19 '24 15:10 Kuro-23

new ad url: https://m.adnxs.com/ut/v3 block this

Hi, can you please explain how to use this?

7ergei avatar Oct 21 '24 08:10 7ergei

I updated the script. @ABucket Thank you for the input. Do you know if I'll still need to block both domains or only that one? I don't really have the time currently to check.

Pyenb avatar Oct 21 '24 09:10 Pyenb

Installed new script and it works, thanks @Pyenb !

7ergei avatar Oct 21 '24 09:10 7ergei

I updated the script. @ABucket Thank you for the input. Do you know if I'll still need to block both domains or only that one? I don't really have the time currently to check.

Only that one, there's another domain https://www.bing.com/api/v1/mediation/clientauction that also contains the ads, but seems like blocking that one is enough

ABucket avatar Oct 21 '24 09:10 ABucket

Ah ok, thanks. As long as it's one the single one it's relatively easy. But with host files you can only block the domain as a whole, so to block https://www.bing.com/api/v1/mediation/clientauction, you would need to block the entire bing.com domain. But as long as it's only the subdomain for now, it won't be a problem.

Pyenb avatar Oct 21 '24 10:10 Pyenb

Here's what it should look like if you wish to do it manually.

0.0.0.0 outlookads.live.com
0.0.0.0 m.adnxs.com

Primexus avatar Oct 27 '24 06:10 Primexus

I have those 2 in the host file: 0.0.0.0 outlookads.live.com 0.0.0.0 m.adnxs.com but now I get microsoft outlook own ad... "Upgrade your account to premium" or something mine is in Italian.

Kuro-23 avatar Nov 01 '24 19:11 Kuro-23

I also have these 2 in the host file: 0.0.0.0 outlookads.live.com 0.0.0.0 m.adnxs.com

but getting "Upgrade your account" ads image

EDIT: https://github.com/valinet/NewOutlookPatcher works, no ads and not even any placeholder blank space where the ads were - just straight to the emails

simpledimples avatar Nov 02 '24 13:11 simpledimples

Yeah, it's a good repo. While being more intrusive, it really removes everything. I will still have a look if I can remove the new ads

Pyenb avatar Nov 03 '24 19:11 Pyenb

0.0.0.0 outlookads.live.com 0.0.0.0 m.adnxs.com 0.0.0.0 adnxs.com 0.0.0.0 acdn.adnxs.com 0.0.0.0 3lift.com

Kiwironic avatar Dec 31 '24 07:12 Kiwironic

Thanks, will update the script shortly, unless someone wants to make a PR first. I am busy atm and sadly don't find a lot of time.

Pyenb avatar Jan 02 '25 22:01 Pyenb

Do we have a solution to the 'Upgrade your account' ad that does not go away, at least for me, even with all of Kiwironic's longer list of urls?

L0que avatar Jan 23 '25 22:01 L0que

+1 To still receiving ads to upgrade

cavazos-apps avatar Feb 02 '25 19:02 cavazos-apps

127.0.0.1 outlookads.live.com 127.0.0.1 m.adnxs.com 127.0.0.1 adnxs.com 127.0.0.1 www.adnxs.com 127.0.0.1 acdn.adnxs.com 127.0.0.1 3lift.com 127.0.0.1 www.3lift.com 127.0.0.1 browser.events.data.microsoft.com/OneCollector/ 127.0.0.1 m.adnxs.com/ut/v3 127.0.0.1 eb2.3lift.com

Kiwironic avatar Feb 03 '25 04:02 Kiwironic

I can confirm the above works, but they have updated their JavaScript code so that when they fail to show ads, they will show this instead.

Image

One way to get rid of that is to use this to inject the DLL. https://github.com/valinet/NewOutlookPatcher

This works in removing the ads box itself. Instead of rewriting the url for ad servers, killing a process or running a scheduled task to remove the ads (which leaves the ads box empty but visible).

Kiwironic avatar Feb 03 '25 05:02 Kiwironic

Sorry for the long wait. Thank you so much for your work @Kiwironic

I will try and update the tool to include all of these.

Pyenb avatar Feb 08 '25 11:02 Pyenb

Does this method still work?

In Process Monitor (with resolute network addresses on) msedgewebview2.exe shows only network requests to specific IP addresses and 954.bm-nginx-loadbalancer.mgmt.ams3.adnexus.net for example.

Adnexus sounds like something ad related.

When i block this address via host file the three digit number at the beginning changes and ads are still there. 😒

Girofox avatar Feb 14 '25 08:02 Girofox

I gave up on the cat and mouse, now I am using this method: https://github.com/valinet/NewOutlookPatcher

Kiwironic avatar Feb 14 '25 08:02 Kiwironic

This patcher works fine with W11 24H2 26120.3964 !!!!!!! https://github.com/valinet/NewOutlookPatcher Thx!

tute123456 avatar May 17 '25 01:05 tute123456

I'm still getting ads even with newoutlookpatcher installed.

MidnightRider73 avatar Jul 22 '25 16:07 MidnightRider73

Not working on Win11

vasilli-ra avatar Oct 08 '25 20:10 vasilli-ra