I've just added another example to the end of this wiki section ("Complete
end-to-end set and get example"):

https://wiki.greasespot.net/GM.getValue#Examples

Does that help you?  (It specifically calls out that if you set and then
later want to get the same value, you must wait for the set to complete
before the next get will see that just set value.  And also note that await
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await>
only works in an async function.)

-- 
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