The option.js file of “Email this page“ (Chrome extension example) contains the following code:
if (window.localStorage == null) {
...
if (window.localStorage.customMailtoUrl == null) {
What does this mean? What is window.localStorage?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
localStorage/sessionStorage is part of HTML5 API. Essentially, this is what cookies are used for. But this is a lot better.
https://developer.mozilla.org/en/DOM/Storage