I want to give only first time users a "tour" of my website. I want to do with JavaScript. What I mean is that if the user has never seen my website and that it's his/her's first visit, they will get a tutorial on how to use the website. If they visit again or reload the page, they shouldn't see the tooltip. Can this be done with JavaScript Cookies? I found a PHP code, but I want to avoid PHP for now.\[code\]<?php// Top of the page, before sending out ANY output to the page. $user_is_first_timer = !isset( $_COOKIE["FirstTimer"] );// Set the cookie so that the message doesn't show again setcookie( "FirstTimer", 1, strtotime( '+1 year' ) );?><H1>hi!</h1><br><!-- Put this anywhere on your page. --><?php if( $user_is_first_timer ): ?> Hello there! you're a first time user!.<?php endif; ?>\[/code\]If it can't be done with JS, can it be done with .htaccess? I also found this:\[code\]RewriteEngine onRewriteCond %{HTTP_REFERER} ^(www\.)?(https?://)?(?!example\.com) [NC]Rewriterule ^(.*)$ http://example.com/welcome.html [r=307,NC]\[/code\]