If you need to search among the keys for a given string you could clone the index-function and modify it:
searchIndex: function(string){
var index = [], i;
for(i in _storage){
if(_storage.hasOwnProperty(i) && i != "__jstorage_meta"){
if(i.indexOf(string) !== -1) index.push(i);
}
}
return index;
}
It will return an array with keys containing the string.
If you need to search among the keys for a given string you could clone the
index-function and modify it:It will return an array with keys containing the string.