javascript
check if browser supports Local Storage
How to Check if Browser Supports Local Storage in HTML If you are writing web applications that support offline data storage, then you will need to know if the browser supports local storage or not. Here's how you can check if the browser supports local storage: Method 1: