Home } Cookies } Only Popup Once



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. Neat!
[ Hit "Reload" and notice how the popup window doesn't open again! ]

The JavaScript Source: Cookies: Only Popup Once

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

The World’s Largest 802.11 Event

Sign up for the JavaScript Weekly
Text    HTML
  
internet.com Privacy Policy
We'll send this script to you!

(just click "Send it!" once!)

Instant Messaging Planet Fall
Copyright 2002 INT Media Group, Incorporated All Rights Reserved.
Legal Notices, �Licensing, Reprints, & Permissions, �Privacy Policy.
http://www.internet.com/
Hosted by www.Geocities.ws

1