Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

jsinspector

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsinspector

JS Web Inspector

latest
Source
npmnpm
Version
2.0.4
Version published
Maintainers
1
Created
Source

jsinspector

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

![show](http://7rf30v.com1.z0.glb.clouddn.com/jsinspector.gif)

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'}
![console sync](http://7rf30v.com1.z0.glb.clouddn.com/console.png)
  • 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

Keywords

web

FAQs

Package last updated on 30 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts