My message gets cut off for some reason. Here's the last part:
var gm4test = {
    ...
    getValue: async function(name, defval) {
        var rt;
        if (typeof GM_getValue === 'function') {
            rt = GM_getValue(name, defval);
        } else {
            rt = await GM.getValue(name, defval);
        }
        return rt;
    },
    ...
}

-- 
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 https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to