document.documentElement.scrollTop = document.body.scrollTop = 1200; document.documentElement.scrollLeft = document.body.scrollLeft = 600;Code language: JavaScript (javascript)