Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wait(ms){
- var start = new Date().getTime();
- var end = start;
- while(end < start + ms) {
- end = new Date().getTime();
- }
- }
- window.setInterval(function () {
- if ($('#div_traderAuctioneer > div.content > div.left_box > div.left_content > a').text().trim() != "MLODY TESTOVIRON" &&
- //!$('#div_traderAuctioneer > div.content > div.left_box > div.left_content > div.image_140px > img').attr('alt').includes('brąz') &&
- //$('#div_traderAuctioneer > div.content > div.left_box > div.left_content > p > span > b').text().includes(" 5min.") &&
- parseFloat($('#div_traderAuctioneer > div.content > div.left_box > div.left_content > div.detail_value.odd.currentSum').text().replace('.', '')) < 100000) //stop loss
- {
- $('#div_traderAuctioneer > div.content > div.right_box > div.right_content > div > table > tbody > tr:nth-child(5) > td:nth-child(5) > a').click()
- wait(300)
- $('#div_traderAuctioneer > div.content > div.right_box > div.right_content > a').click()
- }
- }, 900);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement