/calc-storage

Calculates sessionStorage size used. Reports it to the console.log()

Primary LanguagePerlMIT LicenseMIT

Calculate sessionStorage Used

A bookmarklet that tells you how much sessionStorage is being used. The limit is supposed to be 5 megabytes.

Pull requests accepted!

Building the Bookmarklet

On the CLI, cd into the directory that contains these files, then...

./make_bookmarklet.pl sessionStorage.js > bookmarklet.js

Installing the Bookmarklet

  • Make a new bookmark in your browser and name it.
  • Copypasta from bookmarklet.js into the URL of the new bookmark.
  • Go to your page that uses sessionStorage.
  • Click the bookmark and read the console.log();

License

MIT

Aknowlegements

Changelog

  • 0.0.1 - first release