These scripts all deal with information about the visitors. See how many sites they've been to since they started their browser, their hostname, and a bunch of information about their browser. These are our favorite scripts! Some are very difficult to write - just look at the code.


Goedbeterbest.nl Internet

Title: Browser Information
Details: 1.40 KB * Uploaded December 12 1998
Description: If your visitors are not quite sure the details of the browser they are using, you can show them with the neat little script. The script will produce a table that shows the browser name, version, code name, and user agent.

[ Get Source Code ]

Title: Browser Information
Details: 1.34 KB * Uploaded June 12 1998
Description: This script does a great job of displaying information about your web browser including version, your computer's platform, if Java is enabled, how many pages you've visited, and screen resolution. Take a look, it's pretty cool.

[ Get Source Code ]

Title: Browser Name
Details: 0.50 KB * Uploaded August 23 1997
Description: How would you like to know the 'hi-tech' browser name for you web browser? Go here!

[ Get Source Code ]

Title: Browser Properties
Details: 3.31 KB * Uploaded January 29 1999
Description: More information about the web browser than you knew existed! Find out the code name, color depth, platform, if java is enabled, resolution, ip address, hostname, and more! Simply incredible.

[ Get Source Code ]

Title: Browser Redirection
Details: 0.63 KB * Uploaded August 23 1997
Description: If you maintain a separate page optimized for MSIE and another for Netscape, then this script will send visitors to the appropriate page.

[ Get Source Code ]

Title: Browser Version
Details: 0.50 KB * Uploaded August 23 1997
Description: JavaScript can even indicate the version details of the web browser.

[ Get Source Code ]

Title: Browser & Version Redirect
Details: 1.08 KB * Uploaded June 28 1999
Description: If you maintain separate pages for Netscape and Internet Explorer browsers and want to additionally divide each browser's page into version pages, this script is for you. The script will create a link (or can be changed to automatically redirect) to browser[version number].html. (For example, a visitor with Netscape 4.5 would see a link to netscape4.html)

[ Get Source Code ]

Title: CSS Support Redirect
Details: 0.67 KB * Uploaded September 2 1999
Description: Cascading Style Sheets (CSS) are supported in version 4.0 and new browsers. So, you can easily redirect visitors to your site who have CSS (those with version 4.0+ browsers) to your CSS page, and send everyone else who doesn't have CSS to a normal page without CSS. Cool!

[ Get Source Code ]

Title: History Length
Details: 0.52 KB * Uploaded August 23 1997
Description: Shock your visitors by telling them how many sites they have been to since they began using their browser!

[ Get Source Code ]

Title: Hostname
Details: 1.20 KB * Uploaded December 20 1997
Description: (works only for Netscape Browsers with Java enabled) If you would like to get your visitors computer hostname, use this script. Very cool.

[ Get Source Code ]

Title: Info Table
Contributor: Chad Cunningham (ccunning@socrates.mps.ohio-state.edu)
Contributor URL: http://socrates.mps.ohio-state.edu/~ccunning
Details: 2.60 KB * Uploaded April 16 1998
Description: JavaScript can write a neat little box to the screen telling the visitor's browser and operating system.

[ Get Source Code ]

Title: IP Address Filter
Details: 0.79 KB * Uploaded August 2 1999
Description: (Netscape 4.0+ with Java enabled only!) JavaScript can prevent visitors with certain IP addresses from visiting your site. Simply enter part of their IP address (the more you enter the greater the chance only the intended person will not be able to enter your site) and they will not be able to enter the site. If anyone has a Internet Explorer workaround, we'd love to post it here!

[ Get Source Code ]

Title: IP Grabber
Details: 0.71 KB * Uploaded February 28 1999
Description: (Netscape only, and Java must be enabled) Whether it's ethical or not, getting information on your site's visitors is just plain neat. As one of the most requested scripts, this little gem will allow you to get the user's IP address! Neat!

[ Get Source Code ]

Title: Java Enabled Redirect
Details: 0.54 KB * Uploaded August 12 1999
Description: If Java is enabled in the visitor's browser, they are redirected to a Java-enhanced page. Otherwise, if Java is disabled they are sent to the non-java page. Neat!

[ Get Source Code ]

Title: JavaScript Enabled Redirect
Details: 0.86 KB * Uploaded September 7 1999
Description: If your visitor has JavaScript enabled in their browser, they are automatically redirected to your JavaScript-enhanced page. If their browser doesn't support JavaScript or they have it disabled, the NOSCRIPT code will display a link to another page without JavaScript.

[ Get Source Code ]

Title: JavaScript Version
Details: 1.24 KB * Uploaded July 3 1998
Description: Neat little example which displays what JavaScript version the visitor's browser supports. It's pretty neat, extremely simple. Check it out!

[ Get Source Code ]

Title: Language
Details: 1.95 KB * Uploaded October 29 1999
Description: (Version 4.0+ browsers) Redirects a user to the page based on their language. For example, English language user browsers, which report the language as 'en' in most cases, can be redirected to an English page, while Spanish language user browser, which report the language as 'es' in most cases, can be sent to a separate Spanish page. This method works well for redirecting users in all the languages that you set up. Instructions on adding more languages are included in the source code.

[ Get Source Code ]

Title: Must Visit From....
Details: 0.62 KB * Uploaded June 30 1999
Description: If other sites links directly the sub-pages of your site or if previous required pages are being skipped, you can now require your visitors to come from a certain page! Those that did not come from the required page are alerted then send back to the required previous page. Clever!

[ Get Source Code ]

Title: Optimized Popup
Contributor: Ronnie T. Moore, Editor
Details: 1.06 KB * Uploaded March 6 2000
Description: Opens a new full screen browser window optimized for the visitor's browser (Netscape, Internet Explorer, or Other). As well, the properties of new window can be customized -- such as the toolbars, scrollbars, menu bar, location bar, the status bar, and whether it is resizable or not. Great!

[ Get Source Code ]

Title: Platform Page
Details: 0.53 KB * Uploaded May 21 1999
Description: Do you maintain a different version of your site for Windows and another for Mac users? Or, when allowing your visitor to download items from your site, would you like to automatically redirect them to the appropriate software download page for their computer? This script does it all, and it's short too!

[ Get Source Code ]

Title: Plugin Page
Contributor:Mattias Jonsson (gt96mjn@blg.du.se)
Contributor URL: http://www.du.se/~gt96mjn
Details: 0.72 KB * Uploaded June 12 1998
Description: If you maintain separate pages, one plugin enhanced, the other not, here's a simple way to send your visitors to the right page automatically. Besides being a very short script (it loads fast) you can modify the code to look for any plugin you want. Give it a try!

[ Get Source Code ]

Title: Plugins Table
Details: 2.31 KB * Uploaded August 23 1997
Description: JavaScript can create a table to display all the plugins displayed on your computer. Also tells if they are enabled, etc....

[ Get Source Code ]

Title: Plugins Alert
Details: 0.91 KB * Uploaded August 23 1997
Description: JavaScript will count how many plugins are installed then make a remark based on that count to your visitors - totally written in JavaScript!

[ Get Source Code ]

Title: Referrer
Details: 0.52 KB * Uploaded December 21 1997
Description: It's always fun to show how good you are with JavaScript. This script will show where the visitor came from. Pretty cool!

[ Get Source Code ]

Title: Referrer Redirect
Contributor: Ronnie T. Moore, Editor
Contributor URL: http://javascriptsource.com
Details: 0.84 KB * Uploaded September 19 2000
Description: Redirects the user based on the referring web address. Now its a breeze send people to different sections of your site based on where they came from. Clever!

[ Get Source Code ]

