var input = document.querySelector("input");
input.focus();
input.selectionStart = input.value.length;
$(document).bind( 'mousewheel', function (e) {
var nt = $(document.body).scrollTop()-(e.deltaY*e.deltaFactor*100);
e.preventDefault();
e.stopPropagation();
$(document.body).stop().animate( {
scrollTop : nt
} , 500 , 'easeInOutCubic' );
} )
var lastCall = 0;
function handle() {
var now = Date.now();
if(now - lastCall > 1e3){
// логика ...
lastCall = now;
}
}