Last active
November 27, 2015 11:42
-
-
Save Lajt/97a75c3c5e93102b5e1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Vulcun | |
// @namespace https://gist.github.com/Lajt/aa367a3364655972306f | |
// @version 1.1 | |
// @description Vulcun | |
// @author Lajt | |
// @match http://tampermonkey.net/index.php?version=3.12&ext=dhdg&updated=true | |
// @include https://vulcun.com/user/lobby* | |
// @include http://vulcun.com/user/lobby* | |
// @grant none | |
// @downloadURL https://gist.github.com/Lajt/97a75c3c5e93102b5e1f/raw/vulcun-ext.js | |
// @updateURL https://gist.github.com/Lajt/97a75c3c5e93102b5e1f/raw/vulcun-ext.js | |
// ==/UserScript== | |
/* jshint -W097 */ | |
'use strict'; | |
(function(){ | |
var check = true; | |
setInterval(function(){ | |
if ($('#lootdrop-footer').is(':visible') && check){ | |
check = false; | |
setTimeout(function(){ | |
$('#enter-lootdrop').click(); | |
setTimeout(function(){ | |
console.log('hehe'); | |
$('#lootdrop-title').parent().parent().find('.close').click(); | |
check = true; | |
}, 80000); | |
}, 1000); | |
} | |
}, 1000); | |
console.log('GO GO GO!'); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment