Here is a workaround to get some of the GM_ methods working again:
http://groups.google.com/group/greasekit-users/browse_thread/thread/7d20ed2f732b3647
And as for GM_setValue and GM_getValue, you can write your own code
(cookie-based) or use something like this (put at the end of your user
script):
var Cookie = {
PREFIX:'_greasekit',
get: function( name ){
var nameEQ = escape(Cookie._buildName(name)) + "=", ca =
document.cookie.split(';');
for (var i = 0, c; i < ca.length; i++) {
c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
},
set: function( name, value, options ){
options = (options || {});
if ( options.expiresInOneYear ){
var today = new Date();
today.setFullYear(today.getFullYear()+1, today.getMonth, today.getDay());
options.expires = today;
}
var curCookie = escape(Cookie._buildName(name)) + "=" + escape(value) +
((options.expires) ? "; expires=" + options.expires.toGMTString() : "") +
((options.path) ? "; path=" + options.path : "") +
((options.domain) ? "; domain=" + options.domain : "") +
((options.secure) ? "; secure" : "");
document.cookie = curCookie;
},
hasCookie: function( name ){
return document.cookie.indexOf( escape(Cookie._buildName(name)) ) > -1;
},
_buildName: function(name){
return Cookie.PREFIX + '_' + name;
}
};
if(typeof GM_getValue === "undefined") GM_getValue = Cookie.get;
if(typeof GM_setValue === "undefined") GM_setValue = Cookie.set;
Greasemonkey has had numerous security vulnerabilities as well, it's
all something that will be worked out over time with the development
of Greasekit. Really though, that is not a question for greasekit
users (that's what this list is), but for greasekit developers:
http://groups.google.com/group/greasekit-dev/
-justin