Skip to content

Instantly share code, notes, and snippets.

@nikcub
Created February 2, 2013 07:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikcub/4696417 to your computer and use it in GitHub Desktop.
Save nikcub/4696417 to your computer and use it in GitHub Desktop.
Twitter revoke all OAuth
go to settings > applications and paste the following javascript into your browser console or the address bar:
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();};
that will automatically click 'revoke' for all the applications
not that some browsers, such as chrome, will remove the 'javascript:' part if you paste it in, just type it back in and press enter. leave the browser open for 15-20 seconds and then refresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment