Autokahoot

Automatically move through kahoots - with more power and ease

  1. // ==UserScript==
  2. // @name Autokahoot
  3. // @version 1.5.2
  4. // @description Automatically move through kahoots - with more power and ease
  5. // @author codingMASTER398
  6. // @match https://play.kahoot.it/v2*
  7. // @run-at document-start
  8. // @grant none
  9. // @icon https://img.icons8.com/plasticine/2x/kahoot.png
  10. // @namespace https://gf.qytechs.cn/users/682906
  11. // ==/UserScript==
  12. window.antibotAdditionalScripts = window.antibotAdditionalScripts || [];
  13. window.antibotAdditionalScripts.push(()=>{
  14. console.log("[AUTOKAHOOT] running")
  15.  
  16. window.toInsert = document.createElement("div");
  17. window.toInsert.innerHTML = "codingMASTER398 - Autokahoot"; //PLEASE DONT CHANGE, THIS IS MY ONLY FORM OF CREDIT ):
  18. window.toInsert.style.color = 'white'
  19. window.toInsert.style.position = "absolute";
  20. window.toInsert.style.bottom = "0px";
  21. window.toInsert.style.textAlign = "left";
  22. window.toInsert.style.width = "100%";
  23. document.body.appendChild(window.toInsert);
  24.  
  25. icount=true
  26. setInterval(function() {
  27. if(icount==true){
  28. if(document.getElementsByClassName('flat-button__FlatButton-sc-6uljam-0')[0]){
  29. if(document.getElementsByClassName('flat-button__FlatButton-sc-6uljam-0')[0].disabled){}else{
  30. icount = false
  31. counts=16
  32. countdown = setInterval(function(){
  33. counts--
  34. document.getElementsByClassName('flat-button__FlatButton-sc-6uljam-0')[0].innerText = "Start-"+counts
  35. if(counts==0 || counts < 0){
  36. if(counts < -5){
  37. clearTimeout(countdown);
  38. icount=true
  39. document.getElementsByClassName('flat-button__FlatButton-sc-6uljam-0')[0].innerText = "Start"
  40. }else{
  41. clearTimeout(countdown);
  42. icount=true
  43. document.getElementsByClassName('flat-button__FlatButton-sc-6uljam-0')[0].innerText = "Start"
  44. document.getElementsByClassName('flat-button__FlatButton-sc-6uljam-0')[0].click();
  45. }
  46. }
  47. }, 1000);
  48. }
  49. }
  50. }
  51. },1000)
  52. setInterval(function() {
  53. if(document.getElementsByClassName('iJqmEC')[0]){
  54. document.getElementsByClassName('iJqmEC')[0].click();
  55. }
  56. if(document.getElementsByClassName('kFPtaw')[0]){
  57. if(document.getElementsByClassName('kFPtaw')[0].innerText=="Play next" || document.getElementsByClassName('kFPtaw')[0].innerText=="Play again"){
  58. document.getElementsByClassName('kFPtaw')[0].click();
  59. }
  60. }
  61. },10000)
  62.  
  63. function waitforendportal() {
  64. a = setInterval(() => {
  65. if(document.getElementsByClassName('cRHjov')[0]){
  66. clearInterval(a)
  67. setTimeout(() => {
  68. console.log("Clicking")
  69. document.getElementsByClassName('cRHjov')[0].click();
  70. setTimeout(() => {
  71. document.getElementsByClassName('ghnSPz')[0].click();
  72. }, 1000);
  73. waitforendportal();
  74. }, 30000);
  75. }
  76. }, 3000);
  77. }
  78. waitforendportal();
  79. function waitfornext() {
  80. console.log("Waiting for next")
  81. setTimeout(
  82. function(){
  83. nexte = setInterval(() => {
  84. if(document.getElementsByClassName('kFPtaw')[0]){
  85. if(document.getElementsByClassName('kFPtaw')[0].innerHTML=='Next'){
  86. console.log("Found next")
  87. setTimeout(() => {
  88. waitfornext();
  89. }, 10);
  90. clearInterval(nexte)
  91. setTimeout(() => {
  92. document.getElementsByClassName('kFPtaw')[0].innerHTML='Next - 3'
  93. }, 1000);
  94. setTimeout(() => {
  95. document.getElementsByClassName('kFPtaw')[0].innerHTML='Next - 2'
  96. }, 2000);
  97. setTimeout(() => {
  98. document.getElementsByClassName('kFPtaw')[0].innerHTML='Next - 1'
  99. }, 3000);
  100. setTimeout(() => {
  101. document.getElementsByClassName('kFPtaw')[0].innerHTML='Please wait'
  102. document.getElementsByClassName('kFPtaw')[0].click();
  103.  
  104. }, 4000);
  105. }
  106. }
  107. }, 50);
  108. },4000)
  109. }
  110. waitfornext();
  111. ae = setInterval(() => {
  112. if(document.getElementsByClassName('guhfFk')[0]){
  113. clearInterval(ae)
  114. countsr=31
  115. countdown = setInterval(function(){
  116. countsr--
  117. document.getElementsByClassName('guhfFk')[0].innerText = "Classic - "+countsr
  118. if(countsr==0 || countsr < 0){
  119. clearInterval(countdown);
  120. document.getElementsByClassName('guhfFk')[0].click();
  121. }
  122. }, 1000);
  123. }
  124. }, 3000);
  125. });
  126.  
  127. if(!window.antibotAdditionalScripts){
  128. alert("Make sure you have theusaf's antibot on! Autokahoot wont work without it!")
  129. }

QingJ © 2025

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