diff --git a/readAll/readAll.js b/readAll/readAll.js index 76ff5ba..5d9bab4 100644 --- a/readAll/readAll.js +++ b/readAll/readAll.js @@ -42,6 +42,7 @@ // @match *://*.javazhiyin.com/* // @match *://m.hupu.com/bbs/* // @match *://bugstack.cn/md/* +// @match *://xiaolincoding.com/* // @match *://wap.peopleapp.com/article/* // @match *://jingyan.baidu.com/article/* // @match *://*.ifeng.com/c/* @@ -489,6 +490,15 @@ } }, 1000) // Your code here... + } else if (href.indexOf('xiaolincoding.com') != -1) { //检测到xiaolincoding + console.log("检测到xiaolincoding.com。。。。") + let interval = setInterval(function () { + if ($$$("#readmore-btn").length > 0) { + readAllRule1("#readmore-btn", ".theme-default-content") + clearInterval(interval) + } + }, 1000) + // Your code here... } else if (href.indexOf('iteye.com') != -1) { //iteye.com console.log("检测到iteye.com。。。。") readAllRule3("#btn-readmore")