Skip to content

Instantly share code, notes, and snippets.

@afomi
Created December 5, 2023 05:01
Show Gist options
  • Save afomi/7dd3544d2497a9a3c74846291b864036 to your computer and use it in GitHub Desktop.
Save afomi/7dd3544d2497a9a3c74846291b864036 to your computer and use it in GitHub Desktop.
// INSTRUCTIONS:
// visit https://twitter.com/settings/blocked/all
// or navigate to the page where blocked accounts show on X.com "Settings and Support" > "Privacy and safety" > "Mute and block" > "Blocked accounts"
//
// Run this script in the browser dev console.
// Running the script will unblock everybody at once.
var elements = document.querySelectorAll('[aria-label="Blocked"]');
// Iterate through each element and click it
elements.forEach(function(element) {
element.click();
});
// All accounts should be unblocked now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment