fix all history link in popup
localstore on window