We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2faf42f commit de708aaCopy full SHA for de708aa
1 file changed
52pojie-Enhanced.user.js
@@ -1,6 +1,6 @@
1
// ==UserScript==
2
// @name 吾爱破解论坛增强 - 自动签到、翻页
3
-// @version 1.3.5
+// @version 1.3.6
4
// @author X.I.U
5
// @description 自动签到、自动无缝翻页、屏蔽导读悬赏贴(最新发表页)
6
// @match *://www.52pojie.cn/*
@@ -188,7 +188,7 @@
188
function qianDao() {
189
if (!menu_value('menu_autoClockIn')) return
190
if (location.pathname === '/home.php' && location.search.indexOf('mod=task') > -1) {return;}
191
- let qiandao = document.querySelector('#um a[href="home.php?mod=task&do=apply&id=2"]');
+ let qiandao = document.querySelector('#um a[href^="home.php?mod=task&do=apply&id=2"]');
192
if (qiandao) {
193
let iframe = document.createElement('iframe'); // XHR 方式无法签到,改用 iframe 框架打开签到网页
194
document.lastElementChild.appendChild(iframe);
0 commit comments