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. General questions about these user-details scripts here should be posted to The JavaScript Forum.
QuinStreet Inc. and The JavaScript Source are not responsible for the use, misuse, or abuse of the potentially privacy-invading scripts herein. You, the user, solely hold this responsibility.
More on internet.com
Title: AOL Links Contributor: Corey (638@gohip.com) Contributor URL: http://six38.tripod.com Details: 0.50 KB Description: Let someone add you to their AOL Buddy List or have them send you an Instant Message with text in the message block that you can choose! And it's only two lines of code! [ Get Source Code ]
Title: BG based on Screen Resolution Contributor: Hamid F. Fard (hamid@petanet.com ) Contributor URL: http://www.petanet.com Details: 2.00 KB Description: There are times that you want to load different background colors/images based on a viewer's screen resolution. This script is perfect for this application. It works beautifully with IE and Netscape. [ Get Source Code ]
Title: Browser Information Contributor: Jeff Lance (jflance@aol.com) Contributor URL: http://jlance.free.fr Details: 2.52 KB Description: If your visitors are not quite sure the details of the browser they are using, you can show them with this neat little script. The script will produce a table that shows the browser name, version, platform name, and whether Java is enabled . Updated! [ Get Source Code ]
Title: Browser Information Details: 1.34 KB 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 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 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 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 Description: JavaScript can even indicate the version details of the web browser. [ Get Source Code ]
Title: Browser Version Contributor: Gregor (legreg@legreg.de) Details: 1.39 KB Description: Unlike the previous browser information scripts, this one supports Netscape 6 and Opera browsers! [ Get Source Code ]
Title: Browser & Version Redirect Details: 1.08 KB 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 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 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 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 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 Contributor: Contributor URL: http://www.kdcgrohl.com Details: 1.09 KB Description: This script displays the user's IP address in the title bar, status bar, and/or an alert box. [ Get Source Code ]
Title: IP Address Filter Details: 0.79 KB 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 Address Filter 2 Contributor: kdcgrohl (kdcgrohl@hotmail.com) Contributor URL: http://www.kdcgrohl.com Details: 1.10 KB Description: Use this script to block IP addresses. Just add the address to the script and it will be blocked from entering your site. [ Get Source Code ]
Title: IP Grabber Details: 0.71 KB 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 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 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 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 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: Lots Of Info Contributor: Daniel Beckett (dannyboyyeah@hotmail.com ) Contributor URL: http://dannyboyyeah.bravepages.com Details: 15.87 KB Description: This script displays loads of information varying from your PC/Mac to the date. [ Get Source Code ]
Title: Must Visit From.... Details: 0.62 KB 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 Details: 1.06 KB 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 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 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 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 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: Redirect if Page Moved Contributor: Sandeep Gangadharan Contributor URL: http://sivamdesign.com/scripts/ Date Uploaded: June 30, 2006 Description: This script will automatically redirect the visitor to another page after a given number of seconds if the requested page is no longer available or has been moved to a new location. [ Get Source Code ]
Title: Referrer Details: 0.52 KB 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 Contributor URL: http://javascriptsource.com Details: 0.84 KB 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 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: Right Browser Contributor URL: http://www.geocities.com/SiliconValley/6052 Details: 1.46 KB 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 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 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 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 Description: JavaScript can even tell the visitor their screensize in the format: XX pixels by XX pixels. Very neat. [ Get Source Code ]
Title: Simple Info Line Contributor: Netscape Contributor URL: http://www.netscape.com Details: 4.65 KB 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: User Language and Country Contributor: Jason Specht (webmaster@sweetyguy2001.com) Contributor URL: http://www.sweetyguy2001.com Details: 11.69 KB Description: Identify the language and country of the user's browser. Very comprehensive! IE only. [ Get Source Code ]
Title: User Report Contributor: Dion (yobo42@hotmail.com) Contributor URL: http://www.iinet.net.au/~biab/ Details: 2.61 KB 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: Visitor Monitor Details: 2.16 KB 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 ]
JavaScript® is a registered trademark of Sun Microsystems, Inc.
Jupitermedia's Database Journal offers SQL courses and other database related resources for beginner to expert developers.
|
|