Use window.location.hash for the permanent link