Install Node.js
Download & install Node.js stable version from official site: http://nodejs.org/
Weinre base on Node.js, need to install Node.js first.
Weinre
1. Install
Download & unzip Weinre latest version from official site:
http://people.apache.org/~pmuellr/weinre/builds/
or install by npm
1 | npm -g install weinre |
2. Start
Run “Node.js command prompt” as administrator
1 | cd {your weinre path} |
DON’T close Node.js console.
3. Script
Adding below script to HTML to your web page.
1 | <script src="http://{Your IP}:9090/target/target-script-min.js#anonymous"> |
4. Run
Open in your browser http://localhost:9090/
Run your web page.
Select target.