5 ms·
» We recommend that web developers avoid UA sniffing as much as possible; modern web platform features are nearly all detectable in easy ways. Over the past yea
by mcny 8y ago
» We recommend that web developers avoid UA sniffing as much as possible; modern web platform features are nearly all detectable in easy ways. Over the past year, we’ve seen some UA-sniffing sites that have been updated to detect Microsoft Edge… only to provide it with a legacy IE11 code path. This is not the best approach, as Microsoft Edge matches ‘WebKit’ behaviors, not IE11 behaviors (any Edge-WebKit differences are bugs that we’re interested in fixing). In our experience Microsoft Edge runs best on the ‘WebKit’ code paths in these sites. Also, with the internet becoming available on a wider variety of devices, please assume unknown browsers are good – please don’t limit your site to working only on a small set of current known browsers. If you do this, your site will almost certainly break in the future.
https://blogs.windows.com/msedgedev/2015/06/17/building-a-more-interoperable-web-with-microsoft-edge/ https://blogs.windows.com/msedgedev/2015/06/17/building-a-mo...
- gtirloni 8y agoBeing a large company, I wouldn't expect every team there to have read that. Looks like the Skype Web didn't.
- RandallBrown 8y agoMore likely someone said "We don't want to put effort into testing Firefox right now."
- mcny 8y ago> More likely someone said "We don't want to put effort into testing Firefox right now." The product teams should NOT have to test on Mozilla Firefox. We (disclaimer: I am not an Mozilla employee. Just someone who loves the web.) have a very robust Web Compat program https://github.com/webcompat/web-bugs/issues/27435 https://github.com/webcompat/web-bugs/issues/27435 and Web Compat is very interested in helping product teams. I think what the Edge team was trying to say above was detect feature support, not browser vendor. In fact, I would say there are many professionals at Microsoft willing to help the Skype team use feature detection properly. or there is always the Mozilla Developer Documentation https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Feature_detection https://developer.mozilla.org/en-US/docs/Learn/Tools_and_tes...
- skoskie 8y agoNow that’s funny.