Both @grants (I'll update the post), then figure out which one to call. Work is under way to make that easier. Track https://github.com/greasemonkey/greasemonkey/issues/2559 for more detail.
On Thu, Sep 28, 2017 at 11:35 PM, Ben Hest <[email protected]> wrote: > Re: http://www.greasespot.net/2017/09/greasemonkey-4-for- > script-authors.html > > >> The new form has a dot, where the old form has an underscore. You may >> specify both, if you'd like to be compatible with Greasemonkey 4 and other >> user script engines at the same time. >> > > Excuse my ignorance, but what does it mean to "specify both"? What would > be the proper syntax to make a script compatible in both greasemonkey 4 and > tampermonkey when using these GM functions. > > -- > 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. > -- 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.
