localStorage doesn't work
See original GitHub issueWe’re trying to enable it by using
settings.setAttribute(QWebSettings.LocalStorageEnabled, True)
but this doesn’t work because earlier we enable private mode:
settings.setAttribute(QWebSettings.PrivateBrowsingEnabled, True)
and when QWebKit is in private mode localStorage is disabled.
Issue Analytics
- State:
- Created 8 years ago
- Comments:27 (18 by maintainers)
Top Results From Across the Web
Localstorage doesn't work properly - Stack Overflow
Press F12 and then in the Applications tab, on the left menu expand localstorage to see your domain and then click on that,...
Read more >localStorage doesn't work for all of the elements - SitePoint
I have a code which every time i click the button it changes the background color of different elements by toggling classes and...
Read more >507361 - localStorage doesn't work in file:/// documents
URL works in a local directory with cookies for Opera and Safari, but Mozilla using localStorage requires the file to be online to...
Read more >Local Storage doesn't work at all!!! (Example) - Treehouse
When I check the console the variables and local storage seem to be fine but it simply doesnt work. Very confusing to me....
Read more >Please Stop Using Local Storage - Randall Degges
Stop using local storage to store sensitive information. If you're putting a JWT in local storage you're doing it wrong.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FWIW, I just encountered this problem and was able to work around it by creating a Javascript profile that includes the Modernizr localStorage shim.
I still have problems with different sessions sharing local storage, this makes impossible to scrape SPA sites concurrently. EDIT: I was running my environment with aquarium, we were able to fix it by setting one slot per splash instance. I don’t know how slots work but it seems that they share resources somehow.