If you’re on chrome check your extensions, you may have picked up a dodgy one.

yeah i’ve done that a few times, the only one i’ve installed since i started having problems is adblock though

and i only got that bc of how i only get redirected from websites with ads so maybe if i block the ads it’ll stop?? idk