From b50d67d9e5a15f97345c0078295c05aa5d649af4 Mon Sep 17 00:00:00 2001 From: dlzmoe <65840178+dlzmoe@users.noreply.github.com> Date: Sat, 14 Sep 2024 09:16:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BA=86=E9=83=A8=E5=88=86=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +- dist/linuxdo-scripts.user.js | 159 ++++++++++-------- linuxdo-scripts.user.js | 159 ++++++++++-------- package.json | 2 +- src/app.vue | 15 +- src/components/Button/ReplyBtn.vue | 9 +- .../CustomText/MenuBlockKeyword.vue | 5 +- version-log.md | 5 + 8 files changed, 204 insertions(+), 153 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77dec8f..c6035b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,2 @@ -- 新增:回复悬浮按钮 \ No newline at end of file +- 修复:回复按钮只有在帖子内才显示 +- 修复:屏蔽关键词优化 \ No newline at end of file diff --git a/dist/linuxdo-scripts.user.js b/dist/linuxdo-scripts.user.js index be2163f..3659c78 100644 --- a/dist/linuxdo-scripts.user.js +++ b/dist/linuxdo-scripts.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name linuxdo 增强插件 // @namespace https://github.com/dlzmoe/linuxdo-scripts -// @version 0.3.35 +// @version 0.3.36 // @author dlzmoe // @description linux.do 增强插件,功能持续更新,欢迎提出新想法! // @license Apache-2.0 @@ -15,13 +15,13 @@ // @grant GM_xmlhttpRequest // ==/UserScript== -(t=>{if(typeof GM_addStyle=="function"){GM_addStyle(t);return}const i=document.createElement("style");i.textContent=t,document.head.append(i)})(' input[type=text][data-v-2be3e9ac]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.emojiPicker{top:0;left:100%;position:absolute;display:grid;grid-template-columns:repeat(12,1fr);gap:10px;height:100%;overflow:auto;background-color:#000c;padding:10px;border-radius:5px;z-index:9}.emojiPicker img{cursor:pointer;width:30px;height:30px}.sidebar-section-header-caret.right{transform:rotate(-90deg)}.item select[data-v-d780d688]{height:28px;border:1px solid #b6b6b6;border-radius:4px;width:180px;margin-left:10px;cursor:pointer}.item[data-v-e33f1de9]{border:none!important}.item a[data-v-e33f1de9]:hover{text-decoration:underline}.item[data-v-cb743585],.item[data-v-86b330f1],.item[data-v-f84417d4],.item[data-v-c99e7560]{border:none!important}input[type=text][data-v-5861dcba]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.linxudoscripts-tag{background:#29a6a9;color:#fff;font-size:14px!important;padding:0 10px;height:26px;text-align:center;display:inline-flex!important;align-items:center;justify-content:center;border-radius:5px}.menu-table{width:100%}.menu-table td,.menu-table th{padding:10px;font-size:14px}.menu-table .span{cursor:pointer}.menu-table .span+.span{margin-left:10px}.item[data-v-178c15f8]{border:none}.item[data-v-b5335091]{display:block!important}p[data-v-b5335091]{margin:8px 0!important}ul[data-v-b5335091]{display:flex;flex-wrap:wrap;justify-content:space-between;list-style:none;padding:0}ul li[data-v-b5335091]{width:48%;margin-bottom:30px}input[type=radio][data-v-b5335091]{transform:scale(1.2)}.ls-flex[data-v-b5335091]{display:flex;align-content:center;margin-bottom:10px;cursor:pointer}.ls-flex input[data-v-b5335091]{margin-right:10px}.ls-flex label[data-v-b5335091]{cursor:pointer;font-weight:300}.item[data-v-b6c08155]{border:none!important;padding:0!important;margin-top:15px}.item .tit[data-v-b6c08155]{white-space:nowrap;width:160px}.item input[data-v-b6c08155]{margin:0}.btnwrapper[data-v-b6c08155]{margin-top:20px}.post-stream.lookopwrapactive .topic-post{display:none!important}.post-stream.lookopwrapactive .topic-post.topic-owner{display:block!important}@keyframes breathAnimation-57dbaeb5{0%,to{transform:scale(1);box-shadow:0 0 5px #00000080}50%{transform:scale(1.1);box-shadow:0 0 10px #000000b3}}.breath-animation[data-v-57dbaeb5]{animation:breathAnimation-57dbaeb5 4s ease-in-out infinite}.minimized[data-v-57dbaeb5]{width:50px!important;height:50px!important;border-radius:50%!important;padding:0!important;overflow:hidden;cursor:pointer}#linuxDoLevelPopupContent[data-v-57dbaeb5]{line-height:1.6;position:fixed;bottom:20px;right:90px;width:250px;height:auto;background-color:var(--tertiary-low);padding:15px;z-index:10000;font-size:14px;border-radius:5px}#linuxDoUserSearch[data-v-57dbaeb5]{width:100%;margin-top:10px}.button[data-v-57dbaeb5]{margin-top:10px}.minimize-button[data-v-57dbaeb5]{position:absolute;top:5px;right:5px;z-index:10001;background:transparent;border:none;cursor:pointer;border-radius:50%;text-align:center;line-height:40px;width:40px;height:40px}.linuxdoscripts-aidialog{position:fixed;top:0;left:-100%;width:500px;height:100vh;background:#fff;box-shadow:1px 2px 5px #0000003d;z-index:999;padding-top:60px;transition:all .1s linear;opacity:0;visibility:hidden;overflow:hidden}.linuxdoscripts-aidialog.act{left:0;opacity:1;visibility:inherit;overflow:inherit}a[data-v-45c51ed7]:hover{text-decoration:underline}.item-foot[data-v-45c51ed7]{display:flex;flex-direction:column;align-items:flex-start;position:absolute;bottom:70px;left:22px;line-height:2}.item-foot img[data-v-45c51ed7]{width:auto!important;height:20px!important}.UsageTip{position:static;margin:0;font-size:14px;line-height:1.6;background:var(--d-sidebar-background);color:var(--primary-medium)}.UsageTip>div{margin:10px 0}.UsageTip button{padding:8px 10px;margin-bottom:10px;border:none;outline:none;border-radius:4px}.timeline-container .topic-timeline .timeline-scrollarea{max-width:100px!important}#linuxdoscripts{font-size:14px}#linuxdoscripts input[type=text]{width:100%;background:var(--d-input-bg-color)}#linuxdoscripts input[type=checkbox]{transform:scale(1.2)}#linuxdoscripts #menu_suspendedball{display:none}#linuxdoscripts img{vertical-align:bottom;max-width:100%;height:auto}#linuxdoscripts .close{position:absolute;right:10px;top:45%;cursor:pointer;font-size:34px;color:#999;transform:translateY(-50%) rotate(45deg)}#linuxdoscripts .setting-btn{z-index:999;position:fixed;bottom:20px;right:20px}#linuxdoscripts .setting-btn .el-button{margin:15px 0 0;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--tertiary-low);font-size:14px;cursor:pointer;transition:all .1s linear;border:none}#linuxdoscripts .setting-btn .el-button svg{margin:0}#linuxdoscripts .setting-btn .el-button:hover{opacity:.9}#linuxdoscripts .hint{margin-top:5px;color:#d94f4f;font-size:14px}#linuxdoscripts dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:700px;background:var(--header_background);color:var(--primary);box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:16px;padding:15px;z-index:99999;overflow-x:hidden;box-sizing:border-box;margin:0;border:none;outline:none}#linuxdoscripts dialog .menu-about{padding:5px 0;line-height:2}#linuxdoscripts dialog .menu-about .initialization{color:#999;border-bottom:1px dashed #999;cursor:pointer}#linuxdoscripts dialog .menu-about .initialization:hover{color:#333;border-color:#333}#linuxdoscripts dialog p{margin:0;font-size:14px}#linuxdoscripts .menu-header{padding:.5rem .5rem 1rem;border-bottom:1px solid #eee;position:relative}#linuxdoscripts .title{font-size:18px;font-weight:600;display:flex;align-items:center}#linuxdoscripts .title img{margin-left:10px}#linuxdoscripts button{outline:0;min-width:80px;height:32px;border:none;background:var(--tertiary);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear;color:var(--secondary)}#linuxdoscripts button+button{margin-left:8px}#linuxdoscripts button.saveload{background:#3d9b93}#linuxdoscripts button.detection{background:#810000}#linuxdoscripts button:hover{opacity:.9}#linuxdoscripts .menu-flex{display:flex;justify-content:space-between;align-items:flex-start}#linuxdoscripts .menu-nav{width:140px;display:flex;flex-direction:column;margin:0 20px 0 0;padding-top:15px}#linuxdoscripts .menu-nav li{border-radius:4px;height:32px;width:100%;margin-bottom:5px;box-sizing:border-box;padding:0 10px;display:inline-flex;align-items:center;justify-content:flex-start;font-size:14px;cursor:pointer;line-height:1}#linuxdoscripts .menu-nav li svg{width:16px;margin-right:5px}#linuxdoscripts .menu-nav li.act{background:var(--bbcode-highlight)}#linuxdoscripts .menu-body{flex:1;height:480px;overflow-y:auto;padding-right:10px}#linuxdoscripts .menu-body::-webkit-scrollbar{height:8px;width:8px}#linuxdoscripts .menu-body::-webkit-scrollbar-corner{background:none}#linuxdoscripts .menu-body::-webkit-scrollbar-thumb{background:#dee0e1;border-radius:8px}#linuxdoscripts .menu-body .menu-body-item{display:none}#linuxdoscripts .menu-body .menu-body-item.act{display:block}#linuxdoscripts .menu-footer{display:flex;margin-top:10px;padding-top:6px}#linuxdoscripts .import{margin-left:auto!important}#linuxdoscripts .import,#linuxdoscripts .export{background:#d1f0ff;color:#559095}#linuxdoscripts .floorlottery{background:#ffb003}#linuxdoscripts .menu-body-item{padding-bottom:30px}#linuxdoscripts .menu-body-item .item{border-bottom:1px solid rgba(0,0,0,.05);padding:15px 0;display:flex;align-items:center;justify-content:space-between}#linuxdoscripts .menu-body-item .item input[type=checkbox]{width:30px;height:16px;position:relative;background-color:#dcdfe6;box-shadow:#dfdfdf 0 0 inset;border-radius:20px;background-clip:content-box;display:inline-block;appearance:none;-webkit-appearance:none;-moz-appearance:none;-webkit-user-select:none;user-select:none;outline:none;padding:0}#linuxdoscripts .menu-body-item .item input[type=checkbox]:before{content:"";position:absolute;width:12px;height:12px;background-color:#fff;border-radius:50%;left:2px;top:0;bottom:0;margin:auto;transition:.3s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked{background-color:var(--tertiary);transition:.6s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked:before{left:14px;transition:.3s}#linuxdoscripts textarea{font-family:inherit;width:100%;min-height:100px!important;border:1px solid #999;outline:0;padding:5px;font-size:14px;margin:5px 0 0;resize:none;border-radius:0;color:var(--d-input-text-color);background:var(--d-input-bg-color)}#linuxdoscripts textarea:focus{border-color:var(--tertiary);outline:2px solid var(--tertiary);outline-offset:-2px}#linuxdoscripts #floorlotterloading img{width:50px;height:50px}#linuxdoscripts .floorlotterywrap{display:none;width:400px;height:300px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:999}#linuxdoscripts .floorlotterywrap{width:400px;height:300px}#linuxdoscripts .el-checkbox__inner{border:1px solid #979797}#linuxdoscripts label{margin:0}.linuxdoscripts-opacity{display:none;position:fixed;left:0;top:0;width:100vw;height:100vh;background:#00000080;z-index:9999}.linuxlevel.four{background:linear-gradient(to right,red,#00f);-webkit-background-clip:text;color:transparent}.topic-post{position:relative}.linuxfloor{display:flex;color:var(--tertiary);width:30px;height:30px;align-items:center;justify-content:center;border-radius:6px;font-size:16px;margin-left:10px}.signature-p{color:#279a36;font-size:14px;word-break:break-word}.topic-list .views{font-weight:400!important;white-space:nowrap!important}.createreply{display:flex;flex-direction:column;max-width:300px}.createreply button{margin-bottom:10px;justify-content:flex-start;text-align:left}.topicpreview-btn{padding:4px 12px!important;font-size:14px!important;opacity:0!important}.topic-list-item:hover .topicpreview-btn{opacity:1!important}.topicpreview{position:fixed;top:0;left:0;z-index:99999;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;display:none}.topicpreview .topicpreview-container{padding:30px 0;border-radius:5px;width:100%;max-width:800px;overflow-y:auto;height:80vh;z-index:10;background:var(--header_background);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.topicpreview .topicpreview-container .topicpreview-title{font-size:22px;font-weight:600;padding:0 30px}.topicpreview .topicpreview-container .topicpreview-date{padding:0 30px;color:#666}.topicpreview .topicpreview-container .topicpreview-content>.item{display:flex;align-items:flex-start;padding:20px 30px}.topicpreview .topicpreview-container .topicpreview-content>.item .itemfloor{width:50px;text-align:left;font-size:16px;padding-top:15px;color:#25b4cf}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost{flex:1;background:var(--tertiary-low);padding:15px;border-radius:10px;font-size:15px;word-break:break-all}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost pre code{max-width:620px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost img{max-width:100%;max-height:100%;height:auto}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname{font-size:16px;color:#8f3a3a;display:flex;justify-content:space-between;align-items:center}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname span{color:#9e9e9e;margin-left:20px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemdate{color:#b9b9b9;font-size:16px;margin-left:auto}.topicpreview-opacity{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;background:#0009;z-index:9}.body-preview .sidebar-wrapper{display:none!important}body.body-preview #main-outlet-wrapper{display:block!important;padding-left:50px!important}.body-preview .d-header-wrap,.body-preview .menu_suspendedball{display:none!important}.post-activity{white-space:nowrap;display:inline-block;width:100%;text-align:left}.d-header img{height:var(--d-logo-height);width:auto;max-width:100%;object-fit:contain}.aicreated-btn,.aireplay-btn{outline:none;border:none;background:var(--tertiary-low);display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:14px;padding:4px 10px;border-radius:3px;margin-bottom:10px;margin-right:10px}.aicreated-btn{display:none}.gpt-summary-wrap{background:var(--tertiary-low);border-radius:5px;padding:10px;font-size:14px;margin:0 0 10px;line-height:1.6}.gpt-summary-wrap .airegenerate{display:none;margin-top:6px;outline:none;border:1px solid #eee;background:#ffe27d;color:#626262;padding:4px 10px;cursor:pointer;border-radius:3px}.aicreatenewtopictitle{margin-left:20px}.aicreatenewtopictitle:hover{text-decoration:underline;cursor:pointer}.aireply-popup{z-index:999999;position:fixed;top:10%;left:50%;transform:translate(-50%);width:500px;padding:20px;background:var(--tertiary-low);color:#333;box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:10px;display:none}.aireply-popup .aireply-popup-text{width:100%;height:120px}.aireply-popup .aireply-popup-close{outline:0;min-width:80px;height:32px;border:none;background-color:var(--header_background);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear}#messageToast{z-index:9999999;position:fixed;left:50%;transform:translate(-50%);top:10%;width:100%;display:flex;flex-direction:column;align-items:center}#messageToast .messageToast-text{background:var(--tertiary-low);color:var(--primary);border-radius:6px;width:auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-align:center;line-height:1;height:40px;min-width:240px;font-size:16px;padding:0 30px;box-sizing:border-box;margin-bottom:10px;opacity:0;animation:messageToast .2s forwards}@keyframes messageToast{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.pangutext{cursor:pointer;margin-left:20px}.pangutext:hover{color:#279a36}.navigation-container.is-active{position:fixed;top:65px;background:var(--header_background);z-index:9;box-shadow:1px 3px 7px #0003;margin-left:-30px;padding-left:30px;border-radius:5px;padding-top:10px;padding-right:20px;min-width:1000px;width:auto} '); +(t=>{if(typeof GM_addStyle=="function"){GM_addStyle(t);return}const i=document.createElement("style");i.textContent=t,document.head.append(i)})(' input[type=text][data-v-2be3e9ac]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.emojiPicker{top:0;left:100%;position:absolute;display:grid;grid-template-columns:repeat(12,1fr);gap:10px;height:100%;overflow:auto;background-color:#000c;padding:10px;border-radius:5px;z-index:9}.emojiPicker img{cursor:pointer;width:30px;height:30px}.sidebar-section-header-caret.right{transform:rotate(-90deg)}.item select[data-v-d780d688]{height:28px;border:1px solid #b6b6b6;border-radius:4px;width:180px;margin-left:10px;cursor:pointer}.item[data-v-e33f1de9]{border:none!important}.item a[data-v-e33f1de9]:hover{text-decoration:underline}.item[data-v-cb743585],.item[data-v-86b330f1],.item[data-v-f84417d4],.item[data-v-77789f1e]{border:none!important}input[type=text][data-v-5861dcba]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.linxudoscripts-tag{background:#29a6a9;color:#fff;font-size:14px!important;padding:0 10px;height:26px;text-align:center;display:inline-flex!important;align-items:center;justify-content:center;border-radius:5px}.menu-table{width:100%}.menu-table td,.menu-table th{padding:10px;font-size:14px}.menu-table .span{cursor:pointer}.menu-table .span+.span{margin-left:10px}.item[data-v-178c15f8]{border:none}.item[data-v-b5335091]{display:block!important}p[data-v-b5335091]{margin:8px 0!important}ul[data-v-b5335091]{display:flex;flex-wrap:wrap;justify-content:space-between;list-style:none;padding:0}ul li[data-v-b5335091]{width:48%;margin-bottom:30px}input[type=radio][data-v-b5335091]{transform:scale(1.2)}.ls-flex[data-v-b5335091]{display:flex;align-content:center;margin-bottom:10px;cursor:pointer}.ls-flex input[data-v-b5335091]{margin-right:10px}.ls-flex label[data-v-b5335091]{cursor:pointer;font-weight:300}.item[data-v-b6c08155]{border:none!important;padding:0!important;margin-top:15px}.item .tit[data-v-b6c08155]{white-space:nowrap;width:160px}.item input[data-v-b6c08155]{margin:0}.btnwrapper[data-v-b6c08155]{margin-top:20px}.post-stream.lookopwrapactive .topic-post{display:none!important}.post-stream.lookopwrapactive .topic-post.topic-owner{display:block!important}@keyframes breathAnimation-57dbaeb5{0%,to{transform:scale(1);box-shadow:0 0 5px #00000080}50%{transform:scale(1.1);box-shadow:0 0 10px #000000b3}}.breath-animation[data-v-57dbaeb5]{animation:breathAnimation-57dbaeb5 4s ease-in-out infinite}.minimized[data-v-57dbaeb5]{width:50px!important;height:50px!important;border-radius:50%!important;padding:0!important;overflow:hidden;cursor:pointer}#linuxDoLevelPopupContent[data-v-57dbaeb5]{line-height:1.6;position:fixed;bottom:20px;right:90px;width:250px;height:auto;background-color:var(--tertiary-low);padding:15px;z-index:10000;font-size:14px;border-radius:5px}#linuxDoUserSearch[data-v-57dbaeb5]{width:100%;margin-top:10px}.button[data-v-57dbaeb5]{margin-top:10px}.minimize-button[data-v-57dbaeb5]{position:absolute;top:5px;right:5px;z-index:10001;background:transparent;border:none;cursor:pointer;border-radius:50%;text-align:center;line-height:40px;width:40px;height:40px}.linuxdoscripts-aidialog{position:fixed;top:0;left:-100%;width:500px;height:100vh;background:#fff;box-shadow:1px 2px 5px #0000003d;z-index:999;padding-top:60px;transition:all .1s linear;opacity:0;visibility:hidden;overflow:hidden}.linuxdoscripts-aidialog.act{left:0;opacity:1;visibility:inherit;overflow:inherit}a[data-v-45c51ed7]:hover{text-decoration:underline}.item-foot[data-v-45c51ed7]{display:flex;flex-direction:column;align-items:flex-start;position:absolute;bottom:70px;left:22px;line-height:2}.item-foot img[data-v-45c51ed7]{width:auto!important;height:20px!important}.UsageTip{position:static;margin:0;font-size:14px;line-height:1.6;background:var(--d-sidebar-background);color:var(--primary-medium)}.UsageTip>div{margin:10px 0}.UsageTip button{padding:8px 10px;margin-bottom:10px;border:none;outline:none;border-radius:4px}.timeline-container .topic-timeline .timeline-scrollarea{max-width:100px!important}#linuxdoscripts{font-size:14px}#linuxdoscripts input[type=text]{width:100%;background:var(--d-input-bg-color)}#linuxdoscripts input[type=checkbox]{transform:scale(1.2)}#linuxdoscripts #menu_suspendedball{display:none}#linuxdoscripts img{vertical-align:bottom;max-width:100%;height:auto}#linuxdoscripts .close{position:absolute;right:10px;top:45%;cursor:pointer;font-size:34px;color:#999;transform:translateY(-50%) rotate(45deg)}#linuxdoscripts .setting-btn{z-index:999;position:fixed;bottom:20px;right:20px}#linuxdoscripts .setting-btn .el-button{margin:15px 0 0;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--tertiary-low);font-size:14px;cursor:pointer;transition:all .1s linear;border:none}#linuxdoscripts .setting-btn .el-button svg{margin:0}#linuxdoscripts .setting-btn .el-button:hover{opacity:.9}#linuxdoscripts .hint{margin-top:5px;color:#d94f4f;font-size:14px}#linuxdoscripts dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:700px;background:var(--header_background);color:var(--primary);box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:16px;padding:15px;z-index:99999;overflow-x:hidden;box-sizing:border-box;margin:0;border:none;outline:none}#linuxdoscripts dialog .menu-about{padding:5px 0;line-height:2}#linuxdoscripts dialog .menu-about .initialization{color:#999;border-bottom:1px dashed #999;cursor:pointer}#linuxdoscripts dialog .menu-about .initialization:hover{color:#333;border-color:#333}#linuxdoscripts dialog p{margin:0;font-size:14px}#linuxdoscripts .menu-header{padding:.5rem .5rem 1rem;border-bottom:1px solid #eee;position:relative}#linuxdoscripts .title{font-size:18px;font-weight:600;display:flex;align-items:center}#linuxdoscripts .title img{margin-left:10px}#linuxdoscripts button{outline:0;min-width:80px;height:32px;border:none;background:var(--tertiary);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear;color:var(--secondary)}#linuxdoscripts button+button{margin-left:8px}#linuxdoscripts button.saveload{background:#3d9b93}#linuxdoscripts button.detection{background:#810000}#linuxdoscripts button:hover{opacity:.9}#linuxdoscripts .menu-flex{display:flex;justify-content:space-between;align-items:flex-start}#linuxdoscripts .menu-nav{width:140px;display:flex;flex-direction:column;margin:0 20px 0 0;padding-top:15px}#linuxdoscripts .menu-nav li{border-radius:4px;height:32px;width:100%;margin-bottom:5px;box-sizing:border-box;padding:0 10px;display:inline-flex;align-items:center;justify-content:flex-start;font-size:14px;cursor:pointer;line-height:1}#linuxdoscripts .menu-nav li svg{width:16px;margin-right:5px}#linuxdoscripts .menu-nav li.act{background:var(--bbcode-highlight)}#linuxdoscripts .menu-body{flex:1;height:480px;overflow-y:auto;padding-right:10px}#linuxdoscripts .menu-body::-webkit-scrollbar{height:8px;width:8px}#linuxdoscripts .menu-body::-webkit-scrollbar-corner{background:none}#linuxdoscripts .menu-body::-webkit-scrollbar-thumb{background:#dee0e1;border-radius:8px}#linuxdoscripts .menu-body .menu-body-item{display:none}#linuxdoscripts .menu-body .menu-body-item.act{display:block}#linuxdoscripts .menu-footer{display:flex;margin-top:10px;padding-top:6px}#linuxdoscripts .import{margin-left:auto!important}#linuxdoscripts .import,#linuxdoscripts .export{background:#d1f0ff;color:#559095}#linuxdoscripts .floorlottery{background:#ffb003}#linuxdoscripts .menu-body-item{padding-bottom:30px}#linuxdoscripts .menu-body-item .item{border-bottom:1px solid rgba(0,0,0,.05);padding:15px 0;display:flex;align-items:center;justify-content:space-between}#linuxdoscripts .menu-body-item .item input[type=checkbox]{width:30px;height:16px;position:relative;background-color:#dcdfe6;box-shadow:#dfdfdf 0 0 inset;border-radius:20px;background-clip:content-box;display:inline-block;appearance:none;-webkit-appearance:none;-moz-appearance:none;-webkit-user-select:none;user-select:none;outline:none;padding:0}#linuxdoscripts .menu-body-item .item input[type=checkbox]:before{content:"";position:absolute;width:12px;height:12px;background-color:#fff;border-radius:50%;left:2px;top:0;bottom:0;margin:auto;transition:.3s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked{background-color:var(--tertiary);transition:.6s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked:before{left:14px;transition:.3s}#linuxdoscripts textarea{font-family:inherit;width:100%;min-height:100px!important;border:1px solid #999;outline:0;padding:5px;font-size:14px;margin:5px 0 0;resize:none;border-radius:0;color:var(--d-input-text-color);background:var(--d-input-bg-color)}#linuxdoscripts textarea:focus{border-color:var(--tertiary);outline:2px solid var(--tertiary);outline-offset:-2px}#linuxdoscripts #floorlotterloading img{width:50px;height:50px}#linuxdoscripts .floorlotterywrap{display:none;width:400px;height:300px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:999}#linuxdoscripts .floorlotterywrap{width:400px;height:300px}#linuxdoscripts .el-checkbox__inner{border:1px solid #979797}#linuxdoscripts label{margin:0}.linuxdoscripts-opacity{display:none;position:fixed;left:0;top:0;width:100vw;height:100vh;background:#00000080;z-index:9999}.linuxlevel.four{background:linear-gradient(to right,red,#00f);-webkit-background-clip:text;color:transparent}.topic-post{position:relative}.linuxfloor{display:flex;color:var(--tertiary);width:30px;height:30px;align-items:center;justify-content:center;border-radius:6px;font-size:16px;margin-left:10px}.signature-p{color:#279a36;font-size:14px;word-break:break-word}.topic-list .views{font-weight:400!important;white-space:nowrap!important}.createreply{display:flex;flex-direction:column;max-width:300px}.createreply button{margin-bottom:10px;justify-content:flex-start;text-align:left}.topicpreview-btn{padding:4px 12px!important;font-size:14px!important;opacity:0!important}.topic-list-item:hover .topicpreview-btn{opacity:1!important}.topicpreview{position:fixed;top:0;left:0;z-index:99999;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;display:none}.topicpreview .topicpreview-container{padding:30px 0;border-radius:5px;width:100%;max-width:800px;overflow-y:auto;height:80vh;z-index:10;background:var(--header_background);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.topicpreview .topicpreview-container .topicpreview-title{font-size:22px;font-weight:600;padding:0 30px}.topicpreview .topicpreview-container .topicpreview-date{padding:0 30px;color:#666}.topicpreview .topicpreview-container .topicpreview-content>.item{display:flex;align-items:flex-start;padding:20px 30px}.topicpreview .topicpreview-container .topicpreview-content>.item .itemfloor{width:50px;text-align:left;font-size:16px;padding-top:15px;color:#25b4cf}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost{flex:1;background:var(--tertiary-low);padding:15px;border-radius:10px;font-size:15px;word-break:break-all}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost pre code{max-width:620px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost img{max-width:100%;max-height:100%;height:auto}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname{font-size:16px;color:#8f3a3a;display:flex;justify-content:space-between;align-items:center}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname span{color:#9e9e9e;margin-left:20px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemdate{color:#b9b9b9;font-size:16px;margin-left:auto}.topicpreview-opacity{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;background:#0009;z-index:9}.body-preview .sidebar-wrapper{display:none!important}body.body-preview #main-outlet-wrapper{display:block!important;padding-left:50px!important}.body-preview .d-header-wrap,.body-preview .menu_suspendedball{display:none!important}.post-activity{white-space:nowrap;display:inline-block;width:100%;text-align:left}.d-header img{height:var(--d-logo-height);width:auto;max-width:100%;object-fit:contain}.aicreated-btn,.aireplay-btn{outline:none;border:none;background:var(--tertiary-low);display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:14px;padding:4px 10px;border-radius:3px;margin-bottom:10px;margin-right:10px}.aicreated-btn{display:none}.gpt-summary-wrap{background:var(--tertiary-low);border-radius:5px;padding:10px;font-size:14px;margin:0 0 10px;line-height:1.6}.gpt-summary-wrap .airegenerate{display:none;margin-top:6px;outline:none;border:1px solid #eee;background:#ffe27d;color:#626262;padding:4px 10px;cursor:pointer;border-radius:3px}.aicreatenewtopictitle{margin-left:20px}.aicreatenewtopictitle:hover{text-decoration:underline;cursor:pointer}.aireply-popup{z-index:999999;position:fixed;top:10%;left:50%;transform:translate(-50%);width:500px;padding:20px;background:var(--tertiary-low);color:#333;box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:10px;display:none}.aireply-popup .aireply-popup-text{width:100%;height:120px}.aireply-popup .aireply-popup-close{outline:0;min-width:80px;height:32px;border:none;background-color:var(--header_background);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear}#messageToast{z-index:9999999;position:fixed;left:50%;transform:translate(-50%);top:10%;width:100%;display:flex;flex-direction:column;align-items:center}#messageToast .messageToast-text{background:var(--tertiary-low);color:var(--primary);border-radius:6px;width:auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-align:center;line-height:1;height:40px;min-width:240px;font-size:16px;padding:0 30px;box-sizing:border-box;margin-bottom:10px;opacity:0;animation:messageToast .2s forwards}@keyframes messageToast{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.pangutext{cursor:pointer;margin-left:20px}.pangutext:hover{color:#279a36}.navigation-container.is-active{position:fixed;top:65px;background:var(--header_background);z-index:9;box-shadow:1px 3px 7px #0003;margin-left:-30px;padding-left:30px;border-radius:5px;padding-top:10px;padding-right:20px;min-width:1000px;width:auto} '); (function (vue, pangu, marked, $$1) { 'use strict'; const name = "linuxdo-scripts"; - const version = "0.3.35"; + const version = "0.3.36"; const author = "dlzmoe"; const description = "An enhanced script for the linux.do forum"; const type = "module"; @@ -115,7 +115,7 @@ }; const _hoisted_1$K = { class: "item" }; const _hoisted_2$K = { class: "tit" }; - const _hoisted_3$z = ["checked"]; + const _hoisted_3$A = ["checked"]; function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [ vue.createElementVNode("div", _hoisted_2$K, vue.toDisplayString($props.sort) + ". 是否新标签页打开话题", 1), @@ -123,7 +123,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$z) + }, null, 40, _hoisted_3$A) ]); } const MenuOpenpostblank = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q]]); @@ -147,7 +147,7 @@ }; const _hoisted_1$J = { class: "item" }; const _hoisted_2$J = { class: "tit" }; - const _hoisted_3$y = ["checked"]; + const _hoisted_3$z = ["checked"]; function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [ vue.createElementVNode("div", _hoisted_2$J, vue.toDisplayString($props.sort) + ". 是否开启新话题提醒", 1), @@ -155,7 +155,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$y) + }, null, 40, _hoisted_3$z) ]); } const MenuNewtopicreminder = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P]]); @@ -183,7 +183,7 @@ }; const _hoisted_1$I = { class: "item" }; const _hoisted_2$I = { class: "tit" }; - const _hoisted_3$x = ["checked"]; + const _hoisted_3$y = ["checked"]; function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [ vue.createElementVNode("div", _hoisted_2$I, vue.toDisplayString($props.sort) + ". 是否自动展开回复", 1), @@ -191,7 +191,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$x) + }, null, 40, _hoisted_3$y) ]); } const MenuAutoexpandreply = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O]]); @@ -304,7 +304,7 @@ }; const _hoisted_1$H = { class: "item" }; const _hoisted_2$H = { class: "tit" }; - const _hoisted_3$w = ["checked"]; + const _hoisted_3$x = ["checked"]; function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", null, [ vue.createElementVNode("div", _hoisted_1$H, [ @@ -313,7 +313,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$w) + }, null, 40, _hoisted_3$x) ]) ]); } @@ -425,7 +425,7 @@ }; const _hoisted_1$G = { class: "item" }; const _hoisted_2$G = { class: "tit" }; - const _hoisted_3$v = ["checked"]; + const _hoisted_3$w = ["checked"]; function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [ vue.createElementVNode("div", _hoisted_2$G, vue.toDisplayString($props.sort) + ". 将浏览量替换为创建时间(与 4 互斥,只可选择一个)", 1), @@ -433,7 +433,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$v) + }, null, 40, _hoisted_3$w) ]); } const MenuShowcreatetime1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]]); @@ -464,7 +464,7 @@ }; const _hoisted_1$F = { class: "item" }; const _hoisted_2$F = { class: "tit" }; - const _hoisted_3$u = ["checked"]; + const _hoisted_3$v = ["checked"]; function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [ vue.createElementVNode("div", _hoisted_2$F, vue.toDisplayString($props.sort) + ". 是否显示楼层数", 1), @@ -472,7 +472,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$u) + }, null, 40, _hoisted_3$v) ]); } const MenuShowfloors = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L]]); @@ -487,7 +487,7 @@ }; const _hoisted_1$E = { class: "item" }; const _hoisted_2$E = { class: "tit" }; - const _hoisted_3$t = ["checked"]; + const _hoisted_3$u = ["checked"]; function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [ vue.createElementVNode("div", _hoisted_2$E, vue.toDisplayString($props.sort) + ". 隐藏话题详情顶部大标题", 1), @@ -495,7 +495,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$t) + }, null, 40, _hoisted_3$u) ]); } const MenuHidetopicdetailtitle = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K]]); @@ -598,7 +598,7 @@ }; const _hoisted_1$D = { class: "item" }; const _hoisted_2$D = { class: "tit" }; - const _hoisted_3$s = ["checked"]; + const _hoisted_3$t = ["checked"]; function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [ vue.createElementVNode("div", _hoisted_2$D, vue.toDisplayString($props.sort) + ". 是否开启话题预览功能", 1), @@ -606,7 +606,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$s) + }, null, 40, _hoisted_3$t) ]); } const MenuTopicpreview = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J]]); @@ -639,7 +639,7 @@ }; const _hoisted_1$C = { class: "item" }; const _hoisted_2$C = { class: "tit" }; - const _hoisted_3$r = ["checked"]; + const _hoisted_3$s = ["checked"]; function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [ vue.createElementVNode("div", _hoisted_2$C, [ @@ -656,7 +656,7 @@ type: "checkbox", checked: $options.value1, onChange: _cache[1] || (_cache[1] = ($event) => $options.updateValue1($event.target.checked)) - }, null, 40, _hoisted_3$r) + }, null, 40, _hoisted_3$s) ]); } const MenuAutoRead = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-2be3e9ac"]]); @@ -666,7 +666,7 @@ }; const _hoisted_1$B = { class: "item" }; const _hoisted_2$B = { class: "tit" }; - const _hoisted_3$q = ["checked"]; + const _hoisted_3$r = ["checked"]; function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [ vue.createElementVNode("div", _hoisted_2$B, vue.toDisplayString($props.sort) + ". 是否开启只看楼主", 1), @@ -674,7 +674,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$q) + }, null, 40, _hoisted_3$r) ]); } const MenuLookOP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H]]); @@ -691,7 +691,7 @@ }; const _hoisted_1$A = { class: "item" }; const _hoisted_2$A = { class: "tit" }; - const _hoisted_3$p = ["checked"]; + const _hoisted_3$q = ["checked"]; function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [ vue.createElementVNode("div", _hoisted_2$A, vue.toDisplayString($props.sort) + ". 智能限制楼层高度", 1), @@ -699,7 +699,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$p) + }, null, 40, _hoisted_3$q) ]); } const MenuFloorHeight = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G]]); @@ -1375,7 +1375,7 @@ }; const _hoisted_1$z = { class: "item" }; const _hoisted_2$z = { class: "tit" }; - const _hoisted_3$o = ["checked"]; + const _hoisted_3$p = ["checked"]; function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [ vue.createElementVNode("div", _hoisted_2$z, vue.toDisplayString($props.sort) + ". 是否开启中英文混排优化显示", 1), @@ -1383,7 +1383,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$o) + }, null, 40, _hoisted_3$p) ]); } const MenuPangu = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E]]); @@ -1393,7 +1393,7 @@ }; const _hoisted_1$y = { class: "item" }; const _hoisted_2$y = { class: "tit" }; - const _hoisted_3$n = ["checked"]; + const _hoisted_3$o = ["checked"]; function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [ vue.createElementVNode("div", _hoisted_2$y, vue.toDisplayString($props.sort) + ". 是否显示等级查询按钮", 1), @@ -1401,7 +1401,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$n) + }, null, 40, _hoisted_3$o) ]); } const MenuLevelSearch = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D]]); @@ -1419,7 +1419,7 @@ }; const _hoisted_1$x = { class: "item" }; const _hoisted_2$x = { class: "tit" }; - const _hoisted_3$m = ["checked"]; + const _hoisted_3$n = ["checked"]; function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [ vue.createElementVNode("div", _hoisted_2$x, vue.toDisplayString($props.sort) + ". 消息通知仅显示未读", 1), @@ -1427,7 +1427,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$m) + }, null, 40, _hoisted_3$n) ]); } const MenuShowUnread = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]); @@ -1442,7 +1442,7 @@ }; const _hoisted_1$w = { class: "item" }; const _hoisted_2$w = { class: "tit" }; - const _hoisted_3$l = ["checked"]; + const _hoisted_3$m = ["checked"]; function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [ vue.createElementVNode("div", _hoisted_2$w, vue.toDisplayString($props.sort) + ". 是否屏蔽模糊文字", 1), @@ -1450,7 +1450,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$l) + }, null, 40, _hoisted_3$m) ]); } const MenuFilterText = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]); @@ -1473,7 +1473,7 @@ }; const _hoisted_1$v = { class: "item" }; const _hoisted_2$v = { class: "tit" }; - const _hoisted_3$k = ["checked"]; + const _hoisted_3$l = ["checked"]; function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [ vue.createElementVNode("div", _hoisted_2$v, vue.toDisplayString($props.sort) + ". 只看自己签名尾巴", 1), @@ -1481,7 +1481,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$k) + }, null, 40, _hoisted_3$l) ]); } const MenuLookmeSign = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]); @@ -1534,7 +1534,7 @@ }; const _hoisted_1$u = { class: "item" }; const _hoisted_2$u = { class: "tit" }; - const _hoisted_3$j = ["checked"]; + const _hoisted_3$k = ["checked"]; function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [ vue.createElementVNode("div", _hoisted_2$u, vue.toDisplayString($props.sort) + ". 开启左侧快速访问", 1), @@ -1542,7 +1542,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$j) + }, null, 40, _hoisted_3$k) ]); } const MenuQuickAccess = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z]]); @@ -1637,7 +1637,7 @@ }; const _hoisted_1$t = { class: "item" }; const _hoisted_2$t = { class: "tit" }; - const _hoisted_3$i = ["value"]; + const _hoisted_3$j = ["value"]; function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [ vue.createElementVNode("div", _hoisted_2$t, [ @@ -1649,7 +1649,7 @@ return vue.openBlock(), vue.createElementBlock("option", { value: item.value, key: item.value - }, vue.toDisplayString(item.label), 9, _hoisted_3$i); + }, vue.toDisplayString(item.label), 9, _hoisted_3$j); }), 128)) ], 512), [ [vue.vModelSelect, $options.value2] @@ -1671,7 +1671,7 @@ }; const _hoisted_1$s = { class: "item" }; const _hoisted_2$s = { class: "tit" }; - const _hoisted_3$h = ["checked"]; + const _hoisted_3$i = ["checked"]; function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [ vue.createElementVNode("div", _hoisted_2$s, vue.toDisplayString($props.sort) + ". 快速打开 Shared(需提前解锁 Shared)", 1), @@ -1679,7 +1679,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$h) + }, null, 40, _hoisted_3$i) ]); } const MenuShowAI = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x]]); @@ -1727,7 +1727,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$r = { class: "item" }; const _hoisted_2$r = { class: "tit" }; - const _hoisted_3$g = ["checked"]; + const _hoisted_3$h = ["checked"]; function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [ vue.createElementVNode("div", _hoisted_2$r, vue.toDisplayString($props.sort) + ". 编辑器切换 ja 字体", 1), @@ -1735,7 +1735,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$g) + }, null, 40, _hoisted_3$h) ]); } const MenuEditorJa = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w]]); @@ -1815,7 +1815,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$p = { class: "item" }; const _hoisted_2$p = { class: "tit" }; - const _hoisted_3$f = ["checked"]; + const _hoisted_3$g = ["checked"]; function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [ vue.createElementVNode("div", _hoisted_2$p, vue.toDisplayString($props.sort) + ". 开启列表页导航栏浮动", 1), @@ -1823,7 +1823,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$f) + }, null, 40, _hoisted_3$g) ]); } const MenuStickyNav = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u]]); @@ -1894,13 +1894,13 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$o = { class: "item" }; const _hoisted_2$o = { class: "tit" }; - const _hoisted_3$e = /* @__PURE__ */ vue.createElementVNode("kbd", null, "→", -1); + const _hoisted_3$f = /* @__PURE__ */ vue.createElementVNode("kbd", null, "→", -1); const _hoisted_4$8 = ["checked"]; function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [ vue.createElementVNode("div", _hoisted_2$o, [ vue.createTextVNode(vue.toDisplayString($props.sort) + ". 开启快速打开下一个帖子(快捷键:双击 ", 1), - _hoisted_3$e, + _hoisted_3$f, vue.createTextVNode(")") ]), vue.createElementVNode("input", { @@ -1924,7 +1924,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$n = { class: "item" }; const _hoisted_2$n = { class: "tit" }; - const _hoisted_3$d = ["checked"]; + const _hoisted_3$e = ["checked"]; function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [ vue.createElementVNode("div", _hoisted_2$n, vue.toDisplayString($props.sort) + ". 禁用选中文字分享功能", 1), @@ -1932,7 +1932,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$d) + }, null, 40, _hoisted_3$e) ]); } const MenuSelectedShare = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s]]); @@ -1963,7 +1963,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$m = { class: "item" }; const _hoisted_2$m = { class: "tit" }; - const _hoisted_3$c = ["checked"]; + const _hoisted_3$d = ["checked"]; function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [ vue.createElementVNode("div", _hoisted_2$m, vue.toDisplayString($props.sort) + ". 禁用视频自动播放", 1), @@ -1971,7 +1971,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$c) + }, null, 40, _hoisted_3$d) ]); } const MenuDisableAutoplay = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]); @@ -1981,7 +1981,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$l = { class: "item" }; const _hoisted_2$l = { class: "tit" }; - const _hoisted_3$b = ["checked"]; + const _hoisted_3$c = ["checked"]; function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [ vue.createElementVNode("div", _hoisted_2$l, vue.toDisplayString($props.sort) + ". 是否显示回复悬浮按钮", 1), @@ -1989,7 +1989,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$b) + }, null, 40, _hoisted_3$c) ]); } const MenuShowRepltBtn = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]); @@ -2293,11 +2293,11 @@ ${$(".d-editor-input").val()} this.list = this.textarea.split(",") || []; var self = this; $(".topic-list .main-link .raw-topic-link>*").filter((index, element) => { - var text = $(element).html(); + var text = $(element).text(); return self.list.some((item) => text.includes(item)); }).parents("tr.topic-list-item").remove(); $(".topic-body .cooked").filter((index, element) => { - var text = $(element).html(); + var text = $(element).text(); return self.list.some((item) => text.includes(item)); }).parents(".topic-post").remove(); } @@ -2334,7 +2334,7 @@ ${$(".d-editor-input").val()} ]) ], 64); } - const MenuBlockKeyword = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-c99e7560"]]); + const MenuBlockKeyword = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-77789f1e"]]); const _sfc_main$k = { props: { value: { @@ -2436,7 +2436,7 @@ ${$(".d-editor-input").val()} style: { "border": "none" } }; const _hoisted_2$f = { class: "tit" }; - const _hoisted_3$a = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode("p", null, "针对分类:留空对全部分类生效,多个分类用英文逗号【,】进行分隔", -1)); + const _hoisted_3$b = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode("p", null, "针对分类:留空对全部分类生效,多个分类用英文逗号【,】进行分隔", -1)); function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ vue.createElementVNode("div", _hoisted_1$f, [ @@ -2459,7 +2459,7 @@ ${$(".d-editor-input").val()} ]) ]), vue.createElementVNode("div", null, [ - _hoisted_3$a, + _hoisted_3$b, vue.withDirectives(vue.createElementVNode("textarea", { "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.localChecked.cate = $event), placeholder: "搞七捻三" @@ -2572,7 +2572,7 @@ ${$(".d-editor-input").val()} /* @__PURE__ */ vue.createElementVNode("th", null, "标签"), /* @__PURE__ */ vue.createElementVNode("th", null, "操作") ], -1); - const _hoisted_3$9 = ["onClick"]; + const _hoisted_3$a = ["onClick"]; const _hoisted_4$7 = ["onClick"]; function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", null, [ @@ -2588,7 +2588,7 @@ ${$(".d-editor-input").val()} vue.createElementVNode("span", { class: "span", onClick: ($event) => $options.editTags(item) - }, "修改", 8, _hoisted_3$9), + }, "修改", 8, _hoisted_3$a), vue.createElementVNode("span", { class: "span", onClick: ($event) => $options.delTags(item), @@ -2872,7 +2872,7 @@ ${topic_contentdata}`; const _withScopeId$4 = (n) => (vue.pushScopeId("data-v-178c15f8"), n = n(), vue.popScopeId(), n); const _hoisted_1$d = { class: "item" }; const _hoisted_2$d = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "1. 是否开启 AI 生成话题总结", -1)); - const _hoisted_3$8 = { class: "item" }; + const _hoisted_3$9 = { class: "item" }; const _hoisted_4$6 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "2. 是否显示手动总结按钮", -1)); const _hoisted_5$5 = { class: "item" }; const _hoisted_6$4 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "3. 是否开启 AI 生成回复推荐", -1)); @@ -2897,7 +2897,7 @@ ${topic_contentdata}`; [vue.vModelCheckbox, $data.localChecked.value1] ]) ]), - vue.createElementVNode("div", _hoisted_3$8, [ + vue.createElementVNode("div", _hoisted_3$9, [ _hoisted_4$6, vue.withDirectives(vue.createElementVNode("input", { type: "checkbox", @@ -3060,7 +3060,7 @@ ${topic_contentdata}`; const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-b5335091"), n = n(), vue.popScopeId(), n); const _hoisted_1$c = { class: "item" }; const _hoisted_2$c = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, "切换论坛主题:", -1)); - const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, "无法修改,如果有样式问题无法解决,因为是直接 copy 别的论坛样式文件。", -1)); + const _hoisted_3$8 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, "无法修改,如果有样式问题无法解决,因为是直接 copy 别的论坛样式文件。", -1)); const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, [ /* @__PURE__ */ vue.createElementVNode("a", { href: "https://github.com/dlzmoe/linuxdo-scripts/tree/main/themes", @@ -3077,7 +3077,7 @@ ${topic_contentdata}`; function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [ _hoisted_2$c, - _hoisted_3$7, + _hoisted_3$8, _hoisted_4$5, _hoisted_5$4, vue.createElementVNode("ul", null, [ @@ -3407,7 +3407,7 @@ ${topic_contentdata}`; const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-b6c08155"), n = n(), vue.popScopeId(), n); const _hoisted_1$b = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "item" }, "用于在云端同步设置数据,无需手动导入导出。(同步前先保存设置)", -1)); const _hoisted_2$b = { class: "item" }; - const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "WebDav 地址:", -1)); + const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "WebDav 地址:", -1)); const _hoisted_4$4 = { class: "item" }; const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "WebDav 用户名:", -1)); const _hoisted_6$2 = { class: "item" }; @@ -3420,7 +3420,7 @@ ${topic_contentdata}`; return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ _hoisted_1$b, vue.createElementVNode("div", _hoisted_2$b, [ - _hoisted_3$6, + _hoisted_3$7, vue.withDirectives(vue.createElementVNode("input", { type: "text", "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.tableData.webdavUrl = $event), @@ -3632,7 +3632,7 @@ ${topic_contentdata}`; const _hoisted_2$a = [ _hoisted_1$a ]; - const _hoisted_3$5 = { + const _hoisted_3$6 = { key: 0, id: "linuxDoLevelPopupContent" }; @@ -3648,7 +3648,7 @@ ${topic_contentdata}`; onClick: _cache[0] || (_cache[0] = (...args) => $options.togglePopupSize && $options.togglePopupSize(...args)), title: "等级查询" }, _hoisted_2$a, 2), - !$data.isMinimized ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [ + !$data.isMinimized ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [ vue.createElementVNode("div", { innerHTML: $data.content }, null, 8, _hoisted_4$3), vue.withDirectives(vue.createElementVNode("input", { "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.username = $event), @@ -3764,24 +3764,25 @@ ${topic_contentdata}`; } } }; - const _hoisted_1$8 = /* @__PURE__ */ vue.createElementVNode("svg", { + const _hoisted_1$8 = { class: "replaybtn" }; + const _hoisted_2$8 = /* @__PURE__ */ vue.createElementVNode("svg", { class: "fa d-icon d-icon-reply svg-icon svg-string", xmlns: "http://www.w3.org/2000/svg" }, [ /* @__PURE__ */ vue.createElementVNode("use", { href: "#reply" }) ], -1); - const _hoisted_2$8 = [ - _hoisted_1$8 + const _hoisted_3$5 = [ + _hoisted_2$8 ]; function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { - return vue.openBlock(), vue.createElementBlock("div", null, [ + return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [ vue.createElementVNode("div", { class: "el-button", style: { "font-size": "18px" }, onClick: _cache[0] || (_cache[0] = (...args) => $options.replaybtn && $options.replaybtn(...args)), type: "primary", title: "回复" - }, _hoisted_2$8) + }, _hoisted_3$5) ]); } const ReplyBtn = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]); @@ -4257,6 +4258,11 @@ ${topic_contentdata}`; } }, created() { + console.log( + `%c linuxdo 增强插件 %c 已开启 `, + "padding: 2px 1px; color: #fff; background: #606060;", + "padding: 2px 1px; color: #fff; background: #42c02e;" + ); setInterval(() => { if ($(".linuxdoscripts-setting").length < 1) { $(".sidebar-footer-actions").prepend(` @@ -4274,6 +4280,13 @@ ${topic_contentdata}`; this.showlevelsearch = this.settingData.checked12; this.showaidialog = this.settingData.checked18; this.showreplybtn = this.settingData.checked25; + setInterval(() => { + if (window.location.href.includes("/topic/")) { + $(".replaybtn").show(); + } else { + $(".replaybtn").hide(); + } + }, 1e3); } else { localStorage.setItem("linxudoscriptssetting", JSON.stringify(this.settingData)); } diff --git a/linuxdo-scripts.user.js b/linuxdo-scripts.user.js index be2163f..3659c78 100644 --- a/linuxdo-scripts.user.js +++ b/linuxdo-scripts.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name linuxdo 增强插件 // @namespace https://github.com/dlzmoe/linuxdo-scripts -// @version 0.3.35 +// @version 0.3.36 // @author dlzmoe // @description linux.do 增强插件,功能持续更新,欢迎提出新想法! // @license Apache-2.0 @@ -15,13 +15,13 @@ // @grant GM_xmlhttpRequest // ==/UserScript== -(t=>{if(typeof GM_addStyle=="function"){GM_addStyle(t);return}const i=document.createElement("style");i.textContent=t,document.head.append(i)})(' input[type=text][data-v-2be3e9ac]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.emojiPicker{top:0;left:100%;position:absolute;display:grid;grid-template-columns:repeat(12,1fr);gap:10px;height:100%;overflow:auto;background-color:#000c;padding:10px;border-radius:5px;z-index:9}.emojiPicker img{cursor:pointer;width:30px;height:30px}.sidebar-section-header-caret.right{transform:rotate(-90deg)}.item select[data-v-d780d688]{height:28px;border:1px solid #b6b6b6;border-radius:4px;width:180px;margin-left:10px;cursor:pointer}.item[data-v-e33f1de9]{border:none!important}.item a[data-v-e33f1de9]:hover{text-decoration:underline}.item[data-v-cb743585],.item[data-v-86b330f1],.item[data-v-f84417d4],.item[data-v-c99e7560]{border:none!important}input[type=text][data-v-5861dcba]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.linxudoscripts-tag{background:#29a6a9;color:#fff;font-size:14px!important;padding:0 10px;height:26px;text-align:center;display:inline-flex!important;align-items:center;justify-content:center;border-radius:5px}.menu-table{width:100%}.menu-table td,.menu-table th{padding:10px;font-size:14px}.menu-table .span{cursor:pointer}.menu-table .span+.span{margin-left:10px}.item[data-v-178c15f8]{border:none}.item[data-v-b5335091]{display:block!important}p[data-v-b5335091]{margin:8px 0!important}ul[data-v-b5335091]{display:flex;flex-wrap:wrap;justify-content:space-between;list-style:none;padding:0}ul li[data-v-b5335091]{width:48%;margin-bottom:30px}input[type=radio][data-v-b5335091]{transform:scale(1.2)}.ls-flex[data-v-b5335091]{display:flex;align-content:center;margin-bottom:10px;cursor:pointer}.ls-flex input[data-v-b5335091]{margin-right:10px}.ls-flex label[data-v-b5335091]{cursor:pointer;font-weight:300}.item[data-v-b6c08155]{border:none!important;padding:0!important;margin-top:15px}.item .tit[data-v-b6c08155]{white-space:nowrap;width:160px}.item input[data-v-b6c08155]{margin:0}.btnwrapper[data-v-b6c08155]{margin-top:20px}.post-stream.lookopwrapactive .topic-post{display:none!important}.post-stream.lookopwrapactive .topic-post.topic-owner{display:block!important}@keyframes breathAnimation-57dbaeb5{0%,to{transform:scale(1);box-shadow:0 0 5px #00000080}50%{transform:scale(1.1);box-shadow:0 0 10px #000000b3}}.breath-animation[data-v-57dbaeb5]{animation:breathAnimation-57dbaeb5 4s ease-in-out infinite}.minimized[data-v-57dbaeb5]{width:50px!important;height:50px!important;border-radius:50%!important;padding:0!important;overflow:hidden;cursor:pointer}#linuxDoLevelPopupContent[data-v-57dbaeb5]{line-height:1.6;position:fixed;bottom:20px;right:90px;width:250px;height:auto;background-color:var(--tertiary-low);padding:15px;z-index:10000;font-size:14px;border-radius:5px}#linuxDoUserSearch[data-v-57dbaeb5]{width:100%;margin-top:10px}.button[data-v-57dbaeb5]{margin-top:10px}.minimize-button[data-v-57dbaeb5]{position:absolute;top:5px;right:5px;z-index:10001;background:transparent;border:none;cursor:pointer;border-radius:50%;text-align:center;line-height:40px;width:40px;height:40px}.linuxdoscripts-aidialog{position:fixed;top:0;left:-100%;width:500px;height:100vh;background:#fff;box-shadow:1px 2px 5px #0000003d;z-index:999;padding-top:60px;transition:all .1s linear;opacity:0;visibility:hidden;overflow:hidden}.linuxdoscripts-aidialog.act{left:0;opacity:1;visibility:inherit;overflow:inherit}a[data-v-45c51ed7]:hover{text-decoration:underline}.item-foot[data-v-45c51ed7]{display:flex;flex-direction:column;align-items:flex-start;position:absolute;bottom:70px;left:22px;line-height:2}.item-foot img[data-v-45c51ed7]{width:auto!important;height:20px!important}.UsageTip{position:static;margin:0;font-size:14px;line-height:1.6;background:var(--d-sidebar-background);color:var(--primary-medium)}.UsageTip>div{margin:10px 0}.UsageTip button{padding:8px 10px;margin-bottom:10px;border:none;outline:none;border-radius:4px}.timeline-container .topic-timeline .timeline-scrollarea{max-width:100px!important}#linuxdoscripts{font-size:14px}#linuxdoscripts input[type=text]{width:100%;background:var(--d-input-bg-color)}#linuxdoscripts input[type=checkbox]{transform:scale(1.2)}#linuxdoscripts #menu_suspendedball{display:none}#linuxdoscripts img{vertical-align:bottom;max-width:100%;height:auto}#linuxdoscripts .close{position:absolute;right:10px;top:45%;cursor:pointer;font-size:34px;color:#999;transform:translateY(-50%) rotate(45deg)}#linuxdoscripts .setting-btn{z-index:999;position:fixed;bottom:20px;right:20px}#linuxdoscripts .setting-btn .el-button{margin:15px 0 0;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--tertiary-low);font-size:14px;cursor:pointer;transition:all .1s linear;border:none}#linuxdoscripts .setting-btn .el-button svg{margin:0}#linuxdoscripts .setting-btn .el-button:hover{opacity:.9}#linuxdoscripts .hint{margin-top:5px;color:#d94f4f;font-size:14px}#linuxdoscripts dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:700px;background:var(--header_background);color:var(--primary);box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:16px;padding:15px;z-index:99999;overflow-x:hidden;box-sizing:border-box;margin:0;border:none;outline:none}#linuxdoscripts dialog .menu-about{padding:5px 0;line-height:2}#linuxdoscripts dialog .menu-about .initialization{color:#999;border-bottom:1px dashed #999;cursor:pointer}#linuxdoscripts dialog .menu-about .initialization:hover{color:#333;border-color:#333}#linuxdoscripts dialog p{margin:0;font-size:14px}#linuxdoscripts .menu-header{padding:.5rem .5rem 1rem;border-bottom:1px solid #eee;position:relative}#linuxdoscripts .title{font-size:18px;font-weight:600;display:flex;align-items:center}#linuxdoscripts .title img{margin-left:10px}#linuxdoscripts button{outline:0;min-width:80px;height:32px;border:none;background:var(--tertiary);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear;color:var(--secondary)}#linuxdoscripts button+button{margin-left:8px}#linuxdoscripts button.saveload{background:#3d9b93}#linuxdoscripts button.detection{background:#810000}#linuxdoscripts button:hover{opacity:.9}#linuxdoscripts .menu-flex{display:flex;justify-content:space-between;align-items:flex-start}#linuxdoscripts .menu-nav{width:140px;display:flex;flex-direction:column;margin:0 20px 0 0;padding-top:15px}#linuxdoscripts .menu-nav li{border-radius:4px;height:32px;width:100%;margin-bottom:5px;box-sizing:border-box;padding:0 10px;display:inline-flex;align-items:center;justify-content:flex-start;font-size:14px;cursor:pointer;line-height:1}#linuxdoscripts .menu-nav li svg{width:16px;margin-right:5px}#linuxdoscripts .menu-nav li.act{background:var(--bbcode-highlight)}#linuxdoscripts .menu-body{flex:1;height:480px;overflow-y:auto;padding-right:10px}#linuxdoscripts .menu-body::-webkit-scrollbar{height:8px;width:8px}#linuxdoscripts .menu-body::-webkit-scrollbar-corner{background:none}#linuxdoscripts .menu-body::-webkit-scrollbar-thumb{background:#dee0e1;border-radius:8px}#linuxdoscripts .menu-body .menu-body-item{display:none}#linuxdoscripts .menu-body .menu-body-item.act{display:block}#linuxdoscripts .menu-footer{display:flex;margin-top:10px;padding-top:6px}#linuxdoscripts .import{margin-left:auto!important}#linuxdoscripts .import,#linuxdoscripts .export{background:#d1f0ff;color:#559095}#linuxdoscripts .floorlottery{background:#ffb003}#linuxdoscripts .menu-body-item{padding-bottom:30px}#linuxdoscripts .menu-body-item .item{border-bottom:1px solid rgba(0,0,0,.05);padding:15px 0;display:flex;align-items:center;justify-content:space-between}#linuxdoscripts .menu-body-item .item input[type=checkbox]{width:30px;height:16px;position:relative;background-color:#dcdfe6;box-shadow:#dfdfdf 0 0 inset;border-radius:20px;background-clip:content-box;display:inline-block;appearance:none;-webkit-appearance:none;-moz-appearance:none;-webkit-user-select:none;user-select:none;outline:none;padding:0}#linuxdoscripts .menu-body-item .item input[type=checkbox]:before{content:"";position:absolute;width:12px;height:12px;background-color:#fff;border-radius:50%;left:2px;top:0;bottom:0;margin:auto;transition:.3s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked{background-color:var(--tertiary);transition:.6s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked:before{left:14px;transition:.3s}#linuxdoscripts textarea{font-family:inherit;width:100%;min-height:100px!important;border:1px solid #999;outline:0;padding:5px;font-size:14px;margin:5px 0 0;resize:none;border-radius:0;color:var(--d-input-text-color);background:var(--d-input-bg-color)}#linuxdoscripts textarea:focus{border-color:var(--tertiary);outline:2px solid var(--tertiary);outline-offset:-2px}#linuxdoscripts #floorlotterloading img{width:50px;height:50px}#linuxdoscripts .floorlotterywrap{display:none;width:400px;height:300px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:999}#linuxdoscripts .floorlotterywrap{width:400px;height:300px}#linuxdoscripts .el-checkbox__inner{border:1px solid #979797}#linuxdoscripts label{margin:0}.linuxdoscripts-opacity{display:none;position:fixed;left:0;top:0;width:100vw;height:100vh;background:#00000080;z-index:9999}.linuxlevel.four{background:linear-gradient(to right,red,#00f);-webkit-background-clip:text;color:transparent}.topic-post{position:relative}.linuxfloor{display:flex;color:var(--tertiary);width:30px;height:30px;align-items:center;justify-content:center;border-radius:6px;font-size:16px;margin-left:10px}.signature-p{color:#279a36;font-size:14px;word-break:break-word}.topic-list .views{font-weight:400!important;white-space:nowrap!important}.createreply{display:flex;flex-direction:column;max-width:300px}.createreply button{margin-bottom:10px;justify-content:flex-start;text-align:left}.topicpreview-btn{padding:4px 12px!important;font-size:14px!important;opacity:0!important}.topic-list-item:hover .topicpreview-btn{opacity:1!important}.topicpreview{position:fixed;top:0;left:0;z-index:99999;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;display:none}.topicpreview .topicpreview-container{padding:30px 0;border-radius:5px;width:100%;max-width:800px;overflow-y:auto;height:80vh;z-index:10;background:var(--header_background);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.topicpreview .topicpreview-container .topicpreview-title{font-size:22px;font-weight:600;padding:0 30px}.topicpreview .topicpreview-container .topicpreview-date{padding:0 30px;color:#666}.topicpreview .topicpreview-container .topicpreview-content>.item{display:flex;align-items:flex-start;padding:20px 30px}.topicpreview .topicpreview-container .topicpreview-content>.item .itemfloor{width:50px;text-align:left;font-size:16px;padding-top:15px;color:#25b4cf}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost{flex:1;background:var(--tertiary-low);padding:15px;border-radius:10px;font-size:15px;word-break:break-all}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost pre code{max-width:620px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost img{max-width:100%;max-height:100%;height:auto}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname{font-size:16px;color:#8f3a3a;display:flex;justify-content:space-between;align-items:center}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname span{color:#9e9e9e;margin-left:20px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemdate{color:#b9b9b9;font-size:16px;margin-left:auto}.topicpreview-opacity{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;background:#0009;z-index:9}.body-preview .sidebar-wrapper{display:none!important}body.body-preview #main-outlet-wrapper{display:block!important;padding-left:50px!important}.body-preview .d-header-wrap,.body-preview .menu_suspendedball{display:none!important}.post-activity{white-space:nowrap;display:inline-block;width:100%;text-align:left}.d-header img{height:var(--d-logo-height);width:auto;max-width:100%;object-fit:contain}.aicreated-btn,.aireplay-btn{outline:none;border:none;background:var(--tertiary-low);display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:14px;padding:4px 10px;border-radius:3px;margin-bottom:10px;margin-right:10px}.aicreated-btn{display:none}.gpt-summary-wrap{background:var(--tertiary-low);border-radius:5px;padding:10px;font-size:14px;margin:0 0 10px;line-height:1.6}.gpt-summary-wrap .airegenerate{display:none;margin-top:6px;outline:none;border:1px solid #eee;background:#ffe27d;color:#626262;padding:4px 10px;cursor:pointer;border-radius:3px}.aicreatenewtopictitle{margin-left:20px}.aicreatenewtopictitle:hover{text-decoration:underline;cursor:pointer}.aireply-popup{z-index:999999;position:fixed;top:10%;left:50%;transform:translate(-50%);width:500px;padding:20px;background:var(--tertiary-low);color:#333;box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:10px;display:none}.aireply-popup .aireply-popup-text{width:100%;height:120px}.aireply-popup .aireply-popup-close{outline:0;min-width:80px;height:32px;border:none;background-color:var(--header_background);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear}#messageToast{z-index:9999999;position:fixed;left:50%;transform:translate(-50%);top:10%;width:100%;display:flex;flex-direction:column;align-items:center}#messageToast .messageToast-text{background:var(--tertiary-low);color:var(--primary);border-radius:6px;width:auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-align:center;line-height:1;height:40px;min-width:240px;font-size:16px;padding:0 30px;box-sizing:border-box;margin-bottom:10px;opacity:0;animation:messageToast .2s forwards}@keyframes messageToast{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.pangutext{cursor:pointer;margin-left:20px}.pangutext:hover{color:#279a36}.navigation-container.is-active{position:fixed;top:65px;background:var(--header_background);z-index:9;box-shadow:1px 3px 7px #0003;margin-left:-30px;padding-left:30px;border-radius:5px;padding-top:10px;padding-right:20px;min-width:1000px;width:auto} '); +(t=>{if(typeof GM_addStyle=="function"){GM_addStyle(t);return}const i=document.createElement("style");i.textContent=t,document.head.append(i)})(' input[type=text][data-v-2be3e9ac]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.emojiPicker{top:0;left:100%;position:absolute;display:grid;grid-template-columns:repeat(12,1fr);gap:10px;height:100%;overflow:auto;background-color:#000c;padding:10px;border-radius:5px;z-index:9}.emojiPicker img{cursor:pointer;width:30px;height:30px}.sidebar-section-header-caret.right{transform:rotate(-90deg)}.item select[data-v-d780d688]{height:28px;border:1px solid #b6b6b6;border-radius:4px;width:180px;margin-left:10px;cursor:pointer}.item[data-v-e33f1de9]{border:none!important}.item a[data-v-e33f1de9]:hover{text-decoration:underline}.item[data-v-cb743585],.item[data-v-86b330f1],.item[data-v-f84417d4],.item[data-v-77789f1e]{border:none!important}input[type=text][data-v-5861dcba]{width:100px!important;outline:none;height:24px;border:1px solid #b6b6b6;border-radius:4px;margin-left:10px;padding:0 10px;box-sizing:border-box}.linxudoscripts-tag{background:#29a6a9;color:#fff;font-size:14px!important;padding:0 10px;height:26px;text-align:center;display:inline-flex!important;align-items:center;justify-content:center;border-radius:5px}.menu-table{width:100%}.menu-table td,.menu-table th{padding:10px;font-size:14px}.menu-table .span{cursor:pointer}.menu-table .span+.span{margin-left:10px}.item[data-v-178c15f8]{border:none}.item[data-v-b5335091]{display:block!important}p[data-v-b5335091]{margin:8px 0!important}ul[data-v-b5335091]{display:flex;flex-wrap:wrap;justify-content:space-between;list-style:none;padding:0}ul li[data-v-b5335091]{width:48%;margin-bottom:30px}input[type=radio][data-v-b5335091]{transform:scale(1.2)}.ls-flex[data-v-b5335091]{display:flex;align-content:center;margin-bottom:10px;cursor:pointer}.ls-flex input[data-v-b5335091]{margin-right:10px}.ls-flex label[data-v-b5335091]{cursor:pointer;font-weight:300}.item[data-v-b6c08155]{border:none!important;padding:0!important;margin-top:15px}.item .tit[data-v-b6c08155]{white-space:nowrap;width:160px}.item input[data-v-b6c08155]{margin:0}.btnwrapper[data-v-b6c08155]{margin-top:20px}.post-stream.lookopwrapactive .topic-post{display:none!important}.post-stream.lookopwrapactive .topic-post.topic-owner{display:block!important}@keyframes breathAnimation-57dbaeb5{0%,to{transform:scale(1);box-shadow:0 0 5px #00000080}50%{transform:scale(1.1);box-shadow:0 0 10px #000000b3}}.breath-animation[data-v-57dbaeb5]{animation:breathAnimation-57dbaeb5 4s ease-in-out infinite}.minimized[data-v-57dbaeb5]{width:50px!important;height:50px!important;border-radius:50%!important;padding:0!important;overflow:hidden;cursor:pointer}#linuxDoLevelPopupContent[data-v-57dbaeb5]{line-height:1.6;position:fixed;bottom:20px;right:90px;width:250px;height:auto;background-color:var(--tertiary-low);padding:15px;z-index:10000;font-size:14px;border-radius:5px}#linuxDoUserSearch[data-v-57dbaeb5]{width:100%;margin-top:10px}.button[data-v-57dbaeb5]{margin-top:10px}.minimize-button[data-v-57dbaeb5]{position:absolute;top:5px;right:5px;z-index:10001;background:transparent;border:none;cursor:pointer;border-radius:50%;text-align:center;line-height:40px;width:40px;height:40px}.linuxdoscripts-aidialog{position:fixed;top:0;left:-100%;width:500px;height:100vh;background:#fff;box-shadow:1px 2px 5px #0000003d;z-index:999;padding-top:60px;transition:all .1s linear;opacity:0;visibility:hidden;overflow:hidden}.linuxdoscripts-aidialog.act{left:0;opacity:1;visibility:inherit;overflow:inherit}a[data-v-45c51ed7]:hover{text-decoration:underline}.item-foot[data-v-45c51ed7]{display:flex;flex-direction:column;align-items:flex-start;position:absolute;bottom:70px;left:22px;line-height:2}.item-foot img[data-v-45c51ed7]{width:auto!important;height:20px!important}.UsageTip{position:static;margin:0;font-size:14px;line-height:1.6;background:var(--d-sidebar-background);color:var(--primary-medium)}.UsageTip>div{margin:10px 0}.UsageTip button{padding:8px 10px;margin-bottom:10px;border:none;outline:none;border-radius:4px}.timeline-container .topic-timeline .timeline-scrollarea{max-width:100px!important}#linuxdoscripts{font-size:14px}#linuxdoscripts input[type=text]{width:100%;background:var(--d-input-bg-color)}#linuxdoscripts input[type=checkbox]{transform:scale(1.2)}#linuxdoscripts #menu_suspendedball{display:none}#linuxdoscripts img{vertical-align:bottom;max-width:100%;height:auto}#linuxdoscripts .close{position:absolute;right:10px;top:45%;cursor:pointer;font-size:34px;color:#999;transform:translateY(-50%) rotate(45deg)}#linuxdoscripts .setting-btn{z-index:999;position:fixed;bottom:20px;right:20px}#linuxdoscripts .setting-btn .el-button{margin:15px 0 0;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--tertiary-low);font-size:14px;cursor:pointer;transition:all .1s linear;border:none}#linuxdoscripts .setting-btn .el-button svg{margin:0}#linuxdoscripts .setting-btn .el-button:hover{opacity:.9}#linuxdoscripts .hint{margin-top:5px;color:#d94f4f;font-size:14px}#linuxdoscripts dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:700px;background:var(--header_background);color:var(--primary);box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:16px;padding:15px;z-index:99999;overflow-x:hidden;box-sizing:border-box;margin:0;border:none;outline:none}#linuxdoscripts dialog .menu-about{padding:5px 0;line-height:2}#linuxdoscripts dialog .menu-about .initialization{color:#999;border-bottom:1px dashed #999;cursor:pointer}#linuxdoscripts dialog .menu-about .initialization:hover{color:#333;border-color:#333}#linuxdoscripts dialog p{margin:0;font-size:14px}#linuxdoscripts .menu-header{padding:.5rem .5rem 1rem;border-bottom:1px solid #eee;position:relative}#linuxdoscripts .title{font-size:18px;font-weight:600;display:flex;align-items:center}#linuxdoscripts .title img{margin-left:10px}#linuxdoscripts button{outline:0;min-width:80px;height:32px;border:none;background:var(--tertiary);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear;color:var(--secondary)}#linuxdoscripts button+button{margin-left:8px}#linuxdoscripts button.saveload{background:#3d9b93}#linuxdoscripts button.detection{background:#810000}#linuxdoscripts button:hover{opacity:.9}#linuxdoscripts .menu-flex{display:flex;justify-content:space-between;align-items:flex-start}#linuxdoscripts .menu-nav{width:140px;display:flex;flex-direction:column;margin:0 20px 0 0;padding-top:15px}#linuxdoscripts .menu-nav li{border-radius:4px;height:32px;width:100%;margin-bottom:5px;box-sizing:border-box;padding:0 10px;display:inline-flex;align-items:center;justify-content:flex-start;font-size:14px;cursor:pointer;line-height:1}#linuxdoscripts .menu-nav li svg{width:16px;margin-right:5px}#linuxdoscripts .menu-nav li.act{background:var(--bbcode-highlight)}#linuxdoscripts .menu-body{flex:1;height:480px;overflow-y:auto;padding-right:10px}#linuxdoscripts .menu-body::-webkit-scrollbar{height:8px;width:8px}#linuxdoscripts .menu-body::-webkit-scrollbar-corner{background:none}#linuxdoscripts .menu-body::-webkit-scrollbar-thumb{background:#dee0e1;border-radius:8px}#linuxdoscripts .menu-body .menu-body-item{display:none}#linuxdoscripts .menu-body .menu-body-item.act{display:block}#linuxdoscripts .menu-footer{display:flex;margin-top:10px;padding-top:6px}#linuxdoscripts .import{margin-left:auto!important}#linuxdoscripts .import,#linuxdoscripts .export{background:#d1f0ff;color:#559095}#linuxdoscripts .floorlottery{background:#ffb003}#linuxdoscripts .menu-body-item{padding-bottom:30px}#linuxdoscripts .menu-body-item .item{border-bottom:1px solid rgba(0,0,0,.05);padding:15px 0;display:flex;align-items:center;justify-content:space-between}#linuxdoscripts .menu-body-item .item input[type=checkbox]{width:30px;height:16px;position:relative;background-color:#dcdfe6;box-shadow:#dfdfdf 0 0 inset;border-radius:20px;background-clip:content-box;display:inline-block;appearance:none;-webkit-appearance:none;-moz-appearance:none;-webkit-user-select:none;user-select:none;outline:none;padding:0}#linuxdoscripts .menu-body-item .item input[type=checkbox]:before{content:"";position:absolute;width:12px;height:12px;background-color:#fff;border-radius:50%;left:2px;top:0;bottom:0;margin:auto;transition:.3s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked{background-color:var(--tertiary);transition:.6s}#linuxdoscripts .menu-body-item .item input[type=checkbox]:checked:before{left:14px;transition:.3s}#linuxdoscripts textarea{font-family:inherit;width:100%;min-height:100px!important;border:1px solid #999;outline:0;padding:5px;font-size:14px;margin:5px 0 0;resize:none;border-radius:0;color:var(--d-input-text-color);background:var(--d-input-bg-color)}#linuxdoscripts textarea:focus{border-color:var(--tertiary);outline:2px solid var(--tertiary);outline-offset:-2px}#linuxdoscripts #floorlotterloading img{width:50px;height:50px}#linuxdoscripts .floorlotterywrap{display:none;width:400px;height:300px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:999}#linuxdoscripts .floorlotterywrap{width:400px;height:300px}#linuxdoscripts .el-checkbox__inner{border:1px solid #979797}#linuxdoscripts label{margin:0}.linuxdoscripts-opacity{display:none;position:fixed;left:0;top:0;width:100vw;height:100vh;background:#00000080;z-index:9999}.linuxlevel.four{background:linear-gradient(to right,red,#00f);-webkit-background-clip:text;color:transparent}.topic-post{position:relative}.linuxfloor{display:flex;color:var(--tertiary);width:30px;height:30px;align-items:center;justify-content:center;border-radius:6px;font-size:16px;margin-left:10px}.signature-p{color:#279a36;font-size:14px;word-break:break-word}.topic-list .views{font-weight:400!important;white-space:nowrap!important}.createreply{display:flex;flex-direction:column;max-width:300px}.createreply button{margin-bottom:10px;justify-content:flex-start;text-align:left}.topicpreview-btn{padding:4px 12px!important;font-size:14px!important;opacity:0!important}.topic-list-item:hover .topicpreview-btn{opacity:1!important}.topicpreview{position:fixed;top:0;left:0;z-index:99999;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;display:none}.topicpreview .topicpreview-container{padding:30px 0;border-radius:5px;width:100%;max-width:800px;overflow-y:auto;height:80vh;z-index:10;background:var(--header_background);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.topicpreview .topicpreview-container .topicpreview-title{font-size:22px;font-weight:600;padding:0 30px}.topicpreview .topicpreview-container .topicpreview-date{padding:0 30px;color:#666}.topicpreview .topicpreview-container .topicpreview-content>.item{display:flex;align-items:flex-start;padding:20px 30px}.topicpreview .topicpreview-container .topicpreview-content>.item .itemfloor{width:50px;text-align:left;font-size:16px;padding-top:15px;color:#25b4cf}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost{flex:1;background:var(--tertiary-low);padding:15px;border-radius:10px;font-size:15px;word-break:break-all}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost pre code{max-width:620px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost img{max-width:100%;max-height:100%;height:auto}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname{font-size:16px;color:#8f3a3a;display:flex;justify-content:space-between;align-items:center}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemname span{color:#9e9e9e;margin-left:20px}.topicpreview .topicpreview-container .topicpreview-content>.item .itempost .itemdate{color:#b9b9b9;font-size:16px;margin-left:auto}.topicpreview-opacity{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;background:#0009;z-index:9}.body-preview .sidebar-wrapper{display:none!important}body.body-preview #main-outlet-wrapper{display:block!important;padding-left:50px!important}.body-preview .d-header-wrap,.body-preview .menu_suspendedball{display:none!important}.post-activity{white-space:nowrap;display:inline-block;width:100%;text-align:left}.d-header img{height:var(--d-logo-height);width:auto;max-width:100%;object-fit:contain}.aicreated-btn,.aireplay-btn{outline:none;border:none;background:var(--tertiary-low);display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:14px;padding:4px 10px;border-radius:3px;margin-bottom:10px;margin-right:10px}.aicreated-btn{display:none}.gpt-summary-wrap{background:var(--tertiary-low);border-radius:5px;padding:10px;font-size:14px;margin:0 0 10px;line-height:1.6}.gpt-summary-wrap .airegenerate{display:none;margin-top:6px;outline:none;border:1px solid #eee;background:#ffe27d;color:#626262;padding:4px 10px;cursor:pointer;border-radius:3px}.aicreatenewtopictitle{margin-left:20px}.aicreatenewtopictitle:hover{text-decoration:underline;cursor:pointer}.aireply-popup{z-index:999999;position:fixed;top:10%;left:50%;transform:translate(-50%);width:500px;padding:20px;background:var(--tertiary-low);color:#333;box-shadow:#0000 0 0,#0000 0 0,#0000001a 0 20px 25px -5px,#0000001a 0 8px 10px -6px;border-radius:10px;display:none}.aireply-popup .aireply-popup-text{width:100%;height:120px}.aireply-popup .aireply-popup-close{outline:0;min-width:80px;height:32px;border:none;background-color:var(--header_background);text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b;border-radius:4px;padding:0 10px;box-sizing:border-box;transition:all .1s linear}#messageToast{z-index:9999999;position:fixed;left:50%;transform:translate(-50%);top:10%;width:100%;display:flex;flex-direction:column;align-items:center}#messageToast .messageToast-text{background:var(--tertiary-low);color:var(--primary);border-radius:6px;width:auto;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-align:center;line-height:1;height:40px;min-width:240px;font-size:16px;padding:0 30px;box-sizing:border-box;margin-bottom:10px;opacity:0;animation:messageToast .2s forwards}@keyframes messageToast{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.pangutext{cursor:pointer;margin-left:20px}.pangutext:hover{color:#279a36}.navigation-container.is-active{position:fixed;top:65px;background:var(--header_background);z-index:9;box-shadow:1px 3px 7px #0003;margin-left:-30px;padding-left:30px;border-radius:5px;padding-top:10px;padding-right:20px;min-width:1000px;width:auto} '); (function (vue, pangu, marked, $$1) { 'use strict'; const name = "linuxdo-scripts"; - const version = "0.3.35"; + const version = "0.3.36"; const author = "dlzmoe"; const description = "An enhanced script for the linux.do forum"; const type = "module"; @@ -115,7 +115,7 @@ }; const _hoisted_1$K = { class: "item" }; const _hoisted_2$K = { class: "tit" }; - const _hoisted_3$z = ["checked"]; + const _hoisted_3$A = ["checked"]; function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [ vue.createElementVNode("div", _hoisted_2$K, vue.toDisplayString($props.sort) + ". 是否新标签页打开话题", 1), @@ -123,7 +123,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$z) + }, null, 40, _hoisted_3$A) ]); } const MenuOpenpostblank = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$Q]]); @@ -147,7 +147,7 @@ }; const _hoisted_1$J = { class: "item" }; const _hoisted_2$J = { class: "tit" }; - const _hoisted_3$y = ["checked"]; + const _hoisted_3$z = ["checked"]; function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [ vue.createElementVNode("div", _hoisted_2$J, vue.toDisplayString($props.sort) + ". 是否开启新话题提醒", 1), @@ -155,7 +155,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$y) + }, null, 40, _hoisted_3$z) ]); } const MenuNewtopicreminder = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$P]]); @@ -183,7 +183,7 @@ }; const _hoisted_1$I = { class: "item" }; const _hoisted_2$I = { class: "tit" }; - const _hoisted_3$x = ["checked"]; + const _hoisted_3$y = ["checked"]; function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [ vue.createElementVNode("div", _hoisted_2$I, vue.toDisplayString($props.sort) + ". 是否自动展开回复", 1), @@ -191,7 +191,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$x) + }, null, 40, _hoisted_3$y) ]); } const MenuAutoexpandreply = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$O]]); @@ -304,7 +304,7 @@ }; const _hoisted_1$H = { class: "item" }; const _hoisted_2$H = { class: "tit" }; - const _hoisted_3$w = ["checked"]; + const _hoisted_3$x = ["checked"]; function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", null, [ vue.createElementVNode("div", _hoisted_1$H, [ @@ -313,7 +313,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$w) + }, null, 40, _hoisted_3$x) ]) ]); } @@ -425,7 +425,7 @@ }; const _hoisted_1$G = { class: "item" }; const _hoisted_2$G = { class: "tit" }; - const _hoisted_3$v = ["checked"]; + const _hoisted_3$w = ["checked"]; function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [ vue.createElementVNode("div", _hoisted_2$G, vue.toDisplayString($props.sort) + ". 将浏览量替换为创建时间(与 4 互斥,只可选择一个)", 1), @@ -433,7 +433,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$v) + }, null, 40, _hoisted_3$w) ]); } const MenuShowcreatetime1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]]); @@ -464,7 +464,7 @@ }; const _hoisted_1$F = { class: "item" }; const _hoisted_2$F = { class: "tit" }; - const _hoisted_3$u = ["checked"]; + const _hoisted_3$v = ["checked"]; function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [ vue.createElementVNode("div", _hoisted_2$F, vue.toDisplayString($props.sort) + ". 是否显示楼层数", 1), @@ -472,7 +472,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$u) + }, null, 40, _hoisted_3$v) ]); } const MenuShowfloors = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$L]]); @@ -487,7 +487,7 @@ }; const _hoisted_1$E = { class: "item" }; const _hoisted_2$E = { class: "tit" }; - const _hoisted_3$t = ["checked"]; + const _hoisted_3$u = ["checked"]; function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [ vue.createElementVNode("div", _hoisted_2$E, vue.toDisplayString($props.sort) + ". 隐藏话题详情顶部大标题", 1), @@ -495,7 +495,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$t) + }, null, 40, _hoisted_3$u) ]); } const MenuHidetopicdetailtitle = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$K]]); @@ -598,7 +598,7 @@ }; const _hoisted_1$D = { class: "item" }; const _hoisted_2$D = { class: "tit" }; - const _hoisted_3$s = ["checked"]; + const _hoisted_3$t = ["checked"]; function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [ vue.createElementVNode("div", _hoisted_2$D, vue.toDisplayString($props.sort) + ". 是否开启话题预览功能", 1), @@ -606,7 +606,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$s) + }, null, 40, _hoisted_3$t) ]); } const MenuTopicpreview = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$J]]); @@ -639,7 +639,7 @@ }; const _hoisted_1$C = { class: "item" }; const _hoisted_2$C = { class: "tit" }; - const _hoisted_3$r = ["checked"]; + const _hoisted_3$s = ["checked"]; function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [ vue.createElementVNode("div", _hoisted_2$C, [ @@ -656,7 +656,7 @@ type: "checkbox", checked: $options.value1, onChange: _cache[1] || (_cache[1] = ($event) => $options.updateValue1($event.target.checked)) - }, null, 40, _hoisted_3$r) + }, null, 40, _hoisted_3$s) ]); } const MenuAutoRead = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__scopeId", "data-v-2be3e9ac"]]); @@ -666,7 +666,7 @@ }; const _hoisted_1$B = { class: "item" }; const _hoisted_2$B = { class: "tit" }; - const _hoisted_3$q = ["checked"]; + const _hoisted_3$r = ["checked"]; function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [ vue.createElementVNode("div", _hoisted_2$B, vue.toDisplayString($props.sort) + ". 是否开启只看楼主", 1), @@ -674,7 +674,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$q) + }, null, 40, _hoisted_3$r) ]); } const MenuLookOP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$H]]); @@ -691,7 +691,7 @@ }; const _hoisted_1$A = { class: "item" }; const _hoisted_2$A = { class: "tit" }; - const _hoisted_3$p = ["checked"]; + const _hoisted_3$q = ["checked"]; function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [ vue.createElementVNode("div", _hoisted_2$A, vue.toDisplayString($props.sort) + ". 智能限制楼层高度", 1), @@ -699,7 +699,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$p) + }, null, 40, _hoisted_3$q) ]); } const MenuFloorHeight = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G]]); @@ -1375,7 +1375,7 @@ }; const _hoisted_1$z = { class: "item" }; const _hoisted_2$z = { class: "tit" }; - const _hoisted_3$o = ["checked"]; + const _hoisted_3$p = ["checked"]; function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [ vue.createElementVNode("div", _hoisted_2$z, vue.toDisplayString($props.sort) + ". 是否开启中英文混排优化显示", 1), @@ -1383,7 +1383,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$o) + }, null, 40, _hoisted_3$p) ]); } const MenuPangu = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E]]); @@ -1393,7 +1393,7 @@ }; const _hoisted_1$y = { class: "item" }; const _hoisted_2$y = { class: "tit" }; - const _hoisted_3$n = ["checked"]; + const _hoisted_3$o = ["checked"]; function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [ vue.createElementVNode("div", _hoisted_2$y, vue.toDisplayString($props.sort) + ". 是否显示等级查询按钮", 1), @@ -1401,7 +1401,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$n) + }, null, 40, _hoisted_3$o) ]); } const MenuLevelSearch = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D]]); @@ -1419,7 +1419,7 @@ }; const _hoisted_1$x = { class: "item" }; const _hoisted_2$x = { class: "tit" }; - const _hoisted_3$m = ["checked"]; + const _hoisted_3$n = ["checked"]; function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [ vue.createElementVNode("div", _hoisted_2$x, vue.toDisplayString($props.sort) + ". 消息通知仅显示未读", 1), @@ -1427,7 +1427,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$m) + }, null, 40, _hoisted_3$n) ]); } const MenuShowUnread = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]); @@ -1442,7 +1442,7 @@ }; const _hoisted_1$w = { class: "item" }; const _hoisted_2$w = { class: "tit" }; - const _hoisted_3$l = ["checked"]; + const _hoisted_3$m = ["checked"]; function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [ vue.createElementVNode("div", _hoisted_2$w, vue.toDisplayString($props.sort) + ". 是否屏蔽模糊文字", 1), @@ -1450,7 +1450,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$l) + }, null, 40, _hoisted_3$m) ]); } const MenuFilterText = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]); @@ -1473,7 +1473,7 @@ }; const _hoisted_1$v = { class: "item" }; const _hoisted_2$v = { class: "tit" }; - const _hoisted_3$k = ["checked"]; + const _hoisted_3$l = ["checked"]; function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [ vue.createElementVNode("div", _hoisted_2$v, vue.toDisplayString($props.sort) + ". 只看自己签名尾巴", 1), @@ -1481,7 +1481,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$k) + }, null, 40, _hoisted_3$l) ]); } const MenuLookmeSign = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]); @@ -1534,7 +1534,7 @@ }; const _hoisted_1$u = { class: "item" }; const _hoisted_2$u = { class: "tit" }; - const _hoisted_3$j = ["checked"]; + const _hoisted_3$k = ["checked"]; function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [ vue.createElementVNode("div", _hoisted_2$u, vue.toDisplayString($props.sort) + ". 开启左侧快速访问", 1), @@ -1542,7 +1542,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$j) + }, null, 40, _hoisted_3$k) ]); } const MenuQuickAccess = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z]]); @@ -1637,7 +1637,7 @@ }; const _hoisted_1$t = { class: "item" }; const _hoisted_2$t = { class: "tit" }; - const _hoisted_3$i = ["value"]; + const _hoisted_3$j = ["value"]; function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [ vue.createElementVNode("div", _hoisted_2$t, [ @@ -1649,7 +1649,7 @@ return vue.openBlock(), vue.createElementBlock("option", { value: item.value, key: item.value - }, vue.toDisplayString(item.label), 9, _hoisted_3$i); + }, vue.toDisplayString(item.label), 9, _hoisted_3$j); }), 128)) ], 512), [ [vue.vModelSelect, $options.value2] @@ -1671,7 +1671,7 @@ }; const _hoisted_1$s = { class: "item" }; const _hoisted_2$s = { class: "tit" }; - const _hoisted_3$h = ["checked"]; + const _hoisted_3$i = ["checked"]; function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [ vue.createElementVNode("div", _hoisted_2$s, vue.toDisplayString($props.sort) + ". 快速打开 Shared(需提前解锁 Shared)", 1), @@ -1679,7 +1679,7 @@ type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$h) + }, null, 40, _hoisted_3$i) ]); } const MenuShowAI = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x]]); @@ -1727,7 +1727,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$r = { class: "item" }; const _hoisted_2$r = { class: "tit" }; - const _hoisted_3$g = ["checked"]; + const _hoisted_3$h = ["checked"]; function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [ vue.createElementVNode("div", _hoisted_2$r, vue.toDisplayString($props.sort) + ". 编辑器切换 ja 字体", 1), @@ -1735,7 +1735,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$g) + }, null, 40, _hoisted_3$h) ]); } const MenuEditorJa = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w]]); @@ -1815,7 +1815,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$p = { class: "item" }; const _hoisted_2$p = { class: "tit" }; - const _hoisted_3$f = ["checked"]; + const _hoisted_3$g = ["checked"]; function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [ vue.createElementVNode("div", _hoisted_2$p, vue.toDisplayString($props.sort) + ". 开启列表页导航栏浮动", 1), @@ -1823,7 +1823,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$f) + }, null, 40, _hoisted_3$g) ]); } const MenuStickyNav = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u]]); @@ -1894,13 +1894,13 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$o = { class: "item" }; const _hoisted_2$o = { class: "tit" }; - const _hoisted_3$e = /* @__PURE__ */ vue.createElementVNode("kbd", null, "→", -1); + const _hoisted_3$f = /* @__PURE__ */ vue.createElementVNode("kbd", null, "→", -1); const _hoisted_4$8 = ["checked"]; function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [ vue.createElementVNode("div", _hoisted_2$o, [ vue.createTextVNode(vue.toDisplayString($props.sort) + ". 开启快速打开下一个帖子(快捷键:双击 ", 1), - _hoisted_3$e, + _hoisted_3$f, vue.createTextVNode(")") ]), vue.createElementVNode("input", { @@ -1924,7 +1924,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$n = { class: "item" }; const _hoisted_2$n = { class: "tit" }; - const _hoisted_3$d = ["checked"]; + const _hoisted_3$e = ["checked"]; function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [ vue.createElementVNode("div", _hoisted_2$n, vue.toDisplayString($props.sort) + ". 禁用选中文字分享功能", 1), @@ -1932,7 +1932,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$d) + }, null, 40, _hoisted_3$e) ]); } const MenuSelectedShare = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s]]); @@ -1963,7 +1963,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$m = { class: "item" }; const _hoisted_2$m = { class: "tit" }; - const _hoisted_3$c = ["checked"]; + const _hoisted_3$d = ["checked"]; function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [ vue.createElementVNode("div", _hoisted_2$m, vue.toDisplayString($props.sort) + ". 禁用视频自动播放", 1), @@ -1971,7 +1971,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$c) + }, null, 40, _hoisted_3$d) ]); } const MenuDisableAutoplay = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]); @@ -1981,7 +1981,7 @@ ${$(".d-editor-input").val()} }; const _hoisted_1$l = { class: "item" }; const _hoisted_2$l = { class: "tit" }; - const _hoisted_3$b = ["checked"]; + const _hoisted_3$c = ["checked"]; function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [ vue.createElementVNode("div", _hoisted_2$l, vue.toDisplayString($props.sort) + ". 是否显示回复悬浮按钮", 1), @@ -1989,7 +1989,7 @@ ${$(".d-editor-input").val()} type: "checkbox", checked: $props.modelValue, onChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.checked)) - }, null, 40, _hoisted_3$b) + }, null, 40, _hoisted_3$c) ]); } const MenuShowRepltBtn = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]); @@ -2293,11 +2293,11 @@ ${$(".d-editor-input").val()} this.list = this.textarea.split(",") || []; var self = this; $(".topic-list .main-link .raw-topic-link>*").filter((index, element) => { - var text = $(element).html(); + var text = $(element).text(); return self.list.some((item) => text.includes(item)); }).parents("tr.topic-list-item").remove(); $(".topic-body .cooked").filter((index, element) => { - var text = $(element).html(); + var text = $(element).text(); return self.list.some((item) => text.includes(item)); }).parents(".topic-post").remove(); } @@ -2334,7 +2334,7 @@ ${$(".d-editor-input").val()} ]) ], 64); } - const MenuBlockKeyword = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-c99e7560"]]); + const MenuBlockKeyword = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-77789f1e"]]); const _sfc_main$k = { props: { value: { @@ -2436,7 +2436,7 @@ ${$(".d-editor-input").val()} style: { "border": "none" } }; const _hoisted_2$f = { class: "tit" }; - const _hoisted_3$a = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode("p", null, "针对分类:留空对全部分类生效,多个分类用英文逗号【,】进行分隔", -1)); + const _hoisted_3$b = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode("p", null, "针对分类:留空对全部分类生效,多个分类用英文逗号【,】进行分隔", -1)); function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ vue.createElementVNode("div", _hoisted_1$f, [ @@ -2459,7 +2459,7 @@ ${$(".d-editor-input").val()} ]) ]), vue.createElementVNode("div", null, [ - _hoisted_3$a, + _hoisted_3$b, vue.withDirectives(vue.createElementVNode("textarea", { "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.localChecked.cate = $event), placeholder: "搞七捻三" @@ -2572,7 +2572,7 @@ ${$(".d-editor-input").val()} /* @__PURE__ */ vue.createElementVNode("th", null, "标签"), /* @__PURE__ */ vue.createElementVNode("th", null, "操作") ], -1); - const _hoisted_3$9 = ["onClick"]; + const _hoisted_3$a = ["onClick"]; const _hoisted_4$7 = ["onClick"]; function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", null, [ @@ -2588,7 +2588,7 @@ ${$(".d-editor-input").val()} vue.createElementVNode("span", { class: "span", onClick: ($event) => $options.editTags(item) - }, "修改", 8, _hoisted_3$9), + }, "修改", 8, _hoisted_3$a), vue.createElementVNode("span", { class: "span", onClick: ($event) => $options.delTags(item), @@ -2872,7 +2872,7 @@ ${topic_contentdata}`; const _withScopeId$4 = (n) => (vue.pushScopeId("data-v-178c15f8"), n = n(), vue.popScopeId(), n); const _hoisted_1$d = { class: "item" }; const _hoisted_2$d = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "1. 是否开启 AI 生成话题总结", -1)); - const _hoisted_3$8 = { class: "item" }; + const _hoisted_3$9 = { class: "item" }; const _hoisted_4$6 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "2. 是否显示手动总结按钮", -1)); const _hoisted_5$5 = { class: "item" }; const _hoisted_6$4 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "3. 是否开启 AI 生成回复推荐", -1)); @@ -2897,7 +2897,7 @@ ${topic_contentdata}`; [vue.vModelCheckbox, $data.localChecked.value1] ]) ]), - vue.createElementVNode("div", _hoisted_3$8, [ + vue.createElementVNode("div", _hoisted_3$9, [ _hoisted_4$6, vue.withDirectives(vue.createElementVNode("input", { type: "checkbox", @@ -3060,7 +3060,7 @@ ${topic_contentdata}`; const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-b5335091"), n = n(), vue.popScopeId(), n); const _hoisted_1$c = { class: "item" }; const _hoisted_2$c = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, "切换论坛主题:", -1)); - const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, "无法修改,如果有样式问题无法解决,因为是直接 copy 别的论坛样式文件。", -1)); + const _hoisted_3$8 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, "无法修改,如果有样式问题无法解决,因为是直接 copy 别的论坛样式文件。", -1)); const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("p", null, [ /* @__PURE__ */ vue.createElementVNode("a", { href: "https://github.com/dlzmoe/linuxdo-scripts/tree/main/themes", @@ -3077,7 +3077,7 @@ ${topic_contentdata}`; function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [ _hoisted_2$c, - _hoisted_3$7, + _hoisted_3$8, _hoisted_4$5, _hoisted_5$4, vue.createElementVNode("ul", null, [ @@ -3407,7 +3407,7 @@ ${topic_contentdata}`; const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-b6c08155"), n = n(), vue.popScopeId(), n); const _hoisted_1$b = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "item" }, "用于在云端同步设置数据,无需手动导入导出。(同步前先保存设置)", -1)); const _hoisted_2$b = { class: "item" }; - const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "WebDav 地址:", -1)); + const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "WebDav 地址:", -1)); const _hoisted_4$4 = { class: "item" }; const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tit" }, "WebDav 用户名:", -1)); const _hoisted_6$2 = { class: "item" }; @@ -3420,7 +3420,7 @@ ${topic_contentdata}`; return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ _hoisted_1$b, vue.createElementVNode("div", _hoisted_2$b, [ - _hoisted_3$6, + _hoisted_3$7, vue.withDirectives(vue.createElementVNode("input", { type: "text", "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.tableData.webdavUrl = $event), @@ -3632,7 +3632,7 @@ ${topic_contentdata}`; const _hoisted_2$a = [ _hoisted_1$a ]; - const _hoisted_3$5 = { + const _hoisted_3$6 = { key: 0, id: "linuxDoLevelPopupContent" }; @@ -3648,7 +3648,7 @@ ${topic_contentdata}`; onClick: _cache[0] || (_cache[0] = (...args) => $options.togglePopupSize && $options.togglePopupSize(...args)), title: "等级查询" }, _hoisted_2$a, 2), - !$data.isMinimized ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, [ + !$data.isMinimized ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$6, [ vue.createElementVNode("div", { innerHTML: $data.content }, null, 8, _hoisted_4$3), vue.withDirectives(vue.createElementVNode("input", { "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.username = $event), @@ -3764,24 +3764,25 @@ ${topic_contentdata}`; } } }; - const _hoisted_1$8 = /* @__PURE__ */ vue.createElementVNode("svg", { + const _hoisted_1$8 = { class: "replaybtn" }; + const _hoisted_2$8 = /* @__PURE__ */ vue.createElementVNode("svg", { class: "fa d-icon d-icon-reply svg-icon svg-string", xmlns: "http://www.w3.org/2000/svg" }, [ /* @__PURE__ */ vue.createElementVNode("use", { href: "#reply" }) ], -1); - const _hoisted_2$8 = [ - _hoisted_1$8 + const _hoisted_3$5 = [ + _hoisted_2$8 ]; function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { - return vue.openBlock(), vue.createElementBlock("div", null, [ + return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [ vue.createElementVNode("div", { class: "el-button", style: { "font-size": "18px" }, onClick: _cache[0] || (_cache[0] = (...args) => $options.replaybtn && $options.replaybtn(...args)), type: "primary", title: "回复" - }, _hoisted_2$8) + }, _hoisted_3$5) ]); } const ReplyBtn = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]); @@ -4257,6 +4258,11 @@ ${topic_contentdata}`; } }, created() { + console.log( + `%c linuxdo 增强插件 %c 已开启 `, + "padding: 2px 1px; color: #fff; background: #606060;", + "padding: 2px 1px; color: #fff; background: #42c02e;" + ); setInterval(() => { if ($(".linuxdoscripts-setting").length < 1) { $(".sidebar-footer-actions").prepend(` @@ -4274,6 +4280,13 @@ ${topic_contentdata}`; this.showlevelsearch = this.settingData.checked12; this.showaidialog = this.settingData.checked18; this.showreplybtn = this.settingData.checked25; + setInterval(() => { + if (window.location.href.includes("/topic/")) { + $(".replaybtn").show(); + } else { + $(".replaybtn").hide(); + } + }, 1e3); } else { localStorage.setItem("linxudoscriptssetting", JSON.stringify(this.settingData)); } diff --git a/package.json b/package.json index a022581..70e1e99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linuxdo-scripts", - "version": "0.3.35", + "version": "0.3.36", "author": "dlzmoe", "description": "An enhanced script for the linux.do forum", "type": "module", diff --git a/src/app.vue b/src/app.vue index 7076640..db3313c 100644 --- a/src/app.vue +++ b/src/app.vue @@ -3,7 +3,7 @@
- + @@ -475,6 +475,11 @@ export default { }, }, created() { + console.log( + `%c linuxdo 增强插件 %c 已开启 `, + "padding: 2px 1px; color: #fff; background: #606060;", + "padding: 2px 1px; color: #fff; background: #42c02e;" + ); setInterval(() => { if ($(".linuxdoscripts-setting").length < 1) { $(".sidebar-footer-actions").prepend(` @@ -496,6 +501,14 @@ export default { this.showlevelsearch = this.settingData.checked12; this.showaidialog = this.settingData.checked18; this.showreplybtn = this.settingData.checked25; + + setInterval(() => { + if (window.location.href.includes("/topic/")) { + $(".replaybtn").show(); + } else { + $(".replaybtn").hide(); + } + }, 1000); } else { localStorage.setItem("linxudoscriptssetting", JSON.stringify(this.settingData)); } diff --git a/src/components/Button/ReplyBtn.vue b/src/components/Button/ReplyBtn.vue index 29be4d2..8ddbfc1 100644 --- a/src/components/Button/ReplyBtn.vue +++ b/src/components/Button/ReplyBtn.vue @@ -1,5 +1,5 @@ diff --git a/src/components/CustomText/MenuBlockKeyword.vue b/src/components/CustomText/MenuBlockKeyword.vue index 6b0bfcc..9d6271a 100644 --- a/src/components/CustomText/MenuBlockKeyword.vue +++ b/src/components/CustomText/MenuBlockKeyword.vue @@ -40,7 +40,7 @@ export default { // 检查话题标题 $(".topic-list .main-link .raw-topic-link>*") .filter((index, element) => { - var text = $(element).html(); + var text = $(element).text(); return self.list.some((item) => text.includes(item)); }) .parents("tr.topic-list-item") @@ -49,7 +49,8 @@ export default { // 检测评论回复 $(".topic-body .cooked") .filter((index, element) => { - var text = $(element).html(); + var text = $(element).text(); + return self.list.some((item) => text.includes(item)); }) .parents(".topic-post") diff --git a/version-log.md b/version-log.md index 5be49c5..3651a89 100644 --- a/version-log.md +++ b/version-log.md @@ -1,3 +1,8 @@ +## 0.3.36 + +- 修复:回复按钮只有在帖子内才显示 +- 修复:屏蔽关键词优化 + ## 0.3.35 - 新增:回复悬浮按钮