Thanks, but one of the problems with this method, is that if the user
clears their history & cookies, the local storage also get cleared.
On 2/26/2015 1:23 AM, Andreas Thuresson wrote:
I can confirm the same problem, a workaround could be to define your
own functions but that means you loose your data (unless of course you
manually copy it).
Example code for creating your own functions with local storage.
|
this.GM_getValue=function(key,def){
returnlocalStorage[key]||def;
};
this.GM_setValue=function(key,value){
returnlocalStorage[key]=value;
};
this.GM_deleteValue=function(key){
returndeletelocalStorage[key];
};
|
I would appreciate a proper solution to the problem greatly though.
On Thursday, February 26, 2015 at 4:45:29 AM UTC+1, Matt Sargent wrote:
Since installing FF36, I'm getting a "not defined" error for
GM_getValue. If I revert back to FF35, the scripts work fine.
GM_getValue is granted. Is a fix in the work for this, or is there a
workaround?
--
You received this message because you are subscribed to the Google
Groups "greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.