Advertisement
Guest User

Gurvinder's Xtramath Cheat

a guest
Oct 17th, 2017
528
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. /*
  2. * Gurvinder Singh* Xtramath Cheat
  3. * Stage 2
  4. * Version 3.2 for 2017
  5. * Made with <3 for everyone who needs help with math.
  6. * */
  7.  
  8. (function() {
  9.  
  10. var url = "https://xtramathcheat.gitlab.io/cheat/stage3.js";
  11. var msg = '<h4>gurvindersingh Xtramath cheat loaded!</h4>Open the keypad and click on any button. It will enter the correct answer. Please be slow when clicking on the buttons the cheat takes time to run. Do not click the bookmark again. It will break the cheat.';
  12. var body = document.getElementsByTagName("body")[0];
  13. var n = document.createElement("div");
  14.  
  15. function e(e, t) {
  16. var n = document.createElement("script");
  17. n.src = e;
  18. var o = document.getElementsByTagName("head")[0],
  19. i = !1;
  20. n.onload = n.onreadystatechange = function() {
  21. i || this.readyState && "loaded" != this.readyState && "complete" != this.readyState || (i = !0, t(), n.onload = n.onreadystatechange = null, o.removeChild(n));
  22. }, o.appendChild(n);
  23. }
  24.  
  25. function removeit() {
  26. body.removeChild(n);
  27. }
  28.  
  29. e(url, function() {
  30. console.log("Loaded");
  31. n.style.position = "fixed";
  32. n.style.height = "auto";
  33. n.style.width = "220px";
  34. n.style.marginLeft = "-110px";
  35. n.style.top = "0";
  36. n.style.left = "50%";
  37. n.style.padding = "5px 10px";
  38. n.style.zIndex = 1001;
  39. n.style.fontSize = "12px";
  40. n.style.color = "#222";
  41. n.style.backgroundColor = "#f99";
  42. n.innerHTML = msg;
  43. body.appendChild(n);
  44. });
  45.  
  46. setTimeout(removeit, 10000);
  47.  
  48. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement