auto lucky draw

自动破产工具

  1. // ==UserScript==
  2. // @name auto lucky draw
  3. // @namespace Violentmonkey Scripts
  4. // @match https://zmpt.cc/plugin/lucky-draw
  5. // @match https://hdfans.org/plugin/lucky-draw
  6. // @match https://hhanclub.top/plugin/lucky-draw
  7. // @match https://ptvicomo.net/plugin/lucky-draw
  8. // @match https://www.agsvpt.com/plugin/lucky-draw
  9. // @match https://www.ptlsp.com/plugin/lucky-draw
  10. // @grant none
  11. // @version 0.0.1
  12. // @description 自动破产工具
  13. // @license MIT
  14. // ==/UserScript==
  15. (function () {
  16. var host = window.location.host;
  17. if (sessionStorage.getItem('confirm') != 'ok') {
  18. if (confirm("确定要执行操作吗?")) {
  19. sessionStorage.setItem('confirm', 'ok');
  20. } else {
  21. window.location.assign('https://' + host)
  22. }
  23. }
  24. var wait = ms => new Promise(resolve => setTimeout(resolve, ms))
  25. if (window.location.href.indexOf('https://' + host + '/plugin/lucky-draw') == 0) {
  26. wait(5000).then(() => {
  27. $('#pointer').click();
  28. });
  29. }
  30. var timer1 = setInterval(function () {
  31. // 查找具有 class="layui-layer-btn0" 的元素
  32. var element = document.querySelector('.layui-layer-btn0');
  33. if (element) {
  34. // 如果找到了元素
  35. clearInterval(timer1);
  36. $(element).click();
  37. }
  38. }, 2000);
  39. })();

QingJ © 2025

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