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?