DeepSeek繁忙自动点击重试

DeepSeek提示繁忙,自动点击重试

当前为 2025-02-11 提交的版本,查看 最新版本

// ==UserScript==
// @name         DeepSeek繁忙自动点击重试
// @namespace    http://tampermonkey.net/
// @version      2024-11-05
// @license      MIT
// @description  DeepSeek提示繁忙,自动点击重试
// @author       Dingning
// @include      *://*.deepseek.com/*
// @icon         https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/deepseek-color.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    setInterval(() => {
        const contentList = document.querySelectorAll('.ds-markdown')
        const lastContent = contentList[contentList.length - 1].innerHTML
        if (lastContent === '<p>服务器繁忙,请稍后再试。</p>') {
            const btns = document.querySelectorAll('.ds-icon-button')
            const retryBtn = btns[btns.length - 3]
            retryBtn.click()
            console.log('✅ 已点击重试')
        }
    }, 1000)
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址