This Chrome extension adds a small Wikipedia icon next to the username on Twitter profiles that have a corresponding Wikipedia page. By clicking on the icon, users can quickly access the Wikipedia page associated with the Twitter account.
Note: this plugin was created by GPT-4 in just two hours. Here is the transcript (in Swedish): https://shareg.pt/QsiIiV0
- Displays a Wikipedia icon next to Twitter usernames that have a Wikipedia page.
- Compatible with dynamically loaded Twitter content.
- Avoids adding icons to profile images or other unrelated links.
- Uses the Wikidata API to determine the existence of a Wikipedia page for a given Twitter username.
- Download or clone this repository to your local machine.
- Open the Chrome browser and navigate to
chrome://extensions
. - Enable "Developer mode" by toggling the switch in the upper right corner.
- Click the "Load unpacked" button in the upper left corner.
- Browse to the directory containing the downloaded or cloned repository, and select the folder to load the extension.
- Visit the extension's page on the Chrome Web Store: Twitter Wikipedia Badge.
- Click the "Add to Chrome" button.
- Confirm the installation by clicking "Add extension" in the popup window.
Once installed, the extension will automatically add a Wikipedia icon next to the usernames of Twitter accounts that have a Wikipedia page. You can click on the icon to navigate to the associated Wikipedia page.
- The extension might not work correctly if Twitter significantly changes their HTML structure or class names.
Contributions are welcome! Please feel free to submit issues or pull requests for enhancements, bug fixes, or other improvements.
This project is licensed under the MIT License.
- OpenAI for providing assistance through their ChatGPT API.
- Wikidata API for providing data on Wikipedia pages associated with Twitter accounts.