Disable Microsoft Edge ads

date
Nov 26, 2022
slug
disable-microsoft-edge-ads
status
Published
tags
Microsoft
Edge
ads
summary
Microsoft Edge market share is getting bigger and bigger, and Microsoft seems to have started adding ads through Microsoft Explorer to get extra revenue.
type
Post
Microsoft Edge market share is getting bigger and bigger, and Microsoft seems to have started adding ads through Microsoft Explorer to get extra revenue.
Unlike before, these ads cannot be turned off or disabled completely, and there are links to multiple websites at the bottom of the new tab with the word ads. The pitfall is that even if the user has set all the content and links to close this advertising area is like psoriasis, and there is no way to block the area through the plug-in.
Originally the Microsoft browser startup page or new tab page can be closed in the settings of the quick links and news recommendation, where there is a closeable advertising area at the top of the news recommendation, this advertising area is mainly added by Microsoft various links, such as Bing, Baidu, Akiyip, Tmall, Jingdong, Vipshop, Taobao, Xiaomi Youpin, etc.. Now even if the user chooses to close the quick links and news recommendation this advertising area will not disappear, instead the area is always displayed in the bottom area of the new tab.
😅
This means that the ads are actually judged according to the user's location, and when they are judged to be Chinese users, they will call Microsoft MSN Info China to display them.
After blocking the launch page or new tab page no longer supports the display of custom quick links, so users consider putting the quick links in the bookmark bar for quick access.

Modify Hosts Mask

Most of the various information content called by the new tab is provided by Microsoft MSN China, and the grab bag display advertising links also call the resources of MSN China. For this reason, we can directly block these resources called by the browser through the Hosts file, after testing this method can prevent the browser recognition area to display ads.
# Here's how to do it # Open this address and cut the hosts file to the desktop C:\Windows\System32\drivers\etc # Open the hosts file using Notepad or another code editor and add the following at the bottom # Block Microsoft Edge startup page ads 0.0.0.0 c.msn.com 0.0.0.0 ntp.msn.com 0.0.0.0 ntp.msn.cn 0.0.0.0 assets.msn.cn 0.0.0.0 api.msn.com 0.0.0.0 browser.events.data.msn.com #0.0.0.0 edge.activity.windows.com 0.0.0.0 img-s-msn-com.akamaized.net # Save the file and cut it back to the original path
At this point, you can still see the ads on the Microsoft Edge browser startup page, so you need to clear all the cache files in the browser settings to make it effective. Copy this address to Microsoft Edge browser and open it: edge://settings/clearBrowserData and check the cache images and files point to clear.
If you still have ads after restarting your browser, you can open a command prompt and type ipconfig /flushdns to clear the DNS cache to take effect.
Special Note: After testing the use of this method to block ads will not affect the browser to check for updates, and there is no need to worry about subsequent Microsoft updates when other ads are placed, etc.

Additional launch policy to disable ads

This method disables ads by modifying the browser startup policy, which is essentially the same as modifying Hosts blocking, but it is possible that such policies will fail in the future;
Right-click on the Microsoft Explorer icon and select Properties, then append a space at the end of the target and --force-local-ntp to save it, which will also disable ads.
If you have Microsoft Explorer fixed on the taskbar, you also need to right-click the taskbar icon, right-click Edge again and then left-click Properties, add a startup policy in Properties, so that whether you use the desktop shortcut or the taskbar Quick Launch, you can disable the ads on the startup page by default.
Special Note: This method also does not affect the browser's subsequent check for updates, but the longevity of such policies depends on Microsoft, and there is a risk of subsequent failure.
 
If you have any questions, please contact me.