2.0.4 • Published 8 years ago

jsinspector v2.0.4

Weekly downloads
170
License
MIT
Repository
github
Last release
8 years ago

jsinspector

JSInspector using a easy and simple way to inpsect website that from another device .

Install and Run

For node via npm:

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.log(window); // -> {xxx: 'String', xxx2: 'Function', ..., window: 'Global'} 
console.log(document); // -> {xxx: 'String', xxx2: 'Function', ..., body: 'HTMLBodyElement'}
  • Execute Script

Using inject method to execute script in remote browser:

inject('console.log("window")')

// block codes
inject(function () {
    console.log(document)
})

// insert external script
inject.js('http://yourhost/lib.js')

// insert external style sheet
inject.css('http://yourhost/style.css')

License

The MIT License (MIT)

Copyright (c) 2014 guankaishe

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.2-1

9 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago