diff --git a/tieba page.js b/tieba page.js index cebd656..6864a11 100644 --- a/tieba page.js +++ b/tieba page.js @@ -1,7 +1,7 @@ // ==UserScript== // @name tieba page // @namespace http://tampermonkey.net/ -// @version 1.019 +// @version 1.020 // @author fthvgb1 // @match https://tieba.baidu.com/* // @match https://tiebac.baidu.com/* @@ -919,7 +919,10 @@ ]); - document.querySelector('.father-cut-pager-class-no-page').classList.remove('father-cut-pager-class-no-page'); + let lxf = document.querySelector('.father-cut-pager-class-no-page') + if(lxf){ + lxf.classList.remove('father-cut-pager-class-no-page'); + } let list = document.querySelector('ul#pblist'); let MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;