Skip to content

Instantly share code, notes, and snippets.

@johnhunter
Created October 19, 2011 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnhunter/1297920 to your computer and use it in GitHub Desktop.
Save johnhunter/1297920 to your computer and use it in GitHub Desktop.
Weinre mobile remote debug booklarklet
javascript:(function(e,h){h=prompt('Enter hostname (return for localhost)');h=h||'localhost';e.setAttribute("src","http://"+h+":8081/target/target-script-min.js#anonymous");document.getElementsByTagName("body")[0].appendChild(e);}(document.createElement("script")));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment