Hello! I am developing a javascript/html/css project - a custom homepage. It's just a single html file (+images and styles) which you run locally in your web browser. localStorage is what I'm using to store bookmarks. I developed it using Google Chrome and when I tried testing the script in other browsers, it was a bit disappointing. Mozilla Firefox, as far as I know, doesn't support offline localStorage. As for IE, I won't even bother wasting my time with it (I will add a notification/suggestion to update to a modern browser if a user tries to run it in IE). I haven't yet tested it in Opera. Is there a workaround which would make it work in Firefox? Furthermore, what could you suggest? What additional features should I add? View attachment homepage_en.zip
You give is NOTHING to work with. Further you throw a spanner into the works by providing lots of irrelevant information that is hard to sort through. Get to your point and show us some code. Before you do that, do yourself a favor and validate your code.
Hello to you too! If I were to give you "some code", I'd have to copy-paste the whole script here. Since it's just one file and the problem is about the usage of the localStorage element, I believe seeing how the script works as a whole would be a better way of asking how to solve this problem. I've checked for examples on the web and my code seems to do the trick on Google Chrome, but for whatever reason it doesn't on Firefox. As for the irrelevant information, thanks for telling me that, I'll fix it. I just never feel like jumping into a board, writing a few sentences about my problem without describing anything and leaving. Especially when it's my first post.
since your using localStorage, it is not fully supported by all browsers currently. there's an alternative with the use of flash, but you need to create a flash movie that enables you to store locally and a script that enables you to communicate with the flash movie.. this link might help: http://www.shinedraw.com/data-handling/silverlight-vs-flash-local-storage/ (also shows a silverlight version) remember that the storage would be within flash's local storage and not in you browser's storage..
My first rule when developing a web page is- Test in IE, Firefox and now Chrome. I often end up creating css exceptions for each browser to get the page to display correctly.