Takepoint.io - anti-kick script

made for marliskilla :) works by pausing the render loop while making a captcha token, putting less load on the cpu/gpu and thus resulting in higher captcha scores.

  1. // ==UserScript==
  2. // @name Takepoint.io - anti-kick script
  3. // @namespace http://tampermonkey.net/
  4. // @version 1
  5. // @description made for marliskilla :) works by pausing the render loop while making a captcha token, putting less load on the cpu/gpu and thus resulting in higher captcha scores.
  6. // @author You
  7. // @match https://takepoint.io/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=takepoint.io
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var loadLoop = setInterval(() => {
  15. if(ASM_CONSTS) {
  16. ASM_CONSTS[38092] = function($0) {
  17. grecaptcha.ready(function() {
  18. Browser.mainLoop.pause()
  19. setTimeout(() => { //give the client time to finish whatever it was doing last frame
  20. grecaptcha.execute("6LcA3gsaAAAAAI-hzo7vC9uApeFk4SpfMKKTRAPs", {
  21. action: "connect"
  22. }).then(function(token) {
  23. var msg = "v," + token;
  24. var ptr = Module._malloc(msg.length);
  25. Module.stringToUTF8(msg, ptr, msg.length * 4);
  26. sockets[$0].send(HEAP8.subarray(ptr, ptr + msg.length));
  27. Module._free(ptr);
  28. Browser.mainLoop.resume()
  29. });
  30. }, 33);
  31. });
  32. }
  33. clearInterval(loadLoop)
  34. }
  35. }, 20)
  36. })();