Implemented storage that works for chrome and firefox and xulrunner