//禁用F5
window.document.onkeydown = KeyStroke;
function KeyStroke() {
var key = event.keyCode;
event.srcElement.releaseCapture();
if (key == 116) {
event.keyCode = 0;
event.returnValue = false;
}
}