I understand your browser continuously opens new windows once it is opened.
Have you scanned the system using the utilities DavidPK suggested? If so, did the report the system as clean?
Have you tried uninstalling and reinstalling your browsers?
Boot into safe mode with networking. Does it happen in safe mode?