A short history of everything that went wrong online, from pop-up ads to electoral interference.