Microsoft Edge is testing a new feature that allows you to block potentially unwanted programs (PUPs) from being downloaded by the browser. PUPs are software that straddle the line between legitimate applications and malware. They tend to display unwanted ads, perform redirects, hijack functions of your browser or computer, use scare tactics, or claim to fix system issues, but don’t really do anything. To enable the new feature, you need to enable an experimental flag in the edge://flags screen.
Source: https://www.bleepingcomputer.com/news/microsoft/microsoft-edge-to-let-you-block-potentially-unwanted-programs/