Hey, a while back I was casually searching for porn (gay porn as I’m gay) and when I was scrolling through some websites a pop up came up on my screen saying I was viewing illegal porn? I quickly got off the website and was shocked, I didn’t intend to search for illegal porn or anything like that, anyone else has this before? Thanks
Yeah that's a scammer trying to get you to install some malware.
IMO shut your browser down - try to stay off the dishonest porn sites that host scammers and check your anti-virus is up to date.
^^^
and don't do what the pop up tells you to - e.g. 'click here to pay a fine'