Closed njam closed 11 years ago
Hi,
I have no way to check the script on Android, maybe this can be corrected in this way:
JSON.parse ('' + sessionStorage.getItem ('__hitoryapi__'))
Please try to use this method. If all goes well, let me know what I would have made changes to the master branch. Thank you!
@devote yes this works! Verified on Android 2.3 browser.
I made changes, thank you!
Thank you!
There is one issue stopping
history.iegte8.js
from working with the Android 2.3 stock browser:JSON.parse(null)
throws an exception.This occurs in 1 place in the code:
I see two ways of fixing this:
JSON.parse(sessionStorage.getItem('__hitoryapi__') || null)
JSONParse
from the IE6-version, but the emulation part is not really needed.What do you think can one of these fixes be added to
history.iegte8.js
? I don't know how you handle it with pull requests, how do you create the minified versions etc. Please let me know if and how I should create a pull request.