A Simple Cookie Alert and Document Window Open Scripts
There are several ways to script cookie viewers. With WebTV, we may just like to look at cookie ID. Most Webbers leave their cookies for easy website access and navagation to preferred pages – which comes from cookie data. But, many computer users take advantage of cookie user options Webbers don't have.
So for your computer viewers, just put this simple link at the bottom of your webpages, as a courtesy to computer viewers who may want to identify and remove your cookie after they leave your website. Typically, most knowledgeable computer users keep "Cookie Alert" on; and, either set option to reject, or accept and remove later.
WebTV PageBuilder webpages do not use the usual cookie script like other websites use. WebTV uses a less complex cgi cookie script that, basically, just contains server and webpage user ID numbers. The WebTV PageBuilder cookie is composed of just two (2) long ID number strings that apparently just log each PageBuilder webpage opening, probably for the Barnes and Noble banner exposure hits; that are related to Barnes and Noble advertising budget accounting policy.
Here's a simple cookie script you may use. Here I use a simple "alert" pop-up to show the cookie data. Click the link below to see your cookie.
To view your "Cookie" for this webpage, click here.
Here's the code I used:
To view your "Cookie" for this webpage, click <a href="javascript:alert(document.cookie)" onMouseOver="window.status='Click to view a cookie data alert.'; return true" onMouseOut="window.status='How To View Your Cookies'; return true">here</a>.
But, the alert panel above may not contain all the cookie information because of WebTV's alert panel size limitations; so you need to click below to see a new window open with your cookie data for this webpage.
To view your "Cookie" for this webpage, click here. Click "Back" to return to this webpage.
Here's the code I used for the cookie list window above:
To view your "Cookie" for this webpage, click <a href="javascript:document.cookie" onMouseOver="window.status='Click to view your cookie'; return true" onMouseOut="window.status='How To View Your Cookies'; return true">here</a>. Click "Back" to return to this webpage.
All WebTV users have a cookie list mantained on the WebTV proxy servers for each account name. The above cookie lists shows WebTV's simple cookie file format I referred to above. However, if you want to see how WebTV just uses two (2) simple cookie names with values pointing to apparently inaccessible files containing our cookie, check your cookie list by the link below:
To view your cookies' names and values, click here. This link will open a new window. Hit your "Back" key to return to this page.
The script I used for this cookie name and value list is:
<script> function showCookies() {if (document.cookie=="") {document.write("No Cookies Found")} else {thisCookie=document.cookie.split("; ") for (i=0; i<thisCookie.length; i++) {document.write("Cookie name is '"+thisCookie[i].split("=")[0]) document.write("', and the value is '"+thisCookie[i].split("=")[1]+"'<br>")}}};</script>To view your cookies, click <a href="#" onClick="showCookies()" onMouseOver="window.status='View your Cookie names and values list, here.'; return true" onMouseOut="window.status='Check out Art\'s cookie website below'; return true">here</a>. This link will open a new window. Hit your "Back" key to return to this page.
Note: You can print-out (or C&P) your cookie list from the new opened window. See how simple our WebTV accessible cookie lists are? WebTV hides our cookie list in inaccessible files, and we have no way of finding out exactly what cookie data WebTV keeps on us, or how the data is used.
It has been suggested to me by some of my friends that my scripts here are not actually getting all my WebTV cookie data, which is true because of my belief that WebTV uses a special script that only reveals the name and ID's of our inaccessible cookie file data, which points to our hidden cookie files. I use a WebTV supported object (document) and property (cookie) in the scripts that should return a legitimate cookie name and value. I believe I am getting all available WebTV cookie data using the window alert and document open methods. I ask other users who are familiar with WebTV cookie data to verify my methods here, or tell me what else to add to my scripts to get more cookie data. I just can't find any more information about WebTV cookies. Test my script on other websites to verify that it's a good cookie "name and value" script that works, and should work with WebTV.
My friend Art C, has a website explaining cookie data information. Check it out, at:
http://community-2.webtv.net/rtcamm/nibble/.
I will add more cookie scripts here soon. Check back later. Thanks for visiting my website, folks!
JaxRed
|