JavaScript interactive URL (Request method)

An interactive JavaScript statement executor.

Availability:

JavaScript - 1.0
JScript - 3.0
Internet Explorer - 4.0
Netscape - 2.0

You can type short pieces of JavaScript source code into the location box and press return and the results will be executed in the document window.

For example, to see the value of some mathematical constants, you type these lines:

javascript:Math.PI

javascript:Math.LOG10

javascript:Number.MAX_VALUE

javascript:alert(top.location)

See also:Bookmarklets, JavaScript Bookmark URLs, JavaScript debugger console, javascript: URL

Cross-references:

Wrox Instant JavaScript - page - 48