tmp=tmp.replace("?", "-"); // Для отрицательного баланса
tmp=tmp.replace(/\u2212/, "-"); // Корректировка Unicode минуса
response.TarifPlan=document.getElementsByClassName('gadget_tariff_inclusive_no_icon')[0].textContent;
"gadget_tariff_inclusive_no_icon"
"gadget_tariff_inclusive", "gadget_tariff_no_nclusive_no_icon", "gadget_tariff_no_inclusive"
regexp=/unit":"ГБ"},"availableValue":{"value":(.*?),"unit":"ГБ/; if (res=regexp.exec(html)){ tmp=res[0].replace(/unit.:.ГБ.},.availableValue.:{.value.:|,.unit.:.ГБ/gm, "");
regexp=/unit":"ГБ"},"availableValue":{"value":(.*?),"unit":"ГБ"},"interestValue":{"value":100/; if (res=regexp.exec(html)){ tmp=res[0].replace(/unit.:.ГБ.},.availableValue.:{.value.:|,.unit.:.ГБ.},.interestValue.:{.value.:100/gm, "");
"name":"Переходи на НОЛЬ& nbsp;03.19" "nameHtml":"Переходи на НОЛЬ 03.19"
<?xml version="1.0" encoding="WINDOWS-1251"?> -<SELFCARE> <HOSTNAME>msk-scc-lghas21.megafon.ru</HOSTNAME> <CHANNEL>MBALANCE</CHANNEL> -<GET_BALANCE> -<ERROR> <ERROR_ID>1</ERROR_ID> <ERROR_MESSAGE>The user is not found. login=926*******</ERROR_MESSAGE> </ERROR> </GET_BALANCE> <ONLINE_MODE>1</ONLINE_MODE> </SELFCARE>