I was cleaning up my trashbin when I found this Javascript code created back in 2010 for autobid on mukirana.com (a brazilian penny auction website). I don’t think they are worried with this kind of fraud because they still are susceptible to this autobid mechanism.
This code will autobid when remains only 2 seconds or less. By the way, it won’t work without some minor fixes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
var interv = window.setInterval(function () { // replace '00000' with the item code var id = "00000"; // replace 'yournick' with the nickname that you use. var nick = "yournick"; try { var e1 = document.getElementById("current_time_auction_" + id); var c1 = (e1 != null) ? parseInt(e1.innerText) : -1; if (c1 > 0 && c1 <= 2) { var e2 = document.getElementById("current_username_auction_" + id); var c2 = (e2 != null) ? e2.innerText : ""; if (c2.toString() != "" && c2.toString() != nick) { e2.innerText = nick; $("submit_auction_" + id).click(); } } } catch (err) { return; } }, 300); |