Last week I got my first PocketPC for some development work and ran into some issues that I havenÂ’t seen mentioned. The PocketPC is a pretty powerful little machine, but what I didnÂ’t realize at the beginning was that Pocket Internet Explorer and most browsers for other pdaÂ’s, and slimmed down devices do not support any JavaScript.
This may not seem like a big issue, but if you visit any of your projects that were working before applying a workaround, you will probably find that the project does not anymore. It really depends on what kind of work-around you implemented. The most widely suggested work around seems to be a JavaScript re-write of the object/embed tag. Which works great, but as you probably guessed it completely fails under Pocket Internet Explorer and will fail under other slimmed down browsers/devices. So what is the best work around?
I would recommend a combination of server-side and JavaScript. On the server-side you would check to make sure that the user is a desktop user using the value return by user agent propert, and if so present them with the JavaScript workaround (You can even isolate IE users if you wanted). If they are not a desktop user, then present them with a static version.
Hope someone finds this information useful. This should be good workaround until Microsoft ends up changing Pocket Internet Explorer
Maybe I’ll provide full code in a future entry.
Update: Thank to Chris Brandt for pointing out that Pocket IE does support some JavaScript. From my testing the Eolas workaround I had implemented was failing. I will have to track down the exact reason specific to Pocket IE. I would still reccomend the same workaround though as there are bound to be more browsers out there with no JavaScript support.