Skip to content

Instantly share code, notes, and snippets.

@nikcub
Last active December 12, 2015 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikcub/4696395 to your computer and use it in GitHub Desktop.
Save nikcub/4696395 to your computer and use it in GitHub Desktop.
remove all twitter oauth
<h3>Step 1</h3>
<p>Visit the Twitter settings page for OAuth applications by going to Settings > Applications or https://twitter.com/settings/applications</p>
<p>Paste the following Javascript into your browser URL bar and hit enter</p>
<pre>javascript:var a=document.querySelectorAll('button.revoke');for(var i=0, len=a.length; i<len; i++) { if(a[i].innerHTML=="Revoke access"){a[i].click();};</pre>
<p>Note: Some browsers, such as 'chrome' will remove the javascript: part of that URL when you paste it in. Just type it back in.</p>
<p>Or drag and drop the following link:</p>
<a href="javascript:var%20a=document.querySelectorAll('button.revoke');for(var%20i=0,len=a.length;i<len;i++){if(a[i].innerHTML=='Revoke access'){a[i].click();};">Twitter Revoke</a>
Leave the page open for 10-20 seconds. Refresh and you will find no more OAuth permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment