that you scan (in Safe Mode) with a good anti-virus (like AVG free) and spyware (Spybot) apps (updated first), delete anything found and then rescan. If nothing is found on the rescan, reboot and see what happens.
Sadly, some of the porno sites have some of the most difficult malware to get rid of; hence, it is sometimes more timely to just reformat and reinstall the operating system and apps. Hopefully, your pc won't fall into this category.
If you are going to let anyone use the pc in the future, it might be wise to give them their own limited user account and install
K9 Web Protection found here http://www.k9webprotection.com/
It has levels of protection you can easily configure, it works great and is free.