Auto click the continue button on DeepSeek

Automatically click the continue button on DeepSeek

  1. // ==UserScript==
  2. // @name Auto click the continue button on DeepSeek
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description Automatically click the continue button on DeepSeek
  6. // @author You
  7. // @match https://chat.deepseek.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. const buttonClass = "ds-button ds-button--secondary ds-button--bordered ds-button--rect ds-button--m";
  15.  
  16. function clickButton() {
  17. const button = document.querySelector(`.${buttonClass.split(' ').join('.')}`);
  18. if (button) {
  19. button.click();
  20. console.log("Button clicked!");
  21. }
  22. }
  23.  
  24. const observer = new MutationObserver(function(mutations) {
  25. mutations.forEach(function(mutation) {
  26. if (mutation.addedNodes && mutation.addedNodes.length > 0) {
  27. clickButton();
  28. }
  29. });
  30. });
  31.  
  32. observer.observe(document.body, { childList: true, subtree: true });
  33. })();

QingJ © 2025

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