User:Reiazur/testing.js

// Copyright 2012 Reiazur. // Since there's little JavaScript in here, I'd assume that I will make more // JavaScript later on (UTC +08:00)

/* Any JavaScript here will work just like User:Reiazur/global.js */

/* Only works in HTML, but not tested to be working in MediaWiki syntax. This    JavaScript is taken from my HTML document (I know HTML) */

function confirmation { var answer = confirm("Leave?") if (answer){ alert("Goodbye!") window.location = "http://www.yahoo.com/"; }	else{ document.write(" ERROR 404 Page not found. Press the right button on your web browser to go to the next page. ") } }