<!doctype html> <html> <head> <script> document.title = prompt("Please, reverse the default value", "Hello Qt"); if (prompt("REJECT") !== null) { document.title = "FAIL"; } </script> </head> <body> </body> </html>