Skip to content

Instantly share code, notes, and snippets.

@teroyks
Last active September 18, 2023 14:46
Show Gist options
  • Save teroyks/8935c471acd1dbf39354d0d77387e608 to your computer and use it in GitHub Desktop.
Save teroyks/8935c471acd1dbf39354d0d77387e608 to your computer and use it in GitHub Desktop.
Redirect a Twitter URL to Nitter
javascript:(() => { const nitter_instance = 'nitter.net'; const current_url = window.location.href; window.location.href = current_url.replace(/(mobile\.)?twitter\.com/, nitter_instance); })();
@teroyks
Copy link
Author

teroyks commented Feb 28, 2022

Add this to a bookmark URL, and then click on the bookmark when viewing a Twitter page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment