The localStorage read-only property of the window interface allows you to access a Storage object for the Document's origin; the stored data is saved across browser sessions.| MDN Web Docs
A hands-on beginner's guide to what XSS attacks are and how to prevent them.| victorzhou.com