Skip to content

kapusta/calc-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published