This small javascript allows you to set a cookie on your visitors computer. If the cookie still exists the next time they visit, they are redirected to the page of your choice. Ideal for redirecting visitors who have already seen you (long) flash intro or your popup windows. Tested on Mac and PC in Netscape, Opera and IE. Simply copy the following JavaScript to your document. There are two variables you can set. These are go_to, which is the URL your visitor should be redirected to, and num_days which is the number of days the cookie should remain on your visitor's computer. Once the cookie has expired, the process begins again. That is, the next time the visitor hits the page, the cookie is set and waits for the visitor's next hit.
Similar scripts
javascript cookies
(Popularity: ) : 4 javascript cookie functions that I wrote for various website projects. I put them together in this script and used ... Cookies Royalities Example
(Popularity: ) : You are promoting in this page some product on sale in another domain. If your Visitor surfs there from here ... String Manager
(Popularity: ) : The outputs of this Cookie Script do not mix with other strings outcoming from other directory cookies , thanks to ... Stored Documents
(Popularity: ) : Stored Documents is multi-platform compatible. The Stored Documents script provides three separate JavaScript functions, which display the 'Store this document' ...