Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Inject weinre script tag
var weinre_script = document.createElement("script");
weinre_script.type = "text/javascript";
weinre_script.src = "http://xxx.xx.xx.xx:8855/target/target-script-min.js#anonymous";
var head = document.getElementsByTagName('head')[0];
head.appendChild(weinre_script);
// replace xxx with IP adress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.