localstorage console code example Example: store data in localstorage chrome as per address bar url using javascript localStorage.setItem('fullName', 'Jenny Smith');