La función prototipo tiene una función muy simple. Encuentre la ID del reloj, calcule el valor y ejecute la tarea cuando llegue el tiempo de compra.
function nwt () {var str = $ ('#trato_expiry_timer_e3cdcd2a'). Text (); var out = str.match (// d+/g); console.log (out); var h = parseInt (fuera [0]), m = parseInt (fuera [1]), s = parseint (out [2]); console.log (h+'#'+m+'#'+s); var calc = h*3600+m*60+s; console.log (calc); if (calc == 0) {} else {console.log ('Wait');} var t = setTimeout ('nwt ()', 2000);} nwt ();