Guest User

Untitled

a guest
Aug 30th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. (function () {
  2. if (document.URL.match(/bubble.am|agar.io/) && (+new Date() < 1441556695552)) {
  3. var interval;
  4. var key = !1;
  5. document.onkeydown = function (e) {
  6. if (e.keyCode === 81) {
  7. if (key) {
  8. return;
  9. }
  10. key = !0
  11. interval = setInterval(function () {
  12. var keydown = new Event('keydown');
  13. var keyup = new Event('keyup');
  14. keydown.keyCode = 87;
  15. keyup.keyCode = 87;
  16. window.dispatchEvent(keydown)
  17. window.dispatchEvent(keyup)
  18. }, 50);
  19. }
  20. };
  21. document.onkeyup = function (e) {
  22. if (e.keyCode == 81) {
  23. key = !1;
  24. clearInterval(interval);
  25. return;
  26. }
  27. }
  28. }
  29. }())
Advertisement
Add Comment
Please, Sign In to add comment