I am building a bookmarlet based on this site: http://www.latentmotion.com/how-to-create-a-jquery-bookmarklet/
This is the code of bookmarlet:
javascript:(function(){
var head=document.getElementsByTagName('head')0],
script=document.createElement('script');
script.type='text/javascript';
script.src='http://myserver.com/bookmarlet-remote.js?' + Math.floor(Math.random()*99999);
head.appendChild(script);
})();
void 0
How I can pass a variable from the bookmarlet (above code), to bookmarlet-remote.js ?
I've tried after var myNewvar='myValue', without success, Any Idea?