Script Categories













JavaScript Cookies.

Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Address Book. FF1+ IE4+ Opr6+ NN6+
Saves an address book database as a cookie on the user's computer. The author explains that although the actual example may not be particularly useful, the underlying code could be very beneficial for use in other projects

Bookmark Reminder. FF1+ IE4+ Opr6+ NN6+
Pops up the "Add to Favorites" bookmark window once a week, or after every certain number of days. Netscape users are given an alert message to remind them to bookmark the site.

Cookie Redirect. FF1+ IE4+ Opr6+ NN6+
Redirects the visitor to different pages based on the value of a stored cookie. If no cookie is found, the available items are displayed for the user to pick from, which sets a cookie for their next visit. Our demonstration uses a 'favorite animal' cookie, but this could easily be modified to fit your needs.

Favorite Bg. FF1+ IE4+ Opr6+ NN6+
Let a JavaScript cookie remember your favorite background color. On future visits, it automatically displays that background color for you.

Name Browser. FF1+ IE4+ Opr6+ NN6+
This cookies records the visitor's name and also writes the visitor's browser information to the screen.

Name Visits Last Visit. FF1+ IE4+ Opr6+ NN6+
This cookie records the visitor's name, how many visits, and the last visit.

Visits Counter. FF1+ IE4+ Opr6+ NN6+
This cookie records visits count, and displays a message.

User Name. FF1+ IE4+ Opr6+ NN6+
Cookies allow web pages to store information on the visitors computer and to later retrieve that information. This cookie records the visitor's name.

Only Popup Once. FF1+ IE4+ Opr6+ NN6+
If you have a new window open up on your home page, it opens every time your visitors come back to that page. This is rude as well as very annoying thing to force onto your visitors. But, using cookies, this script can determine if the visitor has been here before, and only open a new window on their first visit to the page. The next time they come back, the script will read the cookie, identify them as a repeat visitor, and NOT open the window again.

Remove Ads. FF1+ IE4+ Opr6+ NN6+
Catches all clicks on ads and writes a cookie on the visitor's computer. Until the cookie expires, no ads are shown.

To Do List. FF1+ IE4+ Opr6+ NN6+
Keep your To Do list up to date with this script. Demonstrates how to display, add and delete items from a list of cookies.


Wander in bonanza candy land, a confectionery paradise


©