R
E
S
O
U
R
C
E
S
       Home      Products & Services      Contact Us      Links


WebHatchers will design & develop your site for you.
_______________________

Website Menu Heaven: menus, buttons, etc.
_______________________

Send us your questions.
_______________________


_______________________
HOME
SEO, Google, Privacy
   and Anonymity
Browser Insanity
JavaScript
Popups and Tooltips
Free Website Search
HTML Form Creator
Animation
Buttons and Menus
Counters
Captchas
Image Uploading
CSS and HTML
PHP
AJAX
XPATH
Website Poll
IM and Texting
Databases—MySQL
   or Not MySQL
Personal Status Boards
Content Management
   Systems
Article Content
   Management Systems
Website Directory
   CMS Systems
Photo Gallery CMS
Forum CMS
Blog CMS
Customer Records
   Management CMS
Address Book CMS
Private Messaging CMS
Chat Room CMS
JavaScript Charts
   and Graphs




Personal Status Boards (PSB™)

Standard Free PSB

PSB Pro Version

Social PSB

Social PSB Plus (with Email)

Business PSB

Business PSB Plus (with Email)

PSB demo

Social PSB demo

Business PSB demo

So what's all this PSB stuff about?

Chart comparing business status boards

PSB hosting diagram

PSB Licence Agreement



Copyright © 2002 -
MCS Investments, Inc. sitemap

PSBs, social networking, social evolution, microcommunities, personal status boards
PSBs, social networking, business personal status boards
website design, ecommerce solutions
website menus, buttons, image rotators
Ez-Architect, home design software
the magic carpet and the cement wall, children's adventure book
the squirrel valley railroad, model railroad videos, model train dvds
the deep rock railroad, model railroad videos, model train dvds

The Simplest Effective Browser Sniffer

ALL OF THE FOLLOWING JAVASCRIPT ABOUT BROWSER DETECTION SEEMS TO WORK ON JUST ABOUT ALL PLATFORMS AND JUST ABOUT ALL BROWSERS, AS LONG AS JAVASCRIPT IS TURNED ON. Note: I chose to only test for Safari and IE on the Mac, so figure it's Mac Firefox if it isn't Mac IE or Mac Safari but it is Mac. The Netscape/Firefox/Mozilla test is all one variable: Netscape. There's no use testing for Netscape, Mozilla, or Firefox on the Mac since Safari tests erroneously indicate true for the Netscape tests—why Safari wants to be seen as Netscape is anyone's guess, and my guess is that with primitive sniffers that see only IE and Netscape/Firefox/Mozilla, the non-IE Mac browsers are a lot more likely to display well with Netscape-browser-targeted code than IE code. (This would be Apple's way of dealing with the "who cares about little old Mac?" webmasters.) I leave out Konqueror or other minor browsers since they need to either have the good sense to be detected as one of the main browser types like IE or Netscape/Firefox/Mozilla or get out of the browser game. It's true that various tricks can be played to create false browser sniffing results, so these tests are not infallible, but the trouble with object detection is that the browser may begin supporting this object, which makes such tests go awry. However, window.opera and document.all seem like safe bets for object detection for a long time to come. Chrome thinks it's Netscape and Windows Safari as well as Chrome, but it isn't—it's only Chrome.


mactest=(navigator.userAgent.indexOf("Mac")!=-1) //My browser sniffers

is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1

Netscape=(navigator.appName.indexOf("Netscape") != -1)

msafari=(navigator.userAgent.indexOf("Safari")!= -1)

wsafari=0; if(!mactest&&msafari){wsafari=1;msafari=0}

is_opera = 0; if(window.opera){is_opera=1}

is_ie_mac = 0; is_ie=0;if(document.all){is_ie=1}

if(is_ie&&mactest){is_ie_mac=1}

alert("mactest:"+mactest+", Netscape:"+Netscape+", wsafari:"+wsafari+", msafari:"+msafari+", is_ie:"+is_ie+", is_ie_mac:"+is_ie_mac+", is_opera:"+is_opera+", is_chrome:"+is_chrome)