Bypass Banned

trying..

  1. // ==UserScript==
  2. // @name Bypass Banned
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description trying..
  6. // @author .wmp#8652
  7. // @match http://alis.io/
  8. // @grant GM_getResourceText
  9. // @grant GM_addStyle
  10. // @grant GM_xmlhttpRequest
  11. // @grant GM_getResourceURL
  12. // @grant GM_xmlhttpRequest
  13. // ==/UserScript==
  14.  
  15. unsafeWindow.getJWT=function(userid, accesstoken) {
  16. jwt = null; // flush out our jwt.
  17. var url = '/api/auth/facebook';
  18. var method = 'POST';
  19. var data = {
  20. userID: userid,
  21. accessToken: accesstoken,
  22. };
  23. var success = function(response) {
  24. if (!response.token) {
  25. console.log('webservice failed to provide JWT');
  26. if (response.message) {
  27. $('#coingrid').css('display', 'none');
  28. swal("Could not log in via facebook: ", response.message, "error");
  29. $("#socialcard .uk-card").html('<p>' + response.message + '</p>');
  30. }
  31. } else {
  32. jwt = response.token;
  33. var jwt2 = response.token.split(/[.]/);
  34. console.log("%ctoken:", "font-weight:bold;");
  35. console.log("%c" + jwt2[0] + ".%c" + jwt2[1] + ".%c" + jwt2[2], "font-size:10px;color:#fb015b;", "font-size:10px;color:#d63aff;", "font-size:10px;color:#00b9f1;", '');
  36.  
  37. //$("#jwt").text(jwt);
  38. // Why was this changed?
  39. $("#jwt").val(jwt);
  40. // Store
  41. localStorage.setItem("jwt", jwt);
  42. // Retrieve
  43. var decoded = jwt_decode(jwt);
  44. //console.log(decoded);
  45. userid = decoded.sub;
  46. //$('#coinswidget .modal-body').append('<iframe src="https://api.paymentwall.com/api/?key=5d6242e544963c739e2c1d0288a15279&uid=' + userid + '&widget=w6_1" width="" height="" style="width:100%;height:100%;min-width:800px;min-height:640px;" frameborder="0"></iframe>');
  47. getupgrades(userid);
  48. updatePlayerDetails();
  49. // try to renew the users JWT every 20 minutes
  50. setInterval(renewJWT, 20 * 60 * 1000);
  51. }
  52. };
  53. var failure = function(error) {
  54. console.log('login failed with error:');
  55. var message = JSON.parse(error.responseText);
  56. console.log(message);
  57. };
  58. // run the api call specified and wait for its response
  59. apicall(url, method, data, success, failure);
  60. };

QingJ © 2025

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