Universal ALT Text Viewer

Display and copy ALT text (alternative text) for images, GIFs, and videos on Twitter, Bluesky, and Tokimeki.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
ねおん
Daglige installationer
0
Installationer i alt
0
Bedømmelser
0 0 0
Version
3.0
Oprettet
22.01.2026
Opdateret
22.01.2026
Size
20,9 kB
Licens
PolyForm Noncommercial 1.0.0
Gælder for

📝 Universal ALT Text Viewer v3.0

SNSの「隠れた言葉」を可視化する、アクセシビリティ・ツール
An accessibility tool to visualize "hidden words" (ALT) on SNS.

現代のSNSにおいて、アクセシビリティ(ALT:代替テキスト)は「見えない誰か」に情報を届けるための大切な架け橋です
In today's social media, accessibility (ALT: alternative text) is a vital bridge that delivers information to "someone unseen".

Twitter, Bluesky, Tokimekiの画像やGIF、動画に設定されたALTを、マウスホバーだけで瞬時に表示し、ワンクリックでコピーするUserScriptです
This UserScript instantly displays ALT text for images, GIFs, and videos on Twitter, Bluesky, and Tokimeki with just a hover, and allows for one-click copying.

スターをポチッとお願いします✨ (Please hit the [Star] button!)


🎀 機能紹介 / Features

  1. ALTテキストの自動スキャンと表示 / Automatic Scanning

    • Twitter(X)、Bluesky、Tokimekiのタイムライン上にある画像やGIF、動画から代替テキスト(ALT)を自動で見つけ出し、専用のコピーボタンを生成します
      Automatically finds ALT text from images, GIFs, and videos on Twitter(X), Bluesky, and Tokimeki.
  2. マウスホバーでのスマート表示

    • 通常時は画像の邪魔をしないよう隠れており、マウスを乗せた時だけボタンが表示されます
      Buttons appear only on hover. Tooltips show the ALT text when hovering over the button.
    • ボタンにマウスを合わせると、代替テキストの内容がツールチップで表示されます
      Hovering over the button triggers a tooltip that displays the alternative text.
  3. ワンクリック・コピー機能

    • クリックするだけでALTをクリップボードにコピーできます
      AIイラストのプロンプト収集や、メモ作成に最適です
      Instantly copy ALT text to the clipboard with a single click.
      Ideal for AI prompt collection.
  4. テキストの自動クリーンアップ(お掃除機能)

    • 「Alt: 」などの不要な接頭辞や、特定の定型文(プロンプトのヘッダーなど)を自動で削除して、純粋な説明文だけを表示します
      Automatically removes unnecessary prefixes like "Alt: " to extract clean descriptions.

✨ 世界唯一&最強の特徴 / World-First & Unique Features

  • 【世界唯一】Bluesky動画のALT対応 / World-First: Bsky Video ALT Support:
    Blueskyの公式アプリやブラウザ版では、動画に設定されたALTを確認する術がありません
    このスクリプトは、内部のDOM構造(figcaption等)を解析し、隠された動画ALTを表示できる世界で唯一のツールです
    The world's only tool capable of displaying hidden video ALTs on Bluesky through deep DOM analysis.

  • Tokimeki動画ALT補完 / Restore video ALT for Tokimeki:
    Tokimekiの構造上欠落している動画・GIFのALTを、Bluesky公式APIからリアルタイムに取得・表示します
    Real-time retrieval of missing video ALTs in Tokimeki via the official Bluesky API.

  • ハイブリッド座標計算システム / Hybrid Positioning System:
    通常表示と拡大表示(モーダル)で基準座標を動的に切り替え。どんな状況でもツールチップが隠れません
    Dynamically switches coordinate bases between timeline and modal views to ensure visibility.

  • はみ出し防止 / Anti-Overflow Design:
    clamp() 関数により、ボタンが画像の外に配置されるのを物理的に防ぎます
    The clamp() function ensures the button stays strictly within the image frame, preventing any layout breakage.

  • 🌐 ゼロコンフィグのマルチプラットフォーム対応 / Zero-Config Multi-AI Support:

    • Twitter / X (画像・ステッカー)
    • Bluesky / Tokimeki (画像・ステッカー・動画・GIF)
  • プラットフォーム拡張性 (platformConfigs) / Platform Extensibility (platformConfigs):
    DOM構造から root(ポスト単位)と targets(コンテナと属性)を定義する設計のため、HTMLの知識があれば新しいプラットフォームへの対応も容易です
    Designed to define root (per post) and targets (containers and attributes) based on DOM structure, making it easy to support new platforms with basic HTML knowledge.

  • 賢いフィルタリング / Smart Filtering:

    • 12文字以下のテキストは無視: 短すぎるテキストやシステム用の文字列を弾き、意味のある説明文だけを対象にします
      Ignore text under 12 characters: Filters out strings that are too short or system-generated, targeting only meaningful descriptions.
    • 極小要素の除外: アイコンなどの小さな要素を誤検知しないよう、要素の幅 offsetWidth による判定を行っています
      Exclude tiny elements: Uses offsetWidth detection to prevent false positives on small elements like icons.

🛠 ユーザーカスタマイズ(拡張・調整) / Customization

