X to Twitter Text Replacer

Replace "Post/Posts" with "Tweet/Tweets" and "X/X Corp" with "Twitter/Twitter Inc." on all X.com and Twitter.com sites

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
jglypt
Instalaciones diarias
0
Instalaciones totales
6
Calificaciones
0 0 0
Versión
1.4
Creado
27/05/2025
Actualizado
28/05/2025
Tamaño
8.66 KB
Licencia
MIT
Funciona en

Additional Info

This script modifies the appearance of X/Twitter in your browser by replacing specific text elements. It changes instances of "Post" and "Posts" to "Tweet" and "Tweets," respectively, and replaces "X Corp" with "Twitter Inc." This is a client-side modification, meaning it only affects how you see the site and does not change the actual content on Twitter's servers.

Key Features:

  • Text Replacements:

    • Replaces "Post" with "Tweet" and "Posts" with "Tweets" (case-insensitive).
    • Replaces "X Corp" and "X Corp." with "Twitter Inc."
    • Replaces standalone instances of "X" with "Twitter" (e.g., when it's not part of another word).
  • Context Awareness: The script is designed to avoid modifying user-generated content (tweets, DMs, etc.). It uses CSS selectors to identify and skip elements that typically contain user-created text, ensuring that your own posts and messages are not altered.

  • Dynamic Content Handling: The script uses a MutationObserver to detect and process changes to the page content as you browse. This ensures that new content loaded via AJAX or other dynamic methods is also modified correctly.

  • Supported Domains: This script works on the following domains:

    • x.com
    • mobile.x.com
    • twitter.com
    • mobile.twitter.com

Installation:

  1. Install the Tampermonkey browser extension: https://www.tampermonkey.net/
  2. Click the install link provided by the distribution method (Greasy Fork, raw script URL, etc.)
  3. Tampermonkey will prompt you to confirm the installation.
  4. Once installed, the script will automatically run on X/Twitter.

Uninstallation:

  1. Open the Tampermonkey dashboard in your browser.
  2. Find "X to Twitter Text Replacer" in the list of installed scripts.
  3. Click the "delete" icon (usually a trash can) to remove the script.

Important Notes:

  • This script is provided as-is and may require updates to remain compatible with future changes to the X/Twitter website.
  • The script only modifies the appearance of the site in your browser. It does not alter any data on Twitter's servers.
  • This script prioritises avoiding changes to user-generated content. However, due to the complexity of web page structures, there might be rare cases where it incorrectly identifies and skips elements. Please report any issues or suggestions for improvement.
  • The script attempts to handle standalone instances of "X" carefully. If you encounter situations where it incorrectly replaces "X" in other contexts, please provide feedback.