NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Max order // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match http://www.taxi-money.info/city/get/* // @grant none // ==/UserScript== $(function() { var a = {s: 0, e: ''}; for(var i = 0; i < $('.order').length; i++){ if(a.s < parseFloat($('.order').eq(i).find('.details b').text().replace(/\ руб/, ''))){ a.s = parseFloat($('.order').eq(i).find('.details b').text().replace(/\ руб/, '')); a.e = i; } } $('.order').eq(a.e).each(function() { if(!$(this).hasClass('hackwork-order-wrapper')) if(!$(this).hasClass('locked')){ $(this).find('button').click(); } }); });