setInterval(function() {
var event = new KeyboardEvent("keypress", {
keyCode: 39
});
document.dispatchEvent(event);
}, 1000)
Pastes.io