// ==UserScript== // @name SegmentFault Automatic Reviewing | 思否自动审核 // @namespace https://segmentfault.com/u/forkkillet // @version 0.1 // @description 再也不用为某些用户每天无意义重复发文而苦恼了。 // @author ForkKILLET // @match https://segmentfault.com/review/article_first // @grant GM_getValue // @grant GM_setValue // @grant unsafeWindow // @downloadURL https://update.greasyfork.icu/scripts/421526/SegmentFault%20Automatic%20Reviewing%20%7C%20%E6%80%9D%E5%90%A6%E8%87%AA%E5%8A%A8%E5%AE%A1%E6%A0%B8.user.js // @updateURL https://update.greasyfork.icu/scripts/421526/SegmentFault%20Automatic%20Reviewing%20%7C%20%E6%80%9D%E5%90%A6%E8%87%AA%E5%8A%A8%E5%AE%A1%E6%A0%B8.meta.js // ==/UserScript== Array.range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => i + start) const debug = true const log = m => console.log("[SFAR] " + m) const error = m => console.error("[SFAR] " + m) const $ = unsafeWindow.$ $(render) function render() { if ($(".audit__content > div").length === 2) return debug && log("nothing to review.") const $ui = $(`
[SFAR] 自动审核