If you did something dodgy, the internet will eventually drag it up, which Neil Patrick Harris found out the hard way recently.