diff --git a/platform/firefox/vapi-common.js b/platform/firefox/vapi-common.js index de8f92f..30cac60 100644 --- a/platform/firefox/vapi-common.js +++ b/platform/firefox/vapi-common.js @@ -109,6 +109,20 @@ vAPI.closePopup = function() { /******************************************************************************/ +// A localStorage-like object which should be accessible from the +// background page or auxiliary pages. +// This storage is optional, but it is nice to have, for a more polished user +// experience. + +vAPI.localStorage = { + key: function(){}, + getItem: function(){}, + setItem: function(){}, + removeItem: function(){} +}; + +/******************************************************************************/ + })(); /******************************************************************************/