To prevent unwanted redirects in Microsoft Edge, you can follow the steps below:
- Click on the three dots icon located at the top right corner of the browser.
- Select Settings. Now click on Menu.
- Scroll down to the Cookies and Site permissions , click on it.
- Click on Pop-ups and redirects.
- Toggle the Block switch to the On position.
This should prevent unwanted redirects from occurring in Microsoft Edge.