Middle-clicking on the image starts Google image search in a new tab
Favourites get saved inside the localStorage and restored on the next visit
Use absolute values to calculate the scale factor