using Chromium Version 76.0.3809.100

EA8500 (r41418) reset to defaults and attemped restore:

POST http://192.168.1.1/nvram.cgi net::ERR_CONNECTION_RESET 200 (Ok)


# # # 
below is plain text of 'common.js:1'
There is NOT a problem with it cause I done a text compare against same using r41375 and they are identical.
Must be a problem further up the food chain :')
and yea I booted into other part (r41375) and done the webif nvram restore from there AGAIN and its just fine --
# # # 
function addClass(e,t){var n=e.className;n.indexOf(t)==-1&&(null==n||""===n?e.className=t:e.className+=" "+t)}function removeClass(e,t){var n=e.className;if(n==t)return void(e.className="");for(var l=n.split(" "),i=[],r=0;r=t?(e.value=d,!0):(alert(M1+errmsg.err14+t+" - "+n+"]."),e.value=e.defaultValue,!1))}function valid_psk_length(e){return""==e.value||((e.value.length<8||e.value.length>64)&&(alert(errmsg.err39),e.value=e.defaultValue),!0)}function valid_macs_all(e){return""==e.value||(12==e.value.length?valid_macs_12(e):17==e.value.length?valid_macs_17(e):(alert(errmsg.err5),e.value=e.defaultValue),!0)}function valid_macs_list(e){if(""==e.value)return!0;e.value=e.value.replace("\n"," ");for(var t=e.value.split(" "),n=!0,l="";t.length>0;){var i=new Object;i.value=t.shift(),valid_macs_17(i)?l=l+" "+i.value:n=!1}for(;0==l.indexOf(" ");)l=l.substr(1);return e.value=l,n}function valid_mac(e,t){var n,l=0;1==e.value.length&&(e.value="0"+e.value),n=parseInt(e.value.charAt(0),16),l=parseInt(e.value.charAt(1),16),(isNaN(n)||isNaN(l))&&(alert(errmsg.err15),e.value=e.defaultValue),e.value=e.value.toUpperCase(),0==t&&1==(1&l)&&(alert(errmsg.err16),e.value=e.defaultValue)}function valid_macs_12(e){var t,n;if(""==e.value)return!0;if(12==e.value.length){for(i=0;i<12&&(t=parseInt(e.value.charAt(i),16),!isNaN(t));i++);12!=i&&(alert(errmsg.err17),e.value=e.defaultValue)}else alert(errmsg.err18),e.value=e.defaultValue;return e.value=e.value.toUpperCase(),"FFFFFFFFFFFF"==e.value&&(alert(errmsg.err19),e.value=e.defaultValue),n=e.value.charAt(1),1==(1&n)&&(alert(errmsg.err16),e.value=e.defaultValue),!0}function valid_domain(e){var t;if(""==e.value)return alert(errmsg.err113),!0;if(4==e.value.length){for(i=0;i<4&&(t=parseInt(e.value.charAt(i),16),!isNaN(t));i++);4!=i&&(alert(errmsg.err113),e.value=e.defaultValue)}else alert(errmsg.err113),e.value=e.defaultValue;return!0}function valid_email(e,t,n){if(""==e&&t)return n&&alert("email address is mandatory"),!1;if(""==e)return!0;var l="/'\\ \";:?!()[]{}^|";for(i=0;i-1)return n&&alert("email address contains invalid characters"),!1;for(i=0;i127)return n&&alert("email address contains non ascii characters."),!1;var r=e.indexOf("@",0);if(r==-1)return n&&alert("email address must contain an @"),!1;if(0==r)return n&&alert("email address must not start with @"),!1;if(e.indexOf("@",r+1)>-1)return n&&alert("email address must contain only one @"),!1;if(e.indexOf(".",r)==-1)return n&&alert("email address must contain a period in the domain name"),!1;if(e.indexOf("@.",0)!=-1)return n&&alert("period must not immediately follow @ in email address"),!1;if(e.indexOf(".@",0)!=-1)return n&&alert("period must not immediately precede @ in email address"),!1;if(e.indexOf("..",0)!=-1)return n&&alert("two periods must not be adjacent in email address"),!1;var a=e.substring(e.lastIndexOf(".")+1);return!(2!=a.length&&"com"!=a&&"net"!=a&&"org"!=a&&"edu"!=a&&"int"!=a&&"mil"!=a&&"gov"!=a&"arpa"!=a&&"biz"!=a&&"aero"!=a&&"name"!=a&&"coop"!=a&&"info"!=a&&"pro"!=a&&"museum"!=a)||(n&&alert("invalid primary domain in email address"),!1)}function valid_macs_17(e){oldmac=e.value;var t=ignoreSpaces(oldmac);if(""==t)return!0;var n=t.split(":");if(6!=n.length)return alert(errmsg.err21),e.value=e.defaultValue,!1;var l=oldmac.indexOf(":");if(l!=-1)for(var i=oldmac.substring(0,oldmac.length).split(":"),r=0;r2)return alert(errmsg.err22),e.value=e.defaultValue,!1;for(iln=0;iln="0"&&ch<="9"||ch>="a"&&ch<="f"))return alert(errmsg.err23+nameVal+errmsg.err24+oldmac+"."),e.value=e.defaultValue,!1}return e.value=e.value.toUpperCase(),"FF:FF:FF:FF:FF:FF"==e.value&&(alert(errmsg.err19),e.value=e.defaultValue),m3=e.value.charAt(1),1==(1&m3)&&(alert(errmsg.err16),e.value=e.defaultValue),!0}function ignoreSpaces(e){var t="";for(e=""+e,splitstring=e.split(" "),i=0;i=0;i--)for(j=1;j<=8;j++)m[i]%2==0?match0=8*(3-i)+j:m[i]%2==1&&match1==-1&&(match1=8*(3-i)+j),m[i]=Math.floor(m[i]/2);return!(match0>match1)||(alert(errmsg.err27),!1)}function isdigit(e,t){for("-"==e.value.charAt(0)?i=1:i=0,i;i"9")return alert(t+errmsg.err28),e.value=e.defaultValue,!1;return!0}function isascii(e,t){for(i=0;i"~")return alert('"'+t+'"'+errmsg.err29),e.value=e.defaultValue,!1;return!0}function isxdigit(e,t){for(i=0;i="0"&&ch<="9"||ch>="a"&&ch<="f"))return alert(t+errmsg.err30),e.value=e.defaultValue,!1;return!0}function closeWin(e){(null!=e&&e.close||null!=e&&0==e.closed)&&e.close()}function valid_ip(F,N,M1,flag){var m=new Array(4);for(M=unescape(M1),i=0;i<4;i++)m[i]=eval(N+"_"+i).value;return 127==m[0]||224==m[0]?(alert(M+errmsg.err31),!1):"0"==m[0]&&"0"==m[1]&&"0"==m[2]&&"0"==m[3]&&flag&ZERO_NO?(alert(M+errmsg.err31),!1):"0"==m[0]&&"0"==m[1]&&"0"==m[2]||"0"!=m[3]||!(flag&MASK_NO)||(alert(M+errmsg.err31),!1)}function valid_ip_str(e,t){if(""==e.value||" "==e.value)return!0;var n=new Array(4),l=e.value.split(".");for(i=0;i<4;i++)if(n[i]=parseInt(l[i],10),isNaN(n[i]))return alert(t+errmsg.err31),e.value=e.defaultValue,!1;return 127==n[0]||224==n[0]?(alert(t+errmsg.err31),e.value=e.defaultValue,!1):!((n[0]>"255"||n[1]>"255"||n[2]>"255")&&n[3]>"255")||(alert(t+errmsg.err31),e.value=e.defaultValue,!1)}function valid_ip_gw(F,I,N,G){var IP=new Array(4),NM=new Array(4),GW=new Array(4);for(i=0;i<4;i++)IP[i]=eval(I+"_"+i).value;for(i=0;i<4;i++)NM[i]=eval(N+"_"+i).value;for(i=0;i<4;i++)GW[i]=eval(G+"_"+i).value;for(i=0;i<4;i++)if((IP[i]&NM[i])!=(GW[i]&NM[i]))return alert(errmsg.err32),!1;return IP[0]!=GW[0]||IP[1]!=GW[1]||IP[2]!=GW[2]||IP[3]!=GW[3]||(alert(errmsg.err33),!1)}function fix_cr(e){var t=new RegExp(" ","gi"),n=new RegExp(" ","gi"),l=new RegExp(" ","gi"),i=new RegExp("&","gi"),r=new RegExp(""","gi"),a=new RegExp(">","gi"),s=new RegExp("<","gi"),o=new RegExp("\","gi"),u=new RegExp("'","gi"),d=new RegExp(" ","gi"),c=e.replace(t,"\n"),m=c.replace(n,"\n"),f=m.replace(l,"\n"),h=f.replace(i,"&"),v=h.replace(r,'"'),g=v.replace(a,">"),p=g.replace(s,"<"),b=p.replace(o,"'"),y=b.replace(u,"\\"),w=y.replace(d,"");return w}function createBar(e,t,n,l,i,r){if(ie||w3c){var a='
';a+='';for(var s=0;s';a+="
",document.write(a);var o=ie?document.all["blocks"+N]:document.getElementById("blocks"+N);return o.bar=ie?document.all["_xpbar"+N]:document.getElementById("_xpbar"+N),o.blocks=l,o.N=N,o.w=e,o.h=t,o.speed=n,o.ctr=0,o.count=i,o.action=r,o.togglePause=togglePause,o.showBar=function(){this.bar.style.visibility="visible"},o.hideBar=function(){this.bar.style.visibility="hidden"},o.tid=setInterval("startBar("+N+")",n),o}return!1}function startBar(bn){var t=ie?document.all["blocks"+bn]:document.getElementById("blocks"+bn);parseInt(t.style.left)+t.h+1-(t.blocks*t.h+t.blocks)>t.w?(t.style.left=-(2*t.h+1)+"px",t.ctr++,t.ctr>=t.count&&(eval(t.action),t.ctr=0)):t.style.left=parseInt(t.style.left)+t.h+1+"px"}function togglePause(){0==this.tid?this.tid=setInterval("startBar("+this.N+")",this.speed):(clearInterval(this.tid),this.tid=0)}function change_style(e,t){var n=document.getElementById(e);n.className=t}function Capture(e){document.write(e)}function defined(e){return"undefined"!=typeof e}function cleanTable(e){for(var t=e.rows.length-1;t>0;t--)e.deleteRow(t)}function openHelpWindow(e){var t=30,n=Math.floor(.66*screen.availWidth)-10,l=Math.floor(.33*screen.availWidth),i=Math.floor(.9*screen.availHeight)-30,r=window.open("help/"+e,"DDWRT_Help","top="+t+",left="+n+",width="+l+",height="+i+",resizable=yes,scrollbars=yes,statusbar=no");r.focus()}function openHelpWindowExt(e){var t=30,n=Math.floor(.66*screen.availWidth)-10,l=Math.floor(.33*screen.availWidth),i=Math.floor(.9*screen.availHeight)-30,r=window.open("http://www.dd-wrt.com/help/english/"+e,"DDWRT_Help","top="+t+",left="+n+",width="+l+",height="+i+",resizable=yes,scrollbars=yes,statusbar=no");r.focus()}function openAboutWindow(){var e=750,t=650,n=Math.floor((screen.availHeight-t-10)/2),l=Math.floor((screen.availWidth-e)/2),i=window.open("About.htm","DDWRT_About","top="+n+",left="+l+",width="+e+",height="+t+",resizable=no,scrollbars=no,statusbar=no");i.focus()}function openWindow(e,t,n,l){l||(l=e.replace(/\.asp/,""));var i=Math.floor((screen.availHeight-n-10)/2),r=Math.floor((screen.availWidth-t)/2),a=window.open(e,"DDWRT_"+l,"top="+i+",left="+r+",width="+t+",height="+n+",resizable=yes,scrollbars=yes,statusbar=no");addEvent(window,"unload",function(){a.closed||a.close()}),a.focus()}function setMeterBar(e,t,n){isNaN(t)&&(t=0),t=Math.max(0,Math.min(100,Math.round(t)))+"%";var l="string"==typeof e?document.getElementById(e):e;l.firstChild?(l.firstChild.childNodes[0].style.width=t,l.firstChild.childNodes[1].firstChild.data=t,defined(n)&&(l.lastChild.data=n)):l.innerHTML='
'+t+"
"+(defined(n)?n:"")}function setElementContent(e,t){document.getElementById(e)&&(document.getElementById(e).innerHTML=t)}function setElementVisible(e,t){document.getElementById(e)&&(document.getElementById(e).style.display=t?"":"none")}function setElementActive(e,t){var n=document.getElementsByName(e);if(n)for(var l=0;l");if(e){var n=0,l="";for(n=0;n]+$/);return t}function checkformelements(e){var t=0;for(t=0;t",chars).replace("",getInputLabel("input",e.elements[t].name))),e.elements[t].style.border="solid 2px #f00",e.elements[t].focus(),!1;return!0}function apply(e,t,n){if(!checkformelements(e))return!1;for(e.submit(),i=0;i0?(Dialog.setInfoMessage(e+" "+n+t+" ..."),setTimeout(function(){infoTimeout(e,t,n)},1e3)):Dialog.setInfoMessage(e)}function getOUIFromMAC(e){var t=30,n=Math.floor(.66*screen.availWidth)-10,l=700,i=400,r=new Array;r=e.split(e.substr(2,1));var a=window.open("https://oidsearch.s.dd-wrt.com/search/"+r[0]+":"+r[1]+":"+r[2],"DDWRT_OUI_Search","top="+t+",left="+n+",width="+l+",height="+i+",resizable=yes,scrollbars=yes,statusbar=no");addEvent(window,"unload",function(){a.closed||a.close()}),a.focus()}function openBW(e){var t=30,n=Math.floor(.66*screen.availWidth)-10,l=555,i=275,r=window.open("graph_if.svg?"+e,"Bandwidth","top="+t+",left="+n+",width="+l+",height="+i+",resizable=yes,scrollbars=yes,statusbar=no");addEvent(window,"unload",function(){r.closed||r.close()}),r.focus()}function setElementMask(e,t){var n=document.getElementById(e);if(n){var l=n.value,i=n.maxlength,r=n.size,a=n.onblur,s=n.parentNode,o=n.nextSibling,u=n.className,d=document.createElement("input");d.setAttribute("value",l),d.setAttribute("name",e),d.setAttribute("id",e),d.setAttribute("maxlength",i),d.setAttribute("size",r),d.className=u,d.setAttribute("rel",n.getAttribute("rel")),d.onblur=a,1==t?d.setAttribute("type","text"):d.setAttribute("type","password"),s.removeChild(n),s.insertBefore(d,o),d.focus()}}function show_layer_ext(obj,id,state){obj&&(state?(visibility_style="visible",display_style="block"):(visibility_style="hidden",display_style="none"),ie4&&(eval("document.all."+id+".style.visibility='"+visibility_style+"'"),eval("document.all."+id+".style.display='"+display_style+"'")),ns4&&(eval("document."+id+".visibility='"+visibility_style+"'"),eval("document."+id+".display='"+display_style+"'")),(ns6||op)&&(eval("document.getElementById('"+id+"').style.visibility='"+visibility_style+"'"),eval("document.getElementById('"+id+"').style.display='"+display_style+"'")))}function toggle_layer_ext(e,t,n,l){show_layer_ext(e,t,l),show_layer_ext(e,n,!l)}function lgout(){document.forms[0].action.value="Logout",document.forms[0].submit()}function comma(e){e=""+e;for(var t=e;(e=e.replace(/(\d+)(\d{3})/g,"$1,$2"))!=t;)t=e;return e}function scaleSize(e){if(isNaN(e*=1))return"-";if(e<=9999)return""+e;var t=-1;do e/=1024,++t;while(e>9999&&t<2);return comma(e.toFixed(2))+" "+["KB","MB","GB"][t]+""}function DisplayDiv(e,t,n,l,i){var r=n,a=l;i=i.replace(/</gi,"<"),i=i.replace(/>/gi,">"),document.all?"complete"==document.readyState&&(document.all.bulle.innerHTML='
'+i+"
",document.all.bulle.style.pixelLeft=event.clientX+document.body.scrollLeft+a,document.all.bulle.style.pixelTop=event.clientY+document.body.scrollTop+r,document.all.bulle.style.visibility="visible"):document.getElementById&&(document.getElementById("bulle").innerHTML='
'+i+"
",document.getElementById("bulle").style.left=t.pageX+a+"px",document.getElementById("bulle").style.top=t.pageY+r+"px",document.getElementById("bulle").style.visibility="visible")}function unDisplayDiv(){document.all?document.all.bulle.style.visibility="hidden":document.layers?document.bulle.visibility="hidden":document.getElementById&&(document.getElementById("bulle").style.visibility="hidden")}function submitFooterButton(e,t,n,l,i,r){if(e&&document.write(''),e&&document.write(''),t){if(document.forms[0].elements.submit_button.value)var a="document.location=document.forms[0].elements['submit_button'].value+'.asp';";else var a="window.location.reload();";document.write('')}n&&document.write(''),l&&document.write(''),i&&document.write(''),r&&document.write('')}function SortableTable(e){this.tbody=e.getElementsByTagName("tbody"),this.thead=e.getElementsByTagName("tbody"),this.getInnerText=function(e){return"undefined"==typeof e?null:null==e?null:"undefined"!=typeof e.textContent?e.textContent:"undefined"!=typeof e.innerText?e.innerText:"string"==typeof e.innerHTML?e.innerHTML.replace(/<[^<>]+>/g,""):void 0},this.getParent=function(e,t){return null==e?null:1==e.nodeType&&e.tagName.toLowerCase()==t.toLowerCase()?e:this.getParent(e.parentNode,t)},this.sort=function(e){var t=e.cellIndex,n=this.getInnerText(this.tbody[0].rows[1].cells[t]),l=this.sortCaseInsensitive;null!=n&&n.replace(/^\s+|\s+$/g,"").match(/^[\d]+$/)&&(l=this.sortNumeric),this.sortColumnIndex=t;var r=new Array;for(j=1;j0&&n&&n[0].rows&&n[0].rows.length>0)for(var l=n[0].rows[0],i=0;i=0){var n=parseInt(t.name.substr(t.name.indexOf("_del_")+5,t.name.length-t.name.indexOf("_del_")-5));if(n>0){var l=$(e),r=l.childElements()[0],a=$(e+"_row_"+n);r.removeChild(a);var s=r.childElements(),o=e+"_row_";for(i=0;in)for(s[i].id=o+(u-1),j=0;js.length-4&&$(e+"_add").show()}}}var op=navigator.userAgent.indexOf("Opera")!=-1&&document.getElementById,ie4=document.all,ns4=document.layers,ns6=!document.all&&document.getElementById,ZERO_NO=1,ZERO_OK=2,MASK_NO=4,MASK_OK=8,BCST_NO=16,BCST_OK=32,SPACE_NO=1,SPACE_OK=2,w3c=!!document.getElementById,ie=!!document.all,N=-1,windo={getWindoSize:function(){return window.innerHeight?{height:window.innerHeight,width:window.innerWidth}:document.documentElement&&document.documentElement.clientHeight?{height:document.documentElement.clientHeight,width:document.documentElement.clientWidth}:{Height:document.body.clientHeight,width:document.body.clientWidth}}};