auto-say-hello-plus

Transform into the Western Hello Brother Arthur Morgan and automatically send thanks on every torrent page! If it fails to match successfully, please contact me: 960487551@qq.com

  1. // ==UserScript==
  2. // @name auto-say-hello-plus
  3. // @namespace http://tampermonkey.net/
  4. // @description:zh-CN 化身西部hello哥亚瑟摩根,对每个种子页面都自动感谢!如果未匹配成功请联系我:960487551@qq.com
  5. // @description:en Transform into the Western Hello Brother Arthur Morgan and automatically send thanks on every torrent page! If it fails to match successfully, please contact me: 960487551@qq.com
  6. // @license MIT
  7. // @author wiiii
  8. // @version 1.0.4
  9. // @email 960487551@qq.com
  10. // @copyright (c) 2025-01-01
  11. // @match *://pt.m-team.cc/*details.php*
  12. // @match *://kp.m-team.cc/*details.php*
  13. // @match *://xp.m-team.io/*details.php*
  14. // @match *://pt.btschool.club/details.php*
  15. // @match *://www.haidan.video/details.php*
  16. // @match *://www.hddolby.com/details.php*
  17. // @match *://www.hdarea.co/details.php*
  18. // @match *://hdatmos.club/details.php*
  19. // @match *://hdhome.org/details.php*
  20. // @match *://hdsky.me/details.php*
  21. // @match *://hdtime.org/details.php*
  22. // @match *://hhanclub.top/details.php*
  23. // @match *://lemonhd.org/details*
  24. // @match *://pt.soulvoice.club/details.php*
  25. // @match *://avgv.cc/details.php*
  26. // @match *://ptsbao.club/details.php*
  27. // @match *://www.beitai.pt/details.php*
  28. // @match *://ubits.club/details.php*
  29. // @match *://et8.org/details.php*
  30. // @match *://pt.eastgame.org/details.php*
  31. // @match *://pthome.net/details.php*
  32. // @match *://pterclub.com/details.php*
  33. // @match *://ourbits.club/details.php*
  34. // @match *://hdzone.me/details.php*
  35. // @match *://pt.msg.vg/details.php*
  36. // @match *://hdfans.org/details.php*
  37. // @match *://rousi.zip/details.php*
  38. // @match *://carpt.net/details.php*
  39. // @match *://www.tjupt.org/details.php*
  40. // @match *://yingk.com/details.php*
  41. // @match *://www.dragonhd.xyz/details.php*
  42. // @match *://chdbits.co/details.php*
  43. // @match *://njtupt.top/details.php*
  44. // @match *://sunnypt.top/details.php*
  45. // @match *://audiences.me/details.php*
  46. // @match *://xingtan.one/details.php*
  47. // @match *://www.nicept.net/details.php*
  48. // @grant none
  49. // @description Transform into the Western Hello Brother Arthur Morgan and automatically send thanks on every torrent page! If it fails to match successfully, please contact me: 960487551@qq.com
  50. // ==/UserScript==
  51.  
  52. (function () {
  53. "use strict";
  54.  
  55. // 定义等待函数
  56. var wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
  57.  
  58. // 定义站点组
  59. const siteGroups = [
  60. {
  61. sites: ["pt.m-team.cc", "kp.m-team.cc", "xp.m-team.io", "m-team"],
  62. action: () => {
  63. const sayThanksButton = document.getElementById("saythanks");
  64. if (sayThanksButton && !sayThanksButton.disabled) {
  65. console.log("auto click thanks way 1~~~");
  66. sayThanksButton.click();
  67. }
  68. },
  69. },
  70. {
  71. sites: [
  72. "pt.btschool.club",
  73. "www.hddolby.com",
  74. "hdatmos.club",
  75. "hdhome.org",
  76. "hdsky.me",
  77. "audiences.me",
  78. "lemonhd.org",
  79. "pt.soulvoice.club",
  80. "www.beitai.pt",
  81. "et8.org",
  82. "pt.eastgame.org",
  83. "pthome.net",
  84. "pterclub.com",
  85. "hdzone.me",
  86. "pt.msg.vg",
  87. "hdfans.org",
  88. "rousi.zip",
  89. "carpt.net",
  90. "hhanclub.top",
  91. "ubits.club",
  92. "www.dragonhd.xyz",
  93. "njtupt.top",
  94. "sunnypt.top",
  95. "audiences.me",
  96. "xingtan.one",
  97. "www.nicept.net",
  98. ],
  99. action: () => {
  100. wait(5000).then(() => {
  101. const sayThanksButton = document.getElementById("saythanks");
  102. if (sayThanksButton && !sayThanksButton.disabled) {
  103. console.log("auto click thanks way 2~~~");
  104. sayThanksButton.click();
  105. }
  106. });
  107. },
  108. },
  109. {
  110. sites: [
  111. "www.hdarea.co",
  112. "hdtime.org",
  113. "avgv.cc",
  114. "ptsbao.club",
  115. "ourbits.club",
  116. ],
  117. action: () => {
  118. wait(5000).then(() => {
  119. const sayThanksButton = document.getElementById("saythanks");
  120. if (sayThanksButton && !sayThanksButton.disabled) {
  121. console.log("auto click thanks way 3~~~");
  122. sayThanksButton.click();
  123. }
  124. });
  125. },
  126. },
  127. {
  128. sites: ["www.haidan.video"],
  129. action: () => {
  130. const sayThanksButton = document.querySelector('a[id*="saythanks"]');
  131. if (sayThanksButton && !sayThanksButton.style) {
  132. wait(2000).then(() => {
  133. console.log("auto click thanks way 4~~~");
  134. sayThanksButton.click();
  135. });
  136. }
  137. },
  138. },
  139. {
  140. sites: ["www.tjupt.org", "yingk.com", "chdbits.co"],
  141. action: () => {
  142. wait(5000).then(() => {
  143. const sayThanksButton = document.getElementById("saythanks");
  144. if (
  145. sayThanksButton &&
  146. !sayThanksButton.disabled &&
  147. !sayThanksButton.disabled
  148. ) {
  149. console.log("auto click thanks way 5~~~");
  150. sayThanksButton.click();
  151. }
  152. });
  153. },
  154. },
  155. ];
  156.  
  157. // 遍历站点组并匹配执行相应动作
  158. for (const group of siteGroups) {
  159. console.log('%c 说谢谢。', 'color: green;');
  160. if (group.sites.some((site) => location.href.indexOf(site) >= 0)) {
  161. group.action();
  162. break; // 只执行匹配到的第一个组的动作
  163. }
  164. }
  165. })();

QingJ © 2025

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