Do I have anyway to sneak in a global variable into 'browser execute javascript' action?
Some thing like, for example
var ref = cordova.InAppBrowser.open('http://===INSERT VARIABLE HERE===', '_blank', 'location=yes');
try:
Global variable c2Var = "https://www.scirra.com/"
"var myUrl ='"&c2Var&"'; var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:2puzxi7q]
Develop games in your browser. Powerful, performant & highly capable.
try: Global variable c2Var = "https://www.scirra.com/" "var myUrl ='"&c2Var&"'; var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:1r9zr6hv]
"var myUrl ='"&c2Var&"'; var ref = cordova.InAppBrowser.open( myUrl, '_blank', 'location=yes');"[/code:1r9zr6hv]
Thank you. I'll try it out.