Both statements window['localStorage']
and window.localStorage
are undefined when accessing the url "file:///C:/index.html"
Is localStorage off limits when running websites on the filesystem?
PS. I'm running the website on a Windows 7 phone hosting the website in isolatedStorage.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…