Edge is a poor browser (i uninstalled it long ago). So, try with 2nd browser that has better protection against pop-ups, like FireFox (my main browser) or Chrome (my secondary).
If all else fails, NoScript will fix it.
Link:
https://noscript.net/
I've been using NoScript on my Firefox for the last 10 years or so.
Note: NoScript is super user level tool and very complex to master! And it WILL break all websites once you install it.
But the idea with NoScript is, that you, yourself, choose to allow which scripts are running on any given website. So, it takes some time in the beginning, to whitelist those scripts that make the sites work more-or-less correctly, while blocking out all other bloatware. But once you've configured to your likening, web browsing is a breeze without those pesky annoyances.
Difficult part of the NoScript is memorizing what each of the script does. So that you can enable those that make the site work, while blocking those that produce pop-ups/ads etc. But for testing, you can temporarily allow scripts one-by-one, or all of them at once at any given site, rather than whitelisting them. Once whitelisted, you can also remove scripts from whitelist, to block them again. Overall, once mastered, very easy to use. But has a very steep learning curve.