Skip to content

A browser extension that brings back Twitter's legacy verification, allows you to customize badges and distinguishes legacy verified users vs Twitter Blue users

License

Notifications You must be signed in to change notification settings

StrawberryMaster/twitter-real-verified

 
 

Repository files navigation

Real Verify Extension

Twitter Real Verified v2.1.8

This is a fork of the browser extension of the same name. It aims to bring back Twitter's legacy verification and distinguishes Twitter Premium/Premium (née Blue) users vs legacy verified users.

Overview

Installing this add-on will restore all the legacy verified badges that were removed due to Twitter Blue/Premium changes on April 20, 2023. Some badges have since been chaotically restored to a group of accounts, but you will still be able to identify former verified accounts if you prefer to do so.

The list of legacy verified users was taken before April 4, 2023. Thanks to the data collected by Travisbrown, you can find the complete list on: Twitter accounts with legacy verification.

Options

  • Hide Twitter Blue/Premium badges.
  • Remove the verification badge from users who have Twitter Blue/Premium.
  • Replace Twitter Blue/Premium badges with 🤡.
  • Add a simple green checkmark to legacy verified accounts.

Change badge color

  • Change the badge color for verified users, Blue/Premium users, and verified users who have Blue/Premium.

Real Verify Extension Real Verify Extension Real Verify Extension

What's New

v2.1.8:

  • Added support for x.com

v2.1.7:

  • Fix bug when showing verified badges.

v2.1.6

  • Fixed minor issue in Chrome Dev: popup's width broken.

Complete logs: Releases

Dev

Popup is created with React. The project uses esbuild.

After cloning the project, do the following:

 # Install pnpm 
 npm install -g pnpm 
 
 # Install dependencies
 pnpm install 

 # Generate the files for Chrome
 pnpm run build-chrome
 
 # Generate the files for Firefox
 pnpm run build-firefox
 
 # Run and fix linter issues 
 npx standard --fix 
 # If you have the standardjs extension for VSCode, changes are made on save.

Alternatively, you can use bun instead of pnpm to run the commands.

Legacy verified list

This extension uses the screenname from the legacy verified list — most of which used to be followed by the now quasi-dormant @Verified account. The use of user IDs is being addressed in the userids branch. The data was graciously provided by Travisbrown and can be found here: legacy-verified.

The verified user list is splitted in two files and has the following format:

[{
  "key": "u",
  "users": ["username","username2"]
}]

# key: The first character of the username.
# users: An array of all the usernames where the first character matches the "key"

You can generate the files by running this python script.

# Move to the verifiedList folder
cd verifiedList
 
# Run the script
python generateVerifiedUserList.py

You have to have Python installed. The output files are used in ./src.

Test extension

Load the extension on Chrome, Edge, or any Chromium-based browser:

  • Access edge://extensions/, chrome://extensions/, or any browser extension page (e.g., browser://extensions/);
  • Check Developer mode;
  • Click on Load unpacked extension;
  • Select the folder: chrome-extension.

Load the extension on Firefox

  • Open the about:debugging page;
  • Click the This Firefox option (can also be seen as This Nightly, This Dev Edition, etc.);
  • Click the Load Temporary Add-on... button;
  • Select any file in the folder firefox-extension.

💡 Can I contribute?

Of course! You can open a new issue, or a pull request with a new improvement, or fix bugs.

About

A browser extension that brings back Twitter's legacy verification, allows you to customize badges and distinguishes legacy verified users vs Twitter Blue users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.0%
  • CSS 16.0%
  • Python 3.3%
  • HTML 0.7%