JavaScript Browser Buttons

Here are instructions for setting up the JavaScript browser buttons that i use in my web browsers. The little scripts on this page weren't my idea, i just like to use them.

Browser buttons in Internet Explorer
Browser Buttons in Internet Explorer 5


Browser Buttons in Netscape 4.7

Date Last Modified

This little script just alerts the date when the page was list modifed. This only works on "static" websites, not dynamic websites. Here's a preview of what this script does.

Internet Explorer

Download Date Last Modified.url into your Favorites directory. I like to put mine in the links folder so they'll appear on my toolbar like regular buttons.

Netscape and other browsers

Create a new bookmark of any page, the go to "Bookmarks" > "Edit Bookmarks". Right click on your new bookmark and select "Edit Properties". Fill in these values:

Setting bookmark properties in Netscape




Name:
Date Last Modified
Location: javascript:alert("Page last modified\n" + document.lastModified)

Don't worry about filling in the Description like i did. There's no need.

To make "Date Last Modified" a button on your toolbar, drag the bookmark into the "Personal Toolbar Folder".

Kill Exit Popup Windows

You can use this bookmark when you get stuck on a website that keeps popping up a million windows every time you try to leave the site. Just click this bookmark before you leave so no more windows will pop up.

Internet Explorer

Download Kill Exit Popup Windows.url into your Favorites directory. I like to put mine in the Personal toolbar folder so they'll appear on my toolbar like real buttons.

Netscape and other browsers

Create a new bookmark of any page, the go to "Bookmarks" > "Edit Bookmarks". Right click on your new bookmark and select "Edit Properties". Fill in these values:




Name:
Kill Exit Popup Windows
Location: javascript:void(window.onunload=null);

Don't worry about filling in the Description like i did. There's no need.

To make "Kill Exit Popup Windows" a button on your toolbar, drag the bookmark into the "Personal Toolbar Folder".

JavaScript console (Netscape only)

As anyone writing or using JavaScript knows, you have to type "javascript:" into Netscape's location bar to open the JavaScript console, where Netscape displays any errors in your code. You can also type JavaScript into the console to have it executed on the spot. If you're using Netscape, you can open the JavaScript console now.

To make a button that automatically opens the JavaScript console, follow these directions.

Create a new bookmark of any page, the go to "Bookmarks" > "Edit Bookmarks". Right click on your new bookmark and select "Edit Properties". Fill in these values:




Name:
JavaScript console
Location: javascript:

Don't worry about filling in the Description like i did. There's no need.

To make "JavaScript console" a button on your toolbar, drag the bookmark into the "Personal Toolbar Folder".

» JELLSPACE.NET «


©2001 Christian MacAuley, jellspace.net