This is a demonstration using JavaScript and cookies to determine the number of page loads and, thus, controlling page content and popup windows. This demonstration will work for you only if you have your browser set to accept cookies.

Instructions for use were first published in WillMaster Possibilities, in an articles titled, "How to Use Cookies, Part II." The article is linked from the WillMaster Possibilities archives. The article, "How to Use Cookies, Part I," also linked from the archives page, contains information to assist understanding of how cookies work.

The headline, "Welcome..." text depends on the number of times you have accessed this page. (To access again, you can simply click your browser's Refresh/Reload button.)

Below the headline is a statement about how many times you have accessed this page.

You will see a popup on your first, second, and fifteenth visit, each popup different.

Retrieve the JavaScript and HTML souce code by using your browser's "view source" menu item. Because some browsers don't display all the original source code when using "view source", you may wish to use Master Snooper instead.