Browser detection script to redirect PPC's
I'm looking for anyone that knows enough HTML and JavaScript to either direct me to a browser detect script or assist me in writing one so that I can insert that into the website of the company I work for so that it will either direct them to the main homepage, or to the PDA/WAP version of the site for those using mobile devices. I know it's possible because Google does this, but I'm not sure how to go about writing such a script. Any help would be greatly appreciated. Please PM me if you have any info or post links here to any code already available.
|