Created
June 9, 2016 09:09
-
-
Save boldfacedesign/3ce4b52c9a63832fd78775fddb62b0d7 to your computer and use it in GitHub Desktop.
Inject weinre script tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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