idea: bookmarklet to persist personal form data in localStorage
As a developer, I frequently have to clear my browsers cache, and also cookies, in order to test a site. This is a PITA as now I'm logged out from Google, PivotalTracker, etc, etc.
It also showcases how very few sites store login information in localStorage by default (note to devs, if you're to offer a "Remember Me" button, use localStorage, not a cookie).
So my idea is this: a set of two bookmarklets: the first would retrieve any form data entered in a form (prior to you submitting it) and store that data in localStorage, then the second would fill out a form using the data stored in localStorage for that site.
What about security you might ask? Well, clearly this should only be used on a personal computer - and maybe password fields should be excluded in any case. But this is stored locally, it is not transmitted anywhere, and the data is not accessible to any other site, so the data should stay between you and your computer. One exception would be any potentially malicious script hosted on the site, but that seems like a risk in itself - the same script could much more effectively simply grab the form data on entry.
So - good idea or bad?
Use a different profile when developing :-)
By Unknown, at Friday, March 30, 2012 9:38:00 PM
Hmmm - thinking of mixing Ben Alman's jQuery bookmarklet generator (http://benalman.com/code/test/jquery-run-code-bookmarklet/) with Sisyphus (http://simsalabim.github.com/sisyphus/) to do this
By Oskar Austegard, at Thursday, May 03, 2012 12:43:00 PM
By Oskar Austegard, at Thursday, July 26, 2018 11:12:00 AM
YEAH THIS IS JUST AWFUL BAD
By Oskar Austegard, at Tuesday, November 03, 2020 3:41:00 PM
Post a Comment