On Google Chrome
Chrome blocks redirect by default, so you probably don’t need to do anything. If it doesn’t work, you can manually block redirection. Choose Settings from the three dots in the upper right of Chrome. Select Site Settings from the Privacy and Security menu on the left of the screen. Pop-ups and redirection should be set to Blocked on the screen. If not, adjust the slider to prohibit redirects.
Similar to Chrome, blocking redirection in Firefox is simple. Select Options or Preferences from the drop-down menu that appears when you click the three horizontal lines in the top right corner of the window. Scroll down to Permissions in Privacy & Security. Block pop-up windows are an option here that should be checked if it isn’t already. If you don’t want the block to apply to every website you visit, click the Exceptions option. Now Scroll down to the Security area and select the Deceptive Content and Dangerous Software option. If it’s not checked, check Block harmful and deceptive content. These two options stop browser redirects.
In Microsoft Edge, the option is available similarly to Chrome. Click the three dots in the upper right corner of the screen and select Settings. There are four options down the right side of the screen. Scroll down to Security under Privacy & Security. Move the sliders for Block pop-ups and Windows Defender SmartScreen to On if they aren’t already. This setting disables redirection, but pop-ups perform the same thing in a new window, so you might as well block both.
Open Safari on a Mac and select the Safari option in the upper left corner. Select the Security tab from the Preferences menu. The option to halt redirects is the Bogus Sites section’s Warn when visiting a fraudulent site.
On mobile phones, you can do the same to avoid redirects. Hope you find this helpful. Safe internet for everyone.