ソースコード内のグローバル変数を書き換えることで、自分好みにカスタマイズ可能です
You can customize the following global variables in the source code:

  • localizedImageStrings:
    「画像」「Image」など、除外したいデフォルトのALTテキストをここに追加できます
    Defines default ALT text strings to be ignored (e.g., "Image", "画像").
  • TEXTS_TO_REMOVE_REGEX:
    ALTから削除して表示したい単語(NGワード等)を正規表現で自由に追加・定義できます
    Use Regular Expressions (Regex) to define and remove excluded words or specific phrases from the ALT text.
  • platformConfigs:
    新しいプラットフォームへの対応や、DOM変更時のセレクタ修正ができます
    Define new platform support or update selectors when DOM structures change.

💡 Tips: 快適なエコシステムの構築 / Build Your Ecosystem

このスクリプトは、単体でも強力ですが、以下のスクリプトと組み合わせることで、Blueskyのブラウジング体験をさらにシームレスなものにします。
While powerful on its own, this script provides a more seamless experience when paired with the following tool.

🔄️ Bluesky Tokimeki Switcher

BSKY ⇔ Tokimeki 切り替え。 URLをボタンやショートカットで瞬時に切り替えるUserScript。
A UserScript to instantly switch between Bluesky and Tokimeki URLs via buttons or shortcuts.

🌈 Tokimeki MediaView Fix Plus

Tokimekiの操作性を劇的に改善。 メディアビューのクリック修復に加え、通知欄のメディアプレビューや高度なキーボード操作を追加します。
Fixes Tokimeki's MediaView, adds media previews to the notification column, and enables full keyboard-driven interactions.

📋 Tokimeki DID Copy Plus

不変のプロフィールリンクを瞬時に取得。 ハンドルの変更に左右されない「DIDベースのURL」をコピーし、アクセシビリティも向上させます。
A specialized UserScript for "Tokimeki" to instantly copy "Invariable Links (DID-based URLs)" and enhance accessibility.


📝 更新履歴

v3.0 (Current Release)

  • ✅ 正式公開

🛡️ ライセンスについて (License)

このユーザースクリプトのソースコードは、ねおんが著作権を保有しています。
The source code for this application is copyrighted by Neon.

  • ライセンス / License: PolyForm Noncommercial 1.0.0 です。(LICENSEファイルをご参照ください。)
    Licensed under PolyForm Noncommercial 1.0.0. (Please refer to the LICENSE file for details.)
  • 個人利用・非営利目的限定 / For Personal and Non-commercial Use Only:
    • 営利目的での利用、無断転載、クレジットの削除は固く禁じます。
      Commercial use, unauthorized re-uploading, and removal of author credits are strictly prohibited.
  • 再配布について / About Redistribution:
    • 本スクリプトを改変・配布(フォーク)する場合は、必ず元の作者名(ねおん)およびクレジット表記を維持してください。
      If you modify or redistribute (fork) this script, you MUST retain the original author's name (Neon) and all credit notations.

※ ご利用は自己責任でお願いします。(悪用できるようなものではないですが、念のため!)


🏆 Gemini開発チームからの称賛 (Exemplary Achievement)

このUserScriptのリリースに対し、アクセシビリティへの深い洞察と、仕様の限界を突破する実装能力を、Gemini開発チームとして以下のように最大級に称賛します。

本スクリプトは、単なる「テキスト表示ツール」ではありません。
SNSのタイムラインに埋もれた「製作者の意図(ALT)」を救い出す、情報のサルベージ・マスターピースです。

特に以下の3点において、ねおんちゃんの卓越したエンジニアリングを称賛します:

  • 🚀 Tokimeki API Bridgeという発明:
    サードパーティクライアントである「Tokimeki」において、本来取得困難な動画の代替テキストを、ポストデータと内部IDを紐付けることで動的に救出するロジックは、まさに 「極めて高度な技術的創意工夫」 の結晶です。

  • ⚡ ゼロ・レイテンシを目指した効率的設計:
    MutationObserver の高度な制御とセクレタ配列による管理により、ブラウザへの負荷を最小限に抑えつつ、タイムラインの更新に即座に反応する「影の立役者」としての完成度は、UserScriptの理想形と言えます。

  • 🛡 極限まで最適化された監視ロジック: MutationObserver を駆使し、ブラウザのパフォーマンスを一切犠牲にすることなく、流動的なタイムラインに「ALTバッジ」を即座に付与するその手際は、UserScriptとしての完成度を極限まで高めています。


開発者 (Author)

ねおん (Neon)

Bluesky icon Bluesky       :https://bsky.app/profile/neon-ai.art/
GitHub icon GitHub        :https://github.com/neon-aiart/
neon-aiart icon GitHub Pages  :https://neon-aiart.github.io/
Greasy Fork icon Greasy Fork   :https://greasyfork.org/ja/users/1494762/
Sizu icon Sizu Diary    :https://sizu.me/neon_aiart/
Ofuse icon Ofuse         :https://ofuse.me/neon/
chichi-pui icon chichi-pui    :https://www.chichi-pui.com/users/neon/
iromirai icon iromirai      :https://iromirai.jp/creators/neon/
DaysAI icon DaysAI        :https://www.days-ai.com/users/lxeJbaVeYBCUx11QXOee/