If you use the browser object you can load the js library with
Callback is called when the library is loaded.
I like to have it call a construct function when it’s done. So you’d place this instead of callback:
So then when that function was called you can run basically the js you have in the script tag. Instead of the vars just call a different c2 function.
In that c2 function you now know that everything should be loaded and you can access the stuff the vars in your events did.
Set text to browser.execjs("FBInstant.player.getName()"