Check compatibility with browsers

Asked

Viewed 84 times

2

How do you check the compatibility of the websites in the various browsers? What online tools do you use? Or do you test on your own? Any experience reporting on this? Currently we need to always be attentive to the issue of compatibility, because we can not expect users of Firefox only, but also of Chrome, Opera, Safari..

1 answer

2


The polyfills are a way to use modern code in ancient browsers, but knowing exactly what should be treated is very difficult there Mozilla created Polyfill as a Service.

It basically works like this; you insert a script whose URL points to this service and next to the request of the script the browser sends the header user-agent that identifies which browser the user is using, and based on this information is served a script that makes the polyfill of modern features that your browser does not contemplate.

Unlike modernizr that only detects the features that are missing this service actually fills in the gaps.

If you want to hack into the project the repository on Github is this one; https://github.com/Financial-Times/polyfill-service

I have not tested this service but it seems VERY promising.

  • 1

    Wow, that’s interesting, to say the least.. It seems that Mozilla has made it a lot easier, because polyfills exist, and for various needs they meet, some insert elements in place of the ones not recognized by the old browsers(Nav,Section), others correct css.. From what I saw, with this service Polyfill is possible to use a single script, which is able to use all the necessary Polyfills based on the user’s browser, so this means that, who accesses with modern browsers, have no need to have working this plugins, and that’s what Mozilla did, left the work to those who needed it!

  • I believe it is +- around, I will try to use, and see if it loses a lot of revenue for the old browsers, but I believe that if it is small sites, it is not necessary to use a plugin, only small fixes are already necessary..

  • 1

    As it says in the article, you can specify only what you want. If you need few things you can implement polyfills in your javascript yourself! After testing post a feedback here

Browser other questions tagged

You are not signed in. Login or sign up in order to post.