On Oct 16, 2014, at 11:51 AM, Ray Kiddy <[email protected]> wrote: > On Wed, 15 Oct 2014 14:20:15 +0200 > "Markus Stoll, junidas GmbH" <[email protected]> wrote: > >> Hi, >> >> where possible, I switched to feature detection using >> >> http://modernizr.com >> >> This depends on a small javascript library running on your page. >> >> Markus >> > > Apparently someone already thought this was a good library. I knew it > was in wonder somewhere. Of course, everything is, somewhere. > > $ find wonder -name modernizr\* > wonder/Examples/Misc/ERWebSocketExample/WebServerResources/js/modernizr-1.7.js > wonder/Examples/Misc/ERWebSocketExample/WebServerResources/js/modernizr-1.7.min.js > > - ray
See also: er.extensions.components.ERXModernizr > > >>> Am 15.10.2014 um 05:30 schrieb Paul Hoa > dley <[email protected]>: >>> >>> Hi David, >>> >>> On 15 Oct 2014, at 11:25 am, David Holt <[email protected]> >>> wrote: >>> >>>> We're beginning to tackle just this problem. One helpful site is >>>> http://www.whatismybrowser.com and has an API available, but I'm >>>> not sure that it does anything different than you could do in WO. >>>> We use it in a support context to tell people whether they are >>>> running a browser considered out of date and gives instructions >>>> for how to update, turn on JavaScript etc. I've realized since, >>>> though that it is quite laptop/desktop centric since a quick >>>> download will not be the solution to upgrade a browser on mobile >>>> devices. >>> >>> Thanks I'll take a look at that. Google suggests there is at least >>> one Java-based browser sniffing project in what seems like active >>> development, which might be useful: >>> >>> https://github.com/HaraldWalker/user-agent-utils >>> >>> Presumably you could write a more modern implementation of >>> ERXBrowser with something like that. >>> >>>> Another problem we're encountering is the huge variety in >>>> connection speed differences between "modern" devices. Also, since >>>> people are now using USB cel sticks or their mobile devices as >>>> hotspots for laptops, the variety is unpredictable and vast. We >>>> can no longer make the assumptions about connection speed that we >>>> could have even a couple of years ago. >>>> >>>> Sorry for no solution, but maybe our experience can add fuel to >>>> the fire :) >>> >>> Definitely. I really just wanted to know what other people were >>> doing. I fully understand the philosophical objection to browser >>> sniffing, and the theoretical superiority of client-side capability >>> detection and responsive design, but sometimes you have to solve >>> actual problems in the real world on a limited budget. In this >>> case, all I want to know is whether the user is probably running a >>> "mobile" browser at the time of their first request. >>> >>> >>> -- >>> Paul Hoadley >>> http://logicsquad.net/ > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