Title: Resolution Image
Contributor: Daniel Farmer (danfarmer@hotmail.com)
Contributor URL: http://www.mp3.com/protoculture
Details: 0.96 KB * Uploaded December 2 1999
Description: (Version 4.0+ Browsers) Loads an image with different dimensions based on the users screen resolution setting. Higher resolution browsers see an image with increased dimensions and lower resolution browsers see an image with decreased dimensions. This separation ensures that each browser sees the image size that looks best in their browser. Great use of JavaScript1.2 also!

[ Get Source Code ]

Title: Resolution Page
Details: 1.29 KB * Uploaded October 4 1998
Description: When users visit your page, JavaScript will determine their screen's resolution and redirect them to the page of your site that you wrote for that screen size!

[ Get Source Code ]

Title: Right Browser
Contributor URL: http://www.geocities.com/SiliconValley/6052
Details: 1.46 KB * Uploaded February 22 1998
Description: How do you let your visitors know that they do or do not have the right browser to view your site? Use this JavaScript! It'll tell them if they are using the right browser and the right version, or not....

[ Get Source Code ]

Title: Safe Colors
Contributor: The Radiance Group, Inc. (info@radiancegroup.com)
Contributor URL: http://www.radiancegroup.com
Details: 1.35 KB * Uploaded April 2 1998
Description: If you are involved with graphics creation or website design, it's important to understand how colors are seen on different browsers and different platforms. This script will show you all the "safe" colors, the ones that show up the same for all browsers and platforms. So, when you design a site or create an image, be sure to use the "browser-safe" colors! Don't you just love JavaScript?

[ Get Source Code ]

Title: Screen Details
Details: 1.41 KB * Uploaded December 21 1997
Description: Use this script to show visitors several interesting details about their screen - the screen width, screen height, and screen resolution of their browser window!! You might use this script to suggest that your visitors expand their browser to a larger size before accessing your site, etc.

Get Source Code ]

Title: Screen Percentage
Contributor: Giulio Gravinese
Contributor URL: http://www.universeg.com
Details: 1.45 KB * Uploaded September 29 1999
Description: (Requires 4.0+ browsers) Displays what percentage of your screen's total area is being used by the browser window. This script will not even be run and will not cause errors in lower version browsers.

[ Get Source Code ]

Title: Screen Size
Details: 0.51 KB * Uploaded August 23 1997
Description: JavaScript can even tell the visitor their screensize in the format: XX pixels by XX pixels. Very neat.

[ Get Source Code ]

Title: Style Sheets by Resolution
Contributor: Bob Pearson and Leah Murray (bob@pagecraft.on.ca)
Contributor URL: http://www.pagecraft.on.ca
Details: 1.74 KB * Uploaded March 7 2001
Description: Loads a style sheet depending on the user's screen resolution. Includes a default size for Netscape users.

[ Get Source Code ]

Title: User Report
Contributor: Dion (yobo42@hotmail.com)
Contributor URL: http://www.iinet.net.au/~biab/
Details: 2.61 KB * Uploaded November 2 1999
Description: Besides basic browser identification (type, version), Netscape users can also see an extensive list of every mimeType and every plugin on your computer. Select one from the pulldown menu and even *MORE* information is displayed in the box. Finally, such additional details as screen width, color depth, and how many sites you have visited so far finish of an incredible display of pure JavaScript power. Wow!

[ Get Source Code ]

Title: Simple Info Line
Contributor: Netscape
Contributor URL: http://www.netscape.com
Details: 4.65 KB * Uploaded January 24 1999
Description: Do you just not like the browser and computer "user agent" line that the web browsers use? This neat script (written by Netscape!) actually converts the user agent line into a more "user friendly" form, indicating the user's computer platform, browser version, and more! Check it out!

[ Get Source Code ]

Title: Visitor Monitor
Details: 2.16 KB * Uploaded August 23 1997
Description: If you are really interested in knowing who has come to your site, use this script. You will receive an e-mail from each visitor without them sending it. Very sneaky!

[ Get Source Code ]