In Internet Explorer, a key F1cannot be revoked using the keydown handler. You can attach to onhelp:
window.onhelp = function () {
return false;
}
The problem with firing doubles is probably an error in the plugin code, if it occurs only in Internet Explorer, you can bypass it using the event onhelp:
if ("onhelp" in window)
window.onhelp = function() {
alert("some message");
return false;
}
else
$(document).bind('keydown', 'f1', function(evt) {
alert('some message');
return false;
});