Previously it was possible to export GM_getValue / setValue to content
window scope and call them.
Now if I do :
unsafeWindow.contentGM = cloneInto(GM, unsafeWindow, {cloneFunctions:
true});
or directly
unsafeWindow.setValue = cloneInto(GM.setValue, unsafeWindow,
{cloneFunctions: true});
and then call contentGM.setValue/getValue from content scope that returns
me a privileged object whose properties can't be accessed.
Is there any way to expose GM API to content scope with FF57+GM4 ?
Thanks !
Necati
--
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.