Greasy Fork

Greasy Fork is available in English.

起点投推荐票

起点自动投推荐票

当前为 2023-11-28 提交的版本,查看 最新版本

// ==UserScript==
// @name         起点投推荐票
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  起点自动投推荐票
// @author       TZXinTai
// @match        https://book.qidian.com/info/1035849533/
// @icon         https://qdfepccdn.qidian.com/my.qidian.com/static/qdp/img/[email protected]
// @grant        none
// ==/UserScript==
// 将@match网址最后的数字修改为你要投票的书籍ID就可 https://book.qidian.com/info/1035849533/
// 会把所有的推荐票都投给一本书
(function () {
    'use strict';
    setTimeout(() => {
        document.getElementById('topVoteBtn').click(); // 投票互动
        document.getElementById('recTab').click(); // 推荐票
        setTimeout(() => {
            let tp = document.getElementById('voteRec'); // 投票
            if (tp == null) { window.close(); } else { tp.click(); }
            setTimeout(() => { window.close(); }, 2000);
        }, 3000);
    }, 10000);
})();