This web page contains JavaScript code that mimics the behaviour of a web server that generate a web page using the template below:
Click here for a silly pop-up
If you want to go to ${name}'s name homepage, click here.
Here we use no encodings whatsoever, so it should be easy to create problems by providing weird input as parameters. These problems could be execution of scripts (i.e. XSS), corrupting links, or simply breaking stuff and ending up with a totally mangled web page. Try to see if you can inject scripts in the various field. Or simply try to get the parsing of the HTML, the URLs, or (the string literals in) the JavaScript to go off the rails.
Hitting the buttons below executes a JavaScript function generateWebPage that uses the values above to generate an HTML web page. The buttons use two different techniques provided by the DOM API to get your browser to render the generated HTML: innerHTML and document.write().
Here the generated webpage will appear