When you press CTRL+S it will activate hit the Save-Button.
$UserHeader = <<AUTOFOCUSJAVASCRIPT;
<script language="JavaScript" type="text/javascript"><!--
function getKey(keyStroke) {
isNetscape=(document.layers);
eventChooser = (isNetscape) ? keyStroke.which : event.keyCode;
which = String.fromCharCode(eventChooser).toLowerCase();
if (event.ctrlKey && which == 's') {
document.all.Save.click();
e.returnValue = false;
return false;
}
}
document.onkeydown = getKey;
//--></script>
AUTOFOCUSJAVASCRIPT
$UserBody = 'onload="onLoad()"'; # Optional <BODY> tag additional content
The idea was taken from http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20271998.html and modified to work with Usemod 1.0 by [Christopher Özbek].