JSInspector using a easy and simple way to inpsect website that from another device .
Install and Run
npm install jsinspector -g
jsinspector server
The server's port default to 9000, open Dashboard
page in browser:
http://localhost:9000
Note: use
jsinspector server --port PORT
to start server with specified port.
Features
- Console from Remote
Support console of log
, clear
, error
, info
, warn
, time
and timeEnd
:
console; // -> {xxx: 'String', xxx2: 'Function', ..., window: 'Global'} console; // -> {xxx: 'String', xxx2: 'Function', ..., body: 'HTMLBodyElement'}
- Execute Script
Using inject
method to execute script in remote browser:
// block codes // insert external scriptinject // insert external style sheetinject
License
The MIT License (MIT)
Copyright (c) 2014 guankaishe