javascript html5 and sqlite

Hello dear Habrachelovek.
I have some sqlite database with multiple tables, with the base running a certain program, the base is on the dropbox. Now there is a need on your tablet to view the data in the database, the app to write there is neither the desire nor the experience. Actually born or questions, is it possible using js to load the database and reading tables? just if the file was on the host that at least with php it would be possible to produce a reading, and then dropbox, which allows you to run static html pages with scripts.

Actually the question, is it possible to read sqlite in js? and if possible could anyone share information like that?!

In advance primnogo grateful!
October 8th 19 at 02:40
4 answers
October 8th 19 at 02:42
If I had Firefox, you could program to work with the base run. - Sherman_Reinger commented on October 8th 19 at 02:45
October 8th 19 at 02:44
WebKit and Opera support the so-called Web SQL Database. In fact implemented in sqlite. But the base lie in the sandbox and so easy to read from disk will not work.
You can write a simple function that will fill the dump. But in the end, to work with such a database, you need to know its structure, because sqlite in browsers is quite cropped and reflexionem problems there.
shipping need http and not from the disc if that matters - Sherman_Reinger commented on October 8th 19 at 02:47
In this case — has not. - Sherman_Reinger commented on October 8th 19 at 02:50
October 8th 19 at 02:46
IMHO zaguglit "SQLite Browser" can be found smotrelka for your tablet. Enable JS to view arbitrary files from disk user no risk is a huge hole in security.
Is that possible? - Sherman_Reinger commented on October 8th 19 at 02:49
Reader for Sqlite not find the problem, I just wanted to implement a convenient interface for viewing the data, just where the table ID associated, and watch in the main table id of the client, the flattery to another to look for there id not very convenient, it is better not to bother - Sherman_Reinger commented on October 8th 19 at 02:52
October 8th 19 at 02:48
Thank you all, so there is no possibility to implement it!
you can, if you cheat in rights work webSQL and how to use this PRAGMA command. On sqlite read details on the website, there is about special teams. PRAGMA impossible to use for chopping right, but it costs a few above. To read remote possible. BUT only. To download it will have previously completely. - Sherman_Reinger commented on October 8th 19 at 02:51

Find more questions by tags JavaScriptHTMLSQLite