How do I prevent them from doing this redirect?
In Firefox, you can use the NoScript extension, then follow these steps:
This type of redirect uses a META refresh (meta http-equiv="REFRESH").
You can check this link I wish This will help you
Second Solution is ----
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\ForceClassicControlPanel (Hijack.ControlPanelStyle) -> Value: ForceClassicControlPanel ->
Up-to-date version of Malwarebyte's Anti-Malware solved the problem.