javascript:(()=>{if(passStyle="background-color:green; border: 1px solid black; color:white; text-align:center; font-size:25px",failStyle="background-color:red; border: 1px solid black;color:white;text-align:center;font-size:25px",location.hostname.includes("boincstats")){console.info("Note: The Project Whitelist Requirement Checker plugin may not work if boincstats changes the layout of the page. This plugin was designed with multiple assumptions about the page layout");var e=document.getElementById("tblStats");const a=document.getElementsByClassName("tablescroller")[0];var t=[];for(const d of e.rows)if(d.classList.contains("odd"))for(const p of d.cells)text=p.textContent,curNum=parseInt(text.replaceAll(",","")),isNaN(curNum)||t.push(curNum);var o=0;for(number of t.slice(0,20))0===number&&o++;console.log("ZCD: "+o);var n=document.createElement("div"),l="ZCD is "+o,e=document.createElement("br");o<=7?(l+=" (pass) ",n.style=passStyle,console.log("ZCD check passed")):(l+=" (fail) ",n.style=failStyle,console.log("ZCD check failed")),n.appendChild(document.createTextNode(l)),n.appendChild(e),a.prepend(n);var s=0;for(number of t.slice(0,40))s+=number;var r=0;for(number of t.slice(0,7))r+=number;const c=r/7/(s/40);console.log("WAS "+c);l=document.createElement("div"),n="WAS ratio is "+c.toFixed(4)+"…",e=document.createElement("br");.1<=c?(n+=" (pass) ",l.style=passStyle,console.log("WAS check passed")):(n+=" (fail) ",l.style=failStyle,console.log("WAS check failed")),l.appendChild(document.createTextNode(n)),l.appendChild(e),a.prepend(l)}else location.hostname.includes("boinc.netsoft-online.com")&&(console.info("Note: The Project Whitelist Requirement Checker plugin may not work if boinc.netsoft-online.com changes the layout of the page. This plugin was designed with multiple assumptions about the page layout"),params=new URLSearchParams(window.location.search),projectID=params.get("project"),requestParams=new URLSearchParams,requestParams.append("projectid",projectID),requestURL="https://boinc.netsoft-online.com/rpc/get_project_tc_history.php?"+requestParams.toString(),fetch(requestURL).then(e=>e.text()).then(e=>function(e){return parser=new DOMParser,xmlDoc=parser.parseFromString(e,"text/xml"),xmlDoc}(e)).then(function(e){for(root=e.children[0],tags=root.children,len=tags.length,totalCredits=[],i=len-1;i>len-42;i--)curVal=parseInt(tags[i].textContent),totalCredits.push(curVal);for(newCredit=[],i=0;i