Improved sychronization between incoming URLs and browser history