Programming/JavaScript/JSSh

From Skypher

Jump to: navigation, search

Main Page
├─▼Programming
│ ├─▼JavaScript
│ │ ├─▼JSSh
│ │ │ └─○Command line
│ │ ├─○JavaScriptStringEncode()
│ │ ├─○serialize()
│ │ ├─○visualize()
│ │ ├─○stackDump()
│ │ ├─○errorHandler()
│ │ └─○Array extensions
│ ├─▷ASP
│ └─○Chimera code
└─▷Hacking

Contents


Description

JSSH allows you to evaluate and execute JavaScript code and see the results. This can be useful when developing or debugging JavaScripts. JavaScript code can be entered in the command text box below. The code will be executed using the eval() method in the execution frame. After execution, the command and it's return value are shown in the history. If the command threw an exception, information about the exception is displayed.

You can find the latest version of JavaScript Shell here:

http://jssh.skypher.com

Command line version

A command line version of JSSh exists for windows, which uses CSCRIPT.EXE to run JavaScript in a console.

Usefull tips and tricks:

You can type a new address in the address text box and navigate the execution frame by pressing ENTER or clicking theNO refresh button. The address text box will turn yellow if the address in this box differs from the current address of the execution IFrame. It will turn red if the window in the execution IFrame cannot be manipulated because it is in a different domain or zone. You can click on any old command and address that is displayed in the history to put the command in the command box or address in the address bar. (This will replace whatever you have typed there.) Double click to also execute the command or load the address in the execution frame immediately. Use theT button in the top right hand corner of a history entry to remove it. This can be useful if you want to create a "JSSH Link" and need to remove failed attempts from your history or need to remove the items because of the size limitations of your final link. Use the button to search for a specific object/property/method in the MSDN library. If you select the name of the object on the page, the prompt that asks you what you want to search for will default to that.

Personal tools