Here are a few of the basic script examples you can assign to buttons. I have included buttons that will view the source code, move back through your browser history and close the current page.