MicroScatter Cheater Script

Press C on microscatter to win

  1. // ==UserScript==
  2. // @name MicroScatter Cheater Script
  3. // @namespace http://qsysmine.tk/
  4. // @version 0.1
  5. // @description Press C on microscatter to win
  6. // @author qsysmine
  7. // @match https://quizlet.com/*/microscatter
  8. // @grant none
  9. // ==/UserScript==
  10. (function(){
  11. if (window.jQuery !== undefined) {
  12. doStuff(jQuery);
  13. } else {
  14. var script = document.createElement('script');
  15. script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js';
  16. document.getElementsByTagName('head')[0].appendChild(script);
  17. var interval = setInterval(function(){
  18. if (window.jQuery) {
  19. clearInterval(interval);
  20. var JQ = jQuery.noConflict(true);
  21. doStuff(JQ);
  22. }
  23. }, 100);
  24. }
  25. function doStuff($) { var cheatTime = 0;
  26. window.setCheatTime = function(mils) {
  27. cheatTime = mils;
  28. };
  29. var $ = window.jQuery;
  30. var cheat = function() {
  31. var ids = [];
  32. var checkhasid = function(id) {
  33. for(var i in ids) {
  34. if(ids[i] == id) {
  35. return true;
  36. }
  37. }
  38. return false;
  39. };
  40. setTimeout(function() {
  41. $('.cell').each(function(index){
  42.  
  43. if(checkhasid($(this).attr("data-id"))) $('[data-id="' + $(this).attr("data-id") + '"]').trigger("click")
  44. if(!checkhasid($(this).attr("data-id"))) ids.push($(this).attr("data-id"));
  45.  
  46. });
  47. }, cheatTime);
  48. };
  49. window.startWithTime = function(mils) {
  50. setCheatTime(mils);
  51. $('#start').trigger("click");
  52. cheat();
  53. };
  54. var z = 0;
  55. $('*').keyup(function(e) {
  56. if(e.keyCode == 67 && z == 0 && $('#cells').hasClass("started")) {z = 1; cheat();}
  57. }); }
  58. })();

QingJ © 2025

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