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