🏠 Home 

NGA Auto Pager

NGA自动翻页


Install this script?
  1. // ==UserScript==
  2. // @name NGA Auto Pager
  3. // @version 1.02
  4. // @description NGA自动翻页
  5. // @include /^http:\/\/(bbs\.ngacn\.cc|nga\.178\.com|bbs\.nga\.cn|bbs\.bigccq\.cn)\/(read\.php|thread\.php)/
  6. // @author wpscott
  7. // @namespace https://greasyfork.org/users/54591
  8. // ==/UserScript==
  9. var x = setInterval(function() {
  10. if(document.body.scrollHeight - document.body.scrollTop < 2000){
  11. var a = document.querySelector("a.uitxt1[title=加载下一页]");
  12. (a !== null) ? a.click() : clearInterval(x);
  13. }
  14. }, 500);