HTML5 Shim - How to dynamically detect if browser needs it?

317 views Asked by At

I have a page which uses html5 events via javascript such as the input keyboard event on an <input> field.

How can I dynamically detect that the browser needs the html5shim, so I can download it only if necessary? I know that I probably have to use the window.navigator object or something similar, but I have no ideas besides that.

Any suggestions?

0

There are 0 answers