Reminder That LTBEEF Still Works
document.body.innerHTML='<style>body{background:#1a1a1a;color:#eee;font:15px sans-serif;padding:20px;margin:0}.r{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid #333}img{width:28px;height:28px;margin-right:12px}img:not([src]){visibility:hidden}.n{flex:1}.s{width:44px;height:24px;border-radius:12px;border:none;cursor:pointer;position:relative;transition:.2s}.s::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:.2s}.t{background:#4caf50}.t::after{transform:translate(20px)}.f{background:#f44336}</style><h2>RTLSW</h2><p style="color:#888;margin:-15px 0 20px">@secrethackerman99</p>';(await chrome.management.getAll()).filter(e=>e.type==='extension').forEach(e=>{let d=document.createElement('div'),b=document.createElement('button'),i=document.createElement('img');d.className='r';if(e.icons)i.src=e.icons.at(-1).url;b.className='s '+(e.enabled?'t':'f');b.onclick=()=>chrome.management.setEnabled(e.id,!e.enabled).then(()=>b.className='s '+((e.enabled=!e.enabled)?'t':'f'));d.append(i,Object.assign(document.createElement('div'),{textContent:e.name,className:'n'}),b);document.body.append(d)});