Cross-browser function to handle DOM events.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var a="abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video".split(" "),b=a.length;b--;)document.createElement(a[b]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function(a, b) { | |
try { | |
b = new ActiveXObject(a+b+'.'+a+b).GetVariable('$version') | |
} catch (e) { | |
b = navigator.plugins[a+' '+b]; | |
b = b ? b.description : ""; | |
} | |
return b.match(/\d+/)[0]; |