From ‘Microsoft’ virus warnings to ‘Metropolitan Police’ arrest warrants, malicious pop-ups have been gaining popularity. Here’s how to avoid them.