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='