Originally Posted by Harry Dance
Note, concerning the posted mobile detection script:
Comment out (remove) the 'Win32' line, as this is just for testing (on a windows machines).
(uagent.search("palm") != -1) /* ||
(navigator.platform.indexOf("Win32") != -1)*/
And comment out the 'cookie null' line, like this:
as this will clear the cookie each time and is useful for testing.