I am trying to add localStorage when a user leaves the webpage (either through refreshing or closing and reopening to the url again). My browser is the latest version of Chr