diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 102ca186b..4060808a7 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 知乎增强 // @name:zh-TW 知乎增強 // @name:ru Улучшение Zhihu -// @version 2.3.21 +// @version 2.3.22 // @author X.I.U // @description A more personalized Zhihu experience~ // @description:zh-CN 移除登录弹窗、屏蔽指定类别(视频、盐选、文章、想法、关注[赞同/关注了XX]等)、屏蔽低赞/低评回答、屏蔽用户、屏蔽关键词、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、区分问题文章、移除高亮链接、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、直达问题按钮、默认站外直链... @@ -148,9 +148,9 @@ function menu_setting(type, title, tips, line, menu) { if (menu[i][0].indexOf('menu_blockLow') === 0) { _html += `${_br}` } else if (GM_getValue(menu[i][0])) { - _html += `${_br}` + _html += `${_br}` } else { - _html += `${_br}` + _html += `${_br}` } } _html += `` @@ -164,7 +164,7 @@ function menu_setting(type, title, tips, line, menu) { doc.querySelector('.zhihuE_SettingBackdrop_2').onclick = function(event){if (event.target == this) {document.querySelector('.zhihuE_SettingClose').click();};} // 复选框 点击事件 doc.querySelectorAll('input[name=zhihuE_Setting_Checkbox]').forEach(function (checkBox) { - checkBox.addEventListener('click', function(){if (this.checked) {GM_setValue(this.value, true);} else {GM_setValue(this.value, false);}}); + checkBox.addEventListener('click', function(){if (this.checked) {console.log('this.value',true);GM_setValue(this.value, true);} else {console.log('this.value',false);GM_setValue(this.value, false);}}); }) // 输入框 变化事件 doc.querySelectorAll('input[type=text]').forEach(function (checkBox) { diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 42228e19a..ae9c83bb3 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -6736,6 +6736,16 @@ "loadTime": 1000 } }, + "BepisDB": { + "host": "db.bepis.moe", + "url": "return fun.isPager()", + "blank": 3, + "pager": { + "nextL": ".page-item.active+li>a", + "pageE": "#inner-card-body>div", + "replaceE": ".pagination" + } + }, "xchina.co": { "host": ["xchina.co","/^xchina\\.[a-z]+$/","crxs.me","litu100.xyz","8se.me","shise.me"], "url": "return fun.isPager()",