diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index d72409a..0cd9afb 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -3,7 +3,7 @@
// @name:zh-CN 知乎增强
// @name:zh-TW 知乎增強
// @name:en Zhihu enhancement
-// @version 2.2.0
+// @version 2.2.1
// @author X.I.U
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、置頂顯示時間、完整問題時間、區分問題文章、默認高清原圖、默認站外直鏈...
@@ -214,7 +214,7 @@ function collapsedAnswer() {
if (document.querySelector('.CornerAnimayedFlex') && !document.getElementById('collapsed-button')) {
//console.log('2222')
document.head.appendChild(document.createElement('style')).textContent = '.CornerButton{margin-bottom:8px !important;}.CornerButtons{bottom:45px !important;}';
- document.querySelector('.CornerAnimayedFlex').insertAdjacentHTML('afterBegin', '');
+ document.querySelector('.CornerAnimayedFlex').insertAdjacentHTML('afterBegin', '');
document.getElementById('collapsed-button').onclick = function () {
if (location.pathname === '/' || location.pathname === '/hot' || location.pathname === '/follow') {
document.querySelectorAll('.ContentItem-rightButton').forEach(function (el) {
@@ -1402,7 +1402,7 @@ function questionInvitation(){
}
})
- removeLogin(); // 移除登录弹窗
+ removeLogin(); // 移除登录弹窗,Violentmonkey 不能延迟执行这个
// Violentmonkey 比 Tampermonkey 加载更早,会导致一些元素还没加载,因此需要延迟一会儿
// Tampermonkey 4.18.0 版本可能需要延迟一会执行
if (GM_info.scriptHandler === 'Violentmonkey' || (GM_info.scriptHandler === 'Tampermonkey' && parseFloat(GM_info.version.slice(0,4)) >= 4.18)) {