Detecting Malicious Plugins Open a browser window and visit a known-good website, such as Google.com. Infected plugins often inject advertisements into the pages that display. If you see a lot of ads or strange text, you probably have an infected browser plugin.