A trivial example of a JavaScript URL is javascript:alert("Hello World!") |
A JavaScript URL may appear anywhere an ordinary URL is expected: <A HREF="javascript:history.back()">Previous Page</A> |
Navigator even has a mini-scripting environment invoked by typing javascript: into the browser's location text field |