I am not dev, just a newbie with a broken script too.

I read something about Greasemonkey 2.0 Release :
<http://www.greasespot.net/2014/06/greasemonkey-20-release.html>Greasemonkey 
2.0 Release .*Backwards incompatible* changes:

   - For stability, reliability, and security the privileged sandbox has 
   been updated to match the new changes to unsafeWindow for the Add-on SDK 
   
<https://blog.mozilla.org/addons/2014/04/10/changes-to-unsafewindow-for-the-add-on-sdk/>
   .  
   - *In order to write values to unsafeWindow you will need to use the new 
   methods* cloneInto(), exportFunction(), and/or createObjectIn().

The Link on Addon-SDK give some technique to solve that , but i don't 
understand how to do in my case.

Maybe you understand better how to fix...
In the script that i try to fix, i find this *unsafeWindow* too :
buildGetString: function (args, noToken) {
        delete args[ "api_sig" ];
        if (unsafeWindow.global_auth_hash) {
            // I believe this is the old authentication?
            args[ "auth_hash" ] = unsafeWindow.global_auth_hash;
        } else {
            delete args[ "auth_hash" ]; 
<http://fr.pinterest.com/pin/create/extension/>

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

Reply via email to