Browse Source

添加 'mcbbs/auto-report.user.js'

master
502647092 1 year ago
parent
commit
9768b79385
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      mcbbs/auto-report.user.js

+ 21
- 0
mcbbs/auto-report.user.js View File

@ -0,0 +1,21 @@
// ==UserScript==
// @name 自动举报确认
// @namespace https://miaowoo.cc/
// @version 0.1
// @description 自动确认举报!
// @author MiaoWoo
// @match https://www.mcbbs.net/forum.php?mod=viewthread&tid=**
// @match https://www.mcbbs.net/thread-**-*-*.html
// @grant none
// ==/UserScript==
(function() {
'use strict';
setInterval(function(){
var rmsg = document.querySelector('#report_message');
if (rmsg && rmsg.value == "请填写举报内容") {
document.querySelector('#report_reasons .pr').click()
document.querySelector('.pns').click()
}
}, 300)
})();

Loading…
Cancel
Save