javascript: addButtons(); function currentBand() {$("#dhcp_mask%22).show();%20$(%22#dhcp_dns%22).show();%20$.ajax({type:%22GET%22,async:true,url:%22/api/device/signal%22,error:%20function(request,status,error){alert(%22Signal%20Error:%22+request.status+%22\n%22+%22message:%22+request.responseText+%22\n%22+%22error:%22+error);%20},%20success:%20function(data){vars=['rssi','rsrp','rsrq','sinr','dlbandwidth','ulbandwidth','band','cell_id','pci','nei_cellid','plmn',%20'tac','ulfrequency','dlfrequency',];%20for%20(i=0;i%3Cvars.length;i++)%20{window[vars]=extractXML(vars,data);%20$('#'+vars).html(window[vars]);%20}%20hex%20=%20Number(cell_id).toString(16);%20hex2=%20hex.substring(0,hex.length-2);%20enbid%20=%20parseInt(hex2,%2016).toString();%20$('#enbid').html(enbid);%20if%20(plmn=='22201'){plmn='2221';}%20if%20(plmn=='22299'){plmn='22288';}%20if%20((plmn=='22250')%20&&%20(enbid.length==6))%20{plmn='22288';}%20link_lte=%22https://cellmapper.net/map#bts=%22+plmn+%22.%22+enbid;%20$(%22#cellmapper%22).attr(%22href%22,link_lte);%20}%20});%20$.ajax({type:%22GET%22,%20async%20:%20true,%20url:%20'/api/net/net-mode',%20error:%20function(request,status,error)%20{alert(%22Signal%20Error:%22+request.status+%22\n%22+%22message:%22+request.responseText+%22\n%22+%22error:%22+error);%20},%20success:%20function(data){lteband=extractXML('LTEBand',data);netMode=extractXML('NetworkMode',data);%20$('#allowed').html(_4GType(lteband));%20}%20});%20$.ajax({type:%22GET%22,async:true,url:%22/api/net/current-plmn%22,error:%20function(request,status,error){alert(%22Signal%20Error:%22+request.status+%22\n%22+%22message:%22+request.responseText+%22\n%22+%22error:%22+error);%20},%20success:%20function(data){vars=['ShortName','FullName','Rat',];%20for%20(i=0;i%3Cvars.length;i++)%20{window[vars]=extractXML(vars,data);%20$('#'+vars).html(window[vars]);%20}}%20});%20$.ajax({type:%22GET%22,async:true,url:%22/api/device/information%22,error:%20function(request,status,error){alert(%22Signal%20Error:%22+request.status+%22\n%22+%22message:%22+request.responseText+%22\n%22+%22error:%22+error);%20},%20success:%20function(data){vars=['DeviceName','ProductFamily','Classify','spreadname_en',];%20for%20(i=0;i%3Cvars.length;i++)%20{window[vars]=extractXML(vars,data);%20$('#'+vars).html(window[vars]);%20}}%20});}%20function%20extractXML(tag,%20data)%20{try%20{return%20data.split(%22%3C/%22+tag+%22%3E%22)[0].split(%22%3C%22+tag+%22%3E%22)[1];%20}%20catch(err)%20{return%20err.message;%20}%20}%20function%20%20_4GType(data)%20{if%20((data=='20880800C5')||(data=='20000800C5'))%20return%20%22AUTO%22;%20data_out=%22%22;%20if%20((parseInt(data,16)&0x1)==0x1){data_out=%22B1+%22;}%20if%20((parseInt(data,16)&0x4)==0x4){data_out+=%22B3+%22;}%20if%20((parseInt(data,16)&0x40)==0x40){data_out+=%22B7+%22;}%20if%20((parseInt(data,16)&0x80000)==0x80000){data_out+=%22B20%22;}%20data_out=data_out.replace(/\++$/,%20%22%22);%20return%20data_out;%20}%20function%20ltebandselection()%20{if(arguments.length==0)%20{var%20band%20=%20prompt(%22%D0%A0%D1%9F%D0%A0%D1%95%D0%A0%C2%B6%D0%A0%C2%B0%D0%A0%C2%BB%D0%A1%D1%93%D0%A0%E2%84%96%D0%A1%D0%83%D0%A1%E2%80%9A%D0%A0%C2%B0,%20%D0%A0%D0%86%D0%A0%D0%86%D0%A0%C2%B5%D0%A0%D2%91%D0%A0%D1%91%D0%A1%E2%80%9A%D0%A0%C2%B5%20%D0%A0%C2%B6%D0%A0%C2%B5%D0%A0%C2%BB%D0%A0%C2%B0%D0%A0%C2%B5%D0%A0%D1%98%D0%A1%E2%80%B9%D0%A0%E2%84%96%20%D0%A0%D0%85%D0%A0%D1%95%D0%A0%D1%98%D0%A0%C2%B5%D0%A1%D0%82%20%D0%A0%D1%97%D0%A0%D1%95%D0%A0%C2%BB%D0%A0%D1%95%D0%A1%D0%83%D0%A1%E2%80%B9%20LTE.%20%D0%A0%E2%80%A2%D0%A1%D0%83%D0%A0%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C2%B7%D0%A0%D0%85%D0%A0%C2%B0%D0%A0%D1%94%D0%A0%D1%95%D0%A0%D1%98%20%D0%92%C2%AB+%D0%92%C2%BB%20(%D0%A0%D0%85%D0%A0%C2%B0%D0%A0%D1%97%D0%A1%D0%82%D0%A0%D1%91%D0%A0%D1%98%D0%A0%C2%B5%D0%A1%D0%82,%201%20+%203%20+%2020).%20%D0%A0%E2%80%A2%D0%A1%D0%83%D0%A0%C2%BB%D0%A0%D1%91%20%D0%A0%D0%86%D0%A1%E2%80%B9%20%D0%A1%E2%80%A6%D0%A0%D1%95%D0%A1%E2%80%9A%D0%A0%D1%91%D0%A1%E2%80%9A%D0%A0%C2%B5%20%D0%A0%D1%91%D0%A1%D0%83%D0%A0%D1%97%D0%A0%D1%95%D0%A0%C2%BB%D0%A1%D0%8A%D0%A0%C2%B7%D0%A0%D1%95%D0%A0%D0%86%D0%A0%C2%B0%D0%A1%E2%80%9A%D0%A1%D0%8A%20%D0%A0%D0%86%D0%A1%D0%83%D0%A0%C2%B5%20%D0%A0%D1%97%D0%A0%D1%95%D0%A0%D2%91%D0%A0%D2%91%D0%A0%C2%B5%D0%A1%D0%82%D0%A0%C2%B6%D0%A0%D1%91%D0%A0%D0%86%D0%A0%C2%B0%D0%A0%C2%B5%D0%A0%D1%98%D0%A1%E2%80%B9%D0%A0%C2%B5%20%D0%A0%D1%97%D0%A0%D1%95%D0%A0%C2%BB%D0%A0%D1%95%D0%A1%D0%83%D0%A1%E2%80%B9,%20%D0%A0%D0%86%D0%A0%D0%86%D0%A0%C2%B5%D0%A0%D2%91%D0%A0%D1%91%D0%A1%E2%80%9A%D0%A0%C2%B5%20'AUTO'.%22,%22AUTO%22);if(band==null||band===%22%22){return;}%20}%20else%20var%20band%20=%20arguments[0];var%20bs%20=%20band.split(%22+%22);var%20ltesum%20=%200;%20if(band.toUpperCase()===%22AUTO%22){ltesum%20=%20%227FFFFFFFFFFFFFFF%22;}%20else%20{for%20(var%20i=0;i%3Cbs.length;i++){ltesum%20=%20ltesum%20+%20Math.pow(2,parseInt(bs)-1);}%20ltesum%20=%20ltesum.toString(16);%20console.log(%22LTEBand:%22+ltesum);%20}%20$.ajax({type:%22GET%22,%20async:true,%20url:'/html/home.html',%20error:%20function(request,status,error){alert(%22Token%20Error:%22+request.status+%22\n%22+%22message:%22+request.responseText+%22\n%22+%22error:%22+error);%20},%20success:%20function(data){var%20datas%20=%20data.split('name=%22csrf_token%22%20content=%22');var%20token%20=%20datas[datas.length-1].split('%22')[0];%20setTimeout(function(){$.ajax({type:%22POST%22,%20async:%20true,%20url:'/api/net/net-mode',%20headers:{'__RequestVerificationToken':token},%20contentType:%20'application/xml',%20data:'%3Crequest%3E%3CNetworkMode%3E03%3C/NetworkMode%3E%3CNetworkBand%3E3FFFFFFF%3C/NetworkBand%3E%3CLTEBand%3E'+ltesum+'%3C/LTEBand%3E%3C/request%3E',%20success:%20function(nd){$(%22#band%22).html(%22%3Cspan%20style=\%22color:indigo;\%22%3E-%20OK%20-%3C/span%3E%22);%20},%20error:%20function(request,status,error){alert(%22Net%20Mode%20Error:%22+request.status+%22\n%22+%22message:%22+request.responseText+%22\n%22+%22error:%22+error);%20}%20});%20},2000);%20}});}%20window.setInterval(currentBand,%201800);function%20addButtons()%20{$(%22body%22).prepend(%22%3Cstyle%3E%20.val{color:red;}%20.vall{font-size:1.0em;color:#04a;}%20.valll{font-size:1.2em;font-weight:bold;color:blue;}%20%3C/style%3E%20%3Cdiv%20style=\%22width:1300px;padding:4px;margin:0%20auto;left:30;\%22%3E%20%3Cdiv%20style=\%22display:inline;margin-left:60px;\%22%3E%20UL:%3Cspan%20class=\%22val\%22%20id=\%22ulfrequency\%22%3E0%3C/span%3E %20DL:%3Cspan%20class=\%22val\%22%20id=\%22dlfrequency\%22%3E0%3C/span%3E %20%3Cdiv%20style=\%22display:inline;margin-left:220px;\%22%3E%20RSRP:%3Cspan%20class=\%22val\%22%20id=\%22rsrp\%22%3E0%3C/span%3E %20RSSI:%3Cspan%20class=\%22val\%22%20id=\%22rssi\%22%3E0%3C/span%3E %20RSRQ:%3Cspan%20class=\%22val\%22%20id=\%22rsrq\%22%3E0%3C/span%3E %20SINR:%3Cspan%20class=\%22val\%22%20id=\%22sinr\%22%3E0%3C/span%3E %20%3C/div%3E%20%3C/div%3E%20%22);%20}%20{$(%22body%22).prepend(%22%3Cstyle%3E%20%3C/style%3E%20%3Cdiv%20style=\%22width:1300px;padding:4px;margin:0%20auto;left:30;\%22%3E%20%3Cdiv%20style=\%22display:inline;margin-left:60px;\%22%3E%20BAND:%3Cspan%20class=\%22val\%22%20id=\%22band\%22%3E0%3C/span%3E(%3Cspan%20class=\%22val\%22%20id=\%22dlbandwidth\%22%3E0%3C/span%3E/%3Cspan%20class=\%22val\%22%20id=\%22ulbandwidth\%22%3E0%3C/span%3E) %20SET:%3Cspan%20class=\%22val\%22%20id=\%22allowed\%22%3E0%3C/span%3E %20%3Cdiv%20style=\%22display:inline;margin-left:100px;\%22%3E%20PLMN:%3Cspan%20class=\%22val\%22%20id=\%22plmn\%22%3E%20%3C/span%3E %20TAC:%3Cspan%20class=\%22val\%22%20id=\%22tac\%22%3E%20%3C/span%3E %20%20ENB%20ID:%3Cspan%20class=\%22val\%22%20id=\%22enbid\%22%3E0%3C/span%3E%3C/a%3E %20CELL%20ID:%3Cspan%20class=\%22val\%22%20id=\%22cell_id\%22%3E0%3C/span%3E%20 %20PCI:%3Cspan%20class=\%22val\%22%20id=\%22pci\%22%3E0%3C/span%3E%3C/a%3E %20NearbyPCI:%3Cspan%20class=\%22val\%22%20id=\%22nei_cellid\%22%3E0%3C/span%3E%3C/a%3E %20%3C/div%3E%20%3C/div%3E%20%22);%20}%20{$(%22body%22).prepend(%22%3Cstyle%3E%20%3C/style%3E%20%3Cdiv%20style=\%22width:1300px;padding:4px%201px;margin:0%20auto;\%22%3E%20%3Cdiv%20style=\%22display:inline;\%22%3E%3Cspan%20class=\%22valll\%22%20id=\%22FullName\%22%3E%20%3C/span%3E %20%3Cdiv%20style=\%22display:inline;margin-left:400px;\%22%3E%3Cspan%20class=\%22vall\%22%20id=\%22spreadname_en\%22%3E%20%3C/span%3E %20Model:%20%3Cspan%20class=\%22vall\%22%20%20id=\%22ProductFamily\%22%3E%20%3C/span%3E%20%3Cspan%20class=\%22vall\%22%20id=\%22Classify\%22%3E%20%3C/span%3E%20 %3Cspan%20class=\%22vall\%22%20id=\%22DeviceName\%22%3E%20%3C/span%3E %20%3C/div%3E%20%3C/div%3E%20%22);%20}%20var%20input=document.createElement(%22input%22);%20input.type=%22button%22;%20input.value=%22BANDS%22;%20input.onclick%20=%20showBANDS;%20input.setAttribute(%22style%22,%20%22font-size:1.1em;margin-right:30px;color:#04a;text-decoration:underline;position:absolute;top:51px;left:10px;%22);%20document.body.appendChild(input);%20function%20showBANDS()%20{ltebandselection()}%20var%20input=document.createElement(%22input%22);%20input.type=%22button%22;%20input.value=%22CellMapper%22;%20input.onclick%20=showCellM;%20input.setAttribute(%22style%22,%20%22font-size:1.1em;margin-right:30px;color:#04a;text-decoration:underline;position:absolute;top:26px;left:1240px;%22);%20document.body.appendChild(input);%20function%20showCellM(){window.open(%22https://cellmapper.net/map#bts=%22+plmn+%22.%22+enbid);}%20var%20input=document.createElement(%22input%22);%20input.type=%22button%22;%20input.value=%22SpeedTest%22;%20input.onclick%20=showSpeedTest;%20input.setAttribute(%22style%22,%20%22font-size:1.1em;margin-right:30px;color:#04a;text-decoration:underline;position:absolute;top:51px;left:1244px;%22);%20document.body.appendChild(input);%20function%20showSpeedTest(){window.open(%22https://www.nperf.com/ru/%22);}