2 window.setInterval(function() {
4 document.getElementsByClassName('endless-scroll-container')[0].style.display= 'none';
6 var ar= document.getElementsByTagName('div');
7 for(var i=0;i<ar.length;i++) {
9 if ( e.style.zIndex > 10000) {
10 e.style.display = "none";
13 ar= document.getElementsByTagName('aside');
14 for(var i=0;i<ar.length;i++) {
16 ar[i].style.display = "none";
21 var scrollTo = function(duration) {
22 var to = document.body.scrollHeight;
23 if (duration <= 0) return;
24 var difference = to - document.body.scrollTop;
25 var perTick = difference / duration * 10;
27 var sid = setInterval(function() {
28 document.body.scrollTop = document.body.scrollTop + perTick;
29 if (document.body.scrollTop > to) {
31 document.body.scrollTop = 0;