>

The JavaScript Source - Cut and Paste JavaScript Library
Home
Submit a Script
Tutorials
Ajax Tutorials
Ajax
Buttons
Cookies
CSS
Forms
Games
Generators
Image Effects
Math Related
Misc/Libraries/Tools
Navigation
Page-Details
Pass. Prot.
Snippets
Text Effects
Time & Date
User-Details
JS Core Reference
Developers Library
HTMLGoodies
Script Count:  1,420
internet.com 
Navigation Menu
Alphabetical Listing
Site Contents

Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner














Internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements

Home } Cookie Scripts } Index

These scripts all create JavaScript Cookies. Cookies are small bits of information such as a name, a date, an order, etc. JavaScripts can set cookies on a user's hard drive and retrieve them later, when needed. General questions about cookie scripts here should be posted to The JavaScript Forum.


More on internet.com

Title: Address Book
Contributor: Joe Norman
Date Uploaded: June 6 2000
Description: Saves an address book database as a cookie on the user's computer. In addition, the underlying code could be very beneficial for use in other projects.


Title: Bookmark Reminder
Contributor: Dan Kirkpatrick
Contributor URL: http://www.troop-321.8m.com/html
Date Uploaded: June 22 2000
Description: (Best with Internet Explorer) 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.


Title: Cookie Enabled
Contributor: Chris
Date Uploaded: October 26 2005
Description: This script checks to see if the user has cookies enabled in his browser. If not, it displays an alert window letting them know your site is using cookies. Use alone or add to your cookie script.


Title: Cookie.isEnabled
Contributor: The JSLab Team, Tavs Dokkedahl
Contributor URL: http://www.jslab.dk/
Date Uploaded: May 7, 2008
Description: This function checks whether cookies are enabled in the browser. Returns true on success and false otherwise.


Title: Cookie Redirect
Contributor: Ronnie T. Moore
Contributor URL: http://javascript.internet.com/
Date Uploaded: May 11 2000
Description: 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.


Title: Cookie Redirect 2
Contributor: William Bontrager
Contributor URL: http://www.bontragerconnection.com/
Date Uploaded: January 31, 2007
Description: When a page has performed it's purpose, a cookie can be set to redirect the browser to a different page on subsequent visits. Easily implemented.


Title: Daily Welcome Cookie
Contributor: Ted Man
Contributor URL: 
Date Uploaded: November 21, 2007
Description: This script sets a cookie, with an alert window that only comes up the first time you visit the page each day. Good for calling attention to daily specials and news updates. Can be configured to work in other ways also.


Title: Delicious Cookies
Contributor: Public Domain (Thanks to Dustin Diaz)
Contributor URL: http://www.dustindiaz.com/top-ten-javascript/
Date Uploaded: March 31, 2006
Description: This collection will help you to set, get, and delete cookies. It's a nice little collection that should prove to be invaluable.


Title: ID Tracker
Contributor: Ronnie T. Moore
Contributor URL: http://javascript.internet.com/
Date Uploaded: May 19 2000
Description: Save a visitor's referral ID in a cookie ID on their computer. Then, you can you can access that ID cookie from the rest of your site. Useful to help you pay affiliate commissions or track Web site referrals.


Title: Name - Browser Info
Date Uploaded: June 30 1997
Description: This cookie records the visitor's name and writes the name, along with the visitor's browser information to the page.


Title: New to You
Contributor: Tom Negrino/Dori Smith
Date Uploaded: February 16 2005
Description: Use this cookie to show your visitors what's new on your Web site since their last visit.


Title: Only Popup Once
Date Uploaded: September 3 1999
Description: If you have a popup window which opens on your home page every time a visitor returns, it can become very annoying. 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.


Title: Remember Me
Contributor: Sandeep Gangadharan
Contributor URL: http://www.sivamdesign.com/home/
Date Uploaded: May 7, 2007
Description: This script is for use in forms that require user input; e.g., blogs which require users to type their name and e-mail address in order to submit comments. Users will have the option of allowing their information to be remembered. The script uses cookies to store and output the information.


Title: Remove Ads
Contributor: Adremover
Date Uploaded: June 15 2001
Description: Catches all clicks on ads and writes a cookie on the visitor's computer. Until the cookie expires, no ads are shown. Cool!


Title: Save and Restore Form Cookies
Contributor: Tony Davis
Contributor URL: http://www.tdavisconsulting.com
Date Uploaded: February 3, 2006
Description: This script will save all of your form fields in a cookie. It includes all text fields, radio button selections, checkbox values, etc. When your visitor returns, all form fields are automatically repopulated with the same value that they entered on their last visit.


Title: To Do List
Contributor: Pete Thompson
Contributor URL: http://www.users.globalnet.co.uk/~thompp
Date Uploaded: May 10 2001
Description: Keep your To Do list up to date with this script. Demonstrates how to display, add, and delete items from a list of cookies.


Title: User Name
Date Uploaded: July 1 1997
Description: This cookie records the visitor's name. It can then be used for identification or other purposes, as needed.


Title: Visits
Date Uploaded: July 1 1997
Description: This cookies records how many times the visitor has visited the page and writes to the page accordingly. (i.e., "You have been here 2 times").


Title: Visits - Message
Date Uploaded: June 30 1997
Description: This cookie records the number of visits, and displays a message showing how many visits have been recorded.


JavaScript® is a registered trademark of Sun Microsystems, Inc.

Be sure and give us a rating over at Script Search

Jupitermedia's Database Journal offers SQL courses and other database related resources for beginner to expert developers.




internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers