Tutorial and Reference


TheMadScript is a JavaScript library by TheMadComputer. TheMadScript simplifies JavaScript coding. Most of the methods and objects are simple and small and can be used with any browsers.

The JS file is directly on my website, so there's no need to worry about downloading any files.
I originally intended it to be MiniScript, but that name was taken on Blogger, so I decided to use TheMadScript, which actually fits me more and was available on Blogger. I got really excited when the first method I created worked, the box_alert() method.

What you need

Reference:

Up-to-date
box_alert()
box_confirm()
box_prompt()
writeText()
createWindow()
random()
round()
refresh()
goHistory()
url()
format()
timer()
alertLeave()
ifMatch()
showLength()
upperCase()
lowerCase()
squareRoot()

Up-to-date objects
fullDate
fullhref
screen

Variables

Obsolete:
calculate()
showDate()
css()
getScreen()


Why useful?

TheMadScript is small and simple. TheMadScript makes dealing with confirm and prompt boxes easier than what you'd normally do with JavaScript.

TheMadScript makes it really simple and easy to style your webpage. TheMadScript simplifies asking you if you're sure you want to leave the page or not.

TheMadScript has a miniature conditional statement method. TheMadScript can create variables. And these are just a few of the features in TheMadScript, because TheMadScript has more than 20 methods and objects combined.