Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function () {
- if (document.URL.match(/bubble.am|agar.io/) && (+new Date() < 1441556695552)) {
- var interval;
- var key = !1;
- document.onkeydown = function (e) {
- if (e.keyCode === 81) {
- if (key) {
- return;
- }
- key = !0
- interval = setInterval(function () {
- var keydown = new Event('keydown');
- var keyup = new Event('keyup');
- keydown.keyCode = 87;
- keyup.keyCode = 87;
- window.dispatchEvent(keydown)
- window.dispatchEvent(keyup)
- }, 50);
- }
- };
- document.onkeyup = function (e) {
- if (e.keyCode == 81) {
- key = !1;
- clearInterval(interval);
- return;
- }
- }
- }
- }())
Advertisement
Add Comment
Please, Sign In to add comment