Just wanted to know is there any way where we can store offline data/imagee(20MB+) in HTML which is supported IE 10 metro browser. I haver gone through below links
Building Offline storage
Appreciate you can give me a running sample which stores the data/images locally and retrieves later on. Note this should be supported on IE10 of Windows 8 metro(tablet PC).
There are several means of doing this:
Using the appCache, you can store offline data using manifests, but are you are strictly limited in how much data you can store
Using the indexedDB, you can store much more data, but it's up to you to read and write the data programatically.
using a combination of the two, you can use the appCache to store your HTML/JavaScript offline, and then, while offline, pull the 20+MB of image data out of the indexedDB.
Related
Chromium runs a web Javascript application from a site.
The JS code is obfuscated and is a lot of code.
The app loads some data to display.
I do not see the data stored on the file system (I run a 'find' to see if any files have been modifed right after loading the app and no files are modified).
The data IS stored somewhere locally because when internet is unplugged whatever loaded data is still showing.
Where is the data stored?? How do I find it and extract it? Is it in memory only? How would I go about scraping the data?
EDIT: Where is Blob binary data stored? answers my question partially - the data is in RAM. The question that remains is how to narrow down where in RAM. Is it possible to scan recently changed RAM for some features that we know of the data?
For Chrome on Windows 11
On Windows, Chrome stores under your user profile folder e.g. C:\Users\*******\AppData\Local\Google\Chrome\User Data\Profile 1.
The AppData folder is usually hidden and not visible in Windows Explorer by default.
I can see there is a file called Cookies which appears to be a SQLite database.
There are other folders for Local Storage, Session Storage and IndexedDB.
EDIT: Just noticed that you've asked specifically about Chromium - not sure if any of this is relevant.
I make Windows Store apps with HTML + Javascript, WinJS type apps.
I normally use localStorage to store most information, and I know how to navigate to where that localStorage is in the file system:
C:\Users\user\AppData\Local\Packages\-package-string- is the base folder for all the info, and I drill down to \AC\Microsoft\Internet Explorer\DOMStore and the localStorage xml file is in there in one of the
Knowing this makes it easy for me to take localStorage from one persons app, download it and put it into my debugging app and investigate any problems they might have related to their localStorage.
I need the same info for IndexedDb. I use Dexie.js which uses IndexedDb and I want to be able to move the file from one persons computer onto my own to debug it if necessary.
On Windows 10 (v1803) is IndexedDB located in:
C:\Users\user\AppData\Local\Packages\--package-string--\AppData\Indexed DB
I am working on a content management project where from a tool we generate html/js/css
and image files. The data we store in JSON format.
Now, I want to play the contents using browser without any server, i checked some threads
and it suggests that it may be possible using file:// protocol, I want to check if there
is any limitation if I am not using any server. Or it is not possible to omit http server..
The other thing is that, I can't use concept of local storage because my data size is huge and in HTML5 the max size supported is 10 MB my requirement is approx 25 MB.
Please suggest.
Thanks.
Seems like an odd thing to do for a CMS, no? You can use the readfile API but you're limiting yourself to IE10+: http://caniuse.com/filereader
Edit, maybe should've been a comment but... If the data is only on clients computer, who can read the content of the CMS? Or are you creating 10MB+ files on every users computer?
I'm trying to make an drawing application for FirefoxOS. Recently, i tried using indexedDB for local storage. However, since the app has to save a lot of coordinates in order to load them when starting the app the other day, indexedDB is giving me an error ABORTERROR (though only a part of drawn picture is displayed on restarting the app). I tried this in Firefox 21.0.
I would like to know how the procedure goes for saving and loading such things. I'm using Android S3 which has a similar App called S Memo which does similar stuff. The app has to be written in HTML and JavaScript because I want to use it with FirefoxOS.
You may like to save bunch of coordinates into single json or blob when lose visibility, therefore the loading will be faster and then the indexedDB is not blocked by frequent read/write operations.
Im running a javascript trading application in my browser, provided by my bank. The application gives me realtime data on stock quotes etc. Is there anyway i can get the browser to make the data available outside the browser, like writing the info to a file every ten seconds? Im using firefox.
No, the Javascript is running in a sandbox. You can write it into a html5 database build in with your browser.
May be, the application is using a SOAP-Service, which you can use directly.
there is a way save the web pages. hope it will help you.
The add on is available to save web pages in mozilla.
see https://addons.mozilla.org/en-US/firefox/addon/auto-save-document/
There is a straight-forward approach, that requires a server (even if it's a very dumb one): You could post the data to the server and have it respond with a file containing the posted data (no more, no less) that the user is prompted to save.