In chrome 29+, the Element.scrollTop/scrollLeft and window.scroll(x, y) method doesn't give live view (on refreshing the page) when I write them in text editor and invoke from there. Whereas, in console window, it works (except on document.documentElement). Here are some test cases: // In text editor window.scroll(0, 200); // Doesn't work document.documentElement.scrollTop; // 0 document.body.scrollTop; // 0 document.body.scrollTop = 500; // // In console window document.body.scrollTop = 200; // Works // and all other works too... It doesn't work when I refresh the page. However when I completely load the page by pressing enter on the url bar, then it works.