Twitter interests deselection bookmarklet
I like to use Twitter, but the new Topics and Interests feature of Twitter is damn annoying. It keep showing something I am not interested of.
I looked for the solution from Internet, and finally I come out with this bookmarklet, which can be used in Settings > Privacy and Safety > Content You See > Interests.
javascript:(async()=>{const sleep=ms=>new Promise(r=>setTimeout(r,ms));const inputs=document.querySelectorAll('section[aria-label="Section details"] input:checked');for(let i=0;i<inputs.length;i+=1){const rand=Math.floor(Math.random()*2e3);await sleep(9e3+rand);const input=inputs[i];input.click()}})();
After trigger the bookmarklet, just leave the page there, it will slowly deselect one by one.
Alternatively, just use Tweetdeck, which is much cleaner.