I did an Ubuntu Webapp and I'd like to create a Preferences dialog with a litte hack.
From the webapp I can storage/retrieve values with HTML5:
if (localStorage.getItem('showNotifications')) {
// Enabling notifications...
}
I found this file in Ubuntu:
/home/costales/.local/share/Telegramzhukovgithubio/Local Storage/http_zhukov.github.io_0.localstorage
I'd like to launch an independent Python dialog with a few preferences (show notifications, autostart...), that python app reads/writes values in that file, then the webapp will read it and setting that configuration.
Is possible to read/write that values from the .localstorage file in Python? Please,how? Thanks in advance!