H
H
Hancog2014-11-03 12:43:45
userscript
Hancog, 2014-11-03 12:43:45

How to edit userscript ?

function appendNewTotal() {
  var newTotal = (parseFloat($('.account_current').contents()[0].textContent.replace(/[^ 0-9]/g,'')) / 100 + MONEY).toFixed(2).toString().replace('.',',');
  if (newTotal.indexOf(',') == -1) newTotal += ',00';
  $('.account_current').contents()[0].textContent = newTotal;
  $('#person-accounts-RUB').contents()[0].textContent = newTotal + ' RUB';
}
function delayedAppend() {
  if ($('.account_current').size() == 0)
    setTimeout(delayedAppend,10);
  else
    appendNewTotal();
}
delayedAppend();

1ufxCKgJVTw.jpg
There is a code, it changes the value of the sum to kiwi , after the update everything has fallen off and now it looks like this

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question