So, I thought I’d do a Substack on how to create a mass block button as a bookmark button to block people who pay for Twitter Blue in any given tweet or thread.
It’s a little complicated and it’s not a perfect solution because I had to lower the number per minute to evade Twitter bot detection.
But…
Open your bookmarks manager. Add a new bookmark. Name it anything you like. In the URL field, paste this:
javascript:(async()=>{const e=e=>new Promise(t=>{let o=document.querySelector(e);if(o)return void t(o);const l=new MutationObserver(()=>{(o=document.querySelector(e))&&(l.disconnect(),t(o))});l.observe(document.body,{childList:!0,subtree:!0})}),t=(()=>{let e=document.getElementById("visual-log");return e||((e=document.createElement("div")).id="visual-log",e.style.position="fixed",e.style.bottom="0",e.style.left="0",e.style.zIndex="9999",e.style.backgroundColor="white",e.style.padding="1em",e.style.border="1px solid black",e.style.borderRadius="1em",e.style.margin="1em",e.style.maxHeight="50vh",e.style.maxWidth="50vw",e.style.overflowY="scroll",e.style.fontFamily="monospace",document.body.appendChild(e),e)})(),o=e=>{const o=document.createElement("div");o.innerText=e,o.style.opacity="1",o.style.transition="opacity 1s",o.style.marginBottom="0.5em",t.appendChild(o),setTimeout(()=>{o.style.opacity="0",setTimeout(()=>{t.removeChild(o)},1e3)},4e3)};let l;for(;l=document.querySelector('[role="article"]:has(> * > * > * > * > * > * > * > * > * > * > * > * > * > * > * > [aria-label="Verified account"] > g > path:not([clip-rule="evenodd"])) [aria-label="More"]');){const t=[...l.closest('[role="article"]').querySelector('[data-testid="User-Name"]').querySelectorAll('[role="link"]:not(:has(time))')].map(e=>e.innerText).join(" ");l.click(),(await e('[data-testid="block"]')).click(),(await e('[data-testid="confirmationSheetConfirm"]')).click(),o(`Blocked ${t}`),await new Promise(e=>setTimeout(e,3601))}o("No more verified accounts to block")})();
And save.
Now go to any Tweet that has a lot of Blue Herpes and click the bookmark. Alternately you can run a query in the Twitter search bar with this:
-filter:verified filter:blue_verified
Now, the folks at Twitter are actively trying to stop this, so it may log you out if they change the detection system to stop this. But, the previous limit was one per 3.6 seconds. This is just over that.
Run it in a seperate window on a bunch of Elon’s tweets and you’ll add 1000 an hour.
It’s not perfect, but it does make the experience better.
What's the name of the medicine for herpes? That's what this should be called.
You're doing the lord's work.