We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6247806 commit ad409bbCopy full SHA for ad409bb
1 file changed
V2ex-Enhanced.user.js
@@ -222,6 +222,7 @@
222
} else if (document.getElementById('gift_v2excellent')) { // 兼容 [V2ex Plus] 扩展
223
document.getElementById('gift_v2excellent').click();
224
GM_setValue('menu_clockInTime', timeNow); // 写入签到时间以供后续比较
225
+ console.info('[V2EX 增强] 自动签到完成!')
226
} else { // 都没有找到,说明已经签过到了
227
console.info('[V2EX 增强] 已经签过到了。')
228
}
@@ -345,7 +346,7 @@
345
346
function linksBlank(css) {
347
if (!menu_value('menu_linksBlank')) return
348
let links = document.querySelectorAll(css);if (!links) return
- Array.from(links).forEach(function (_this) {
349
+ links.forEach(function (_this) {
350
_this.target = '_blank'
351
});
352
0 commit comments