javascript:(async()=%3E{%22use%20strict%22;const%20e=%22steam-vac-checker-styles%22,t=%22vac-check-badge%22,a=%22steam-vac-checker-tooltip%22,n=%22steam-vac-checker-summary%22,o=[...document.querySelectorAll(%22.friend_block_v2[data-steamid]%22)];if(!o.length)return%20void%20alert(%22No%20Steam%20friends%20found%20on%20this%20page.%22);const%20c=e=%3E`vaccheck:${e}`;async%20function%20i(e){const%20t=await%20fetch(e);if(!t.ok)throw%20new%20Error(`Steam%20returned%20${t.status}%20for%20${e}`);return%20t.text()}function%20s(e){return!0===e||1===e||%221%22===e||%22true%22===e}function%20r(e){return{vacApi:[e?.vacApi,e?.vacAPI,e?.vacXML].some(s),vacVisible:s(e?.vacVisible),game:s(e?.game),days:e?.days??%22%22}}function%20d(e){return%20e.vacApi||e.vacVisible||e.game}async%20function%20l(e){const%20t=function(e){try{const%20t=JSON.parse(localStorage.getItem(c(e)));if(t&&Date.now()-t.t%3C864e5)return%20r(t.d)}catch{}return%20null}(e);if(t)return%20t;const[a,n]=await%20Promise.all([i(`https://steamcommunity.com/profiles/${e}/?xml=1`),i(`https://steamcommunity.com/profiles/${e}/`)]),o=(new%20DOMParser).parseFromString(a,%22text/xml%22),s=n.match(/profile_ban_status[\s\S]*?%3C\/div%3E\s*%3C\/div%3E/i),d=(s?.[0]??n).toLowerCase(),l=d.match(/(\d+)\s*day\(s\)/),p=r({vacApi:%221%22===o.querySelector(%22vacBanned%22)?.textContent.trim(),vacVisible:/vac%20ban/.test(d),game:/game%20ban/.test(d),days:l?.[1]??%22%22});return%20function(e,t){try{localStorage.setItem(c(e),JSON.stringify({t:Date.now(),d:t}))}catch{}}(e,p),p}function%20p(e,t){const%20a=t.getBoundingClientRect();e.style.left=a.right-e.offsetWidth-6+%22px%22,e.style.top=`${a.top+6}px`}function%20m(e,n,o){const%20c=function(e){return!e.game||e.vacApi||e.vacVisible?e.vacVisible?{className:%22vac-check-badge--vac%22,label:%22VAC%22,heading:e.game?%22VAC%20and%20Game%20Bans%20detected%22:%22VAC%20ban%20detected%22,description:e.game?%22Steam%20shows%20both%20a%20VAC%20ban%20and%20a%20Game%20Ban%20on%20this%20profile.%22:%22Steam%20shows%20a%20VAC%20ban%20on%20this%20profile.%22}:e.vacApi?{className:%22vac-check-badge--hidden%22,label:%22VAC*%22,heading:e.game?%22VAC%20and%20Game%20Bans%20reported%22:%22VAC%20ban%20reported%20by%20API%22,description:e.game?%22Steam's%20API%20data%20reports%20a%20VAC%20ban,%20and%20the%20profile%20shows%20a%20Game%20Ban.%22:%22Steam's%20API%20data%20reports%20a%20VAC%20ban%20not%20shown%20on%20the%20profile%20page.%22}:{className:%22vac-check-badge--clean%22,label:%22OK%22,heading:%22No%20bans%20detected%22,description:%22No%20VAC%20or%20Game%20Ban%20was%20found%20in%20Steam's%20public%20profile%20data.%22}:{className:%22vac-check-badge--game%22,label:%22Game%22,heading:%22Game%20Ban%20detected%22,description:%22Steam%20shows%20a%20Game%20Ban%20on%20this%20profile.%22}}(e),i=document.createElement(%22span%22);i.className=`${t}%20${c.className}`,i.tabIndex=0,i.setAttribute(%22aria-describedby%22,a),i.textContent=c.label;const%20s=()=%3E{!function(e,t,a){const%20n=document.createElement(%22span%22),o=document.createElement(%22span%22);if(n.className=%22vac-check-tooltip__title%22,n.textContent=t.heading,o.className=%22vac-check-tooltip__detail%22,o.textContent=t.description,e.replaceChildren(n,o),a.days){const%20t=document.createElement(%22span%22),n=%221%22===a.days?%22day%22:%22days%22;t.className=%22vac-check-tooltip__age%22,t.textContent=`Last%20ban:%20${a.days}%20${n}%20ago.`,e.append(t)}}(n,c,e),n.style.display=%22block%22,n.style.visibility=%22visible%22,n.style.opacity=%221%22,n.classList.add(%22is-visible%22),function(e,t){const%20a=t.getBoundingClientRect(),n=a.right-e.offsetWidth,o=window.innerWidth-e.offsetWidth-12,c=Math.max(12,Math.min(n,o)),i=a.bottom+6,s=a.top-e.offsetHeight-6,r=i+e.offsetHeight%3C=window.innerHeight?i:Math.max(12,s);e.style.left=`${c}px`,e.style.top=`${r}px`}(n,i)},r=()=%3E{n.classList.remove(%22is-visible%22),n.style.display=%22none%22};return%20i.addEventListener(%22pointerenter%22,s),i.addEventListener(%22pointerleave%22,r),i.addEventListener(%22mouseenter%22,s),i.addEventListener(%22mouseleave%22,r),i.addEventListener(%22focus%22,s),i.addEventListener(%22blur%22,r),document.body.appendChild(i),p(i,o),i}!function(){const%20t=document.getElementById(e)||document.createElement(%22style%22);t.id=e,t.textContent='.friend_block_v2{position:relative%20!important}.vac-check-badge{position:fixed;top:0;left:0;display:inline-flex;align-items:center;box-sizing:border-box;padding:4px%206px;border:1px%20solid%20rgba(0,0,0,.45);border-radius:2px;background:%234c7a2f;color:%23fff;cursor:help;font:700%2010px/1%20%22Motiva%20Sans%22,Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;z-index:2147483646%20!important}.vac-check-badge--vac{background:%23a9403c}.vac-check-badge--game{background:%23a96f21}.vac-check-badge--hidden{background:%2370529a}.vac-check-badge--clean{border-color:rgba(107,137,84,.4);background:rgba(72,93,60,.45);color:%23a7b49b;font-weight:600}.vac-check-badge:hover,.vac-check-badge:focus-visible{z-index:2147483647%20!important}.vac-check-tooltip{position:fixed;top:0;left:0;width:min(220px,calc(100vw%20-%2024px));box-sizing:border-box;padding:8px%209px;border:1px%20solid%20%233d4b57;border-radius:2px;background:%23171d25;box-shadow:0%203px%208px%20rgba(0,0,0,.45);color:%23c7d5e0;display:none;font:400%2012px/1.35%20Arial,sans-serif;letter-spacing:normal;overflow-wrap:anywhere;pointer-events:none;text-align:left;text-transform:none;white-space:normal;word-break:normal;z-index:2147483647%20!important}.vac-check-tooltip__title{display:block;margin-bottom:4px;color:%23f1f7fb;font-weight:700;white-space:normal}.vac-check-tooltip__detail{display:block;color:%238f9eab;white-space:normal}.vac-check-tooltip__age{display:block;margin-top:6px;padding-top:6px;border-top:1px%20solid%20rgba(199,213,224,.14);color:%23d7b46a;font-weight:700;white-space:normal}.vac-check-tooltip.is-visible{display:block%20!important}.vac-check-badge:focus-visible{outline:2px%20solid%20%23c7d5e0;outline-offset:2px}.vac-check-summary{margin-left:10px;padding-left:10px;border-left:1px%20solid%20rgba(199,213,224,.25);color:%238f9eab;font:400%2012px/1%20%22Motiva%20Sans%22,Arial,sans-serif}.vac-check-summary__count{color:%23d6d7d8;font-weight:700}',t.isConnected||document.head.appendChild(t)}();const%20f=function(){document.getElementById(a)?.remove();const%20e=document.createElement(%22div%22);return%20e.id=a,e.className=%22vac-check-tooltip%22,e.setAttribute(%22role%22,%22tooltip%22),document.body.appendChild(e),e}(),b=[];function%20h(){b.forEach(({badge:e,friend:t})=%3E{e.isConnected&&t.isConnected&&p(e,t)})}document.querySelectorAll(`.${t}`).forEach(e=%3Ee.remove()),window.addEventListener(%22resize%22,h,{passive:!0}),document.addEventListener(%22scroll%22,h,!0);let%20u=0;!function(e){const%20t=document.querySelector(%22.profile_friends.title_bar%20.profile_friends.title%22);if(!t)return;document.getElementById(n)?.remove();const%20a=document.createElement(%22span%22),c=document.createElement(%22span%22);a.id=n,a.className=%22vac-check-summary%22,a.append(%22Banned:%20%22),c.className=%22vac-check-summary__count%22,c.textContent=`${e}%20/%20${o.length}`,a.append(c),t.append(a)}((await%20Promise.all(Array.from({length:6},async%20function(){let%20e=0;for(;u%3Co.length;){const%20t=o[u++],a=t.dataset.steamid;try{const%20n=await%20l(a),o=m(n,f,t);b.push({badge:o,friend:t}),d(n)&&(e+=1)}catch(e){console.error(%22Steam%20VAC%20Checker%22,a,e)}}return%20e}))).reduce((e,t)=%3Ee+t,0)),console.log(%22Steam%20VAC%20Checker%20finished.%22)})();