Twitterを少し便利に。

私の作ったスクリプトをまとめたもの。と追加要素。

Author
ゆにてぃー
Daily installs
0
Total installs
1,017
Ratings
8 1 1
Version
2.1.1.4
Created
2023-10-25
Updated
2025-01-31
Size
315 KB
License
MIT
Applies to

直近のでかい更新内容

・画像をズームできる機能の追加
・設定画面の大幅変更
・今日変更されたUIのメニューバーに、ブックマーク、リスト、プロフィール、設定 ボタンを追加する機能(PC限定)

Latest big update

Added the ability to zoom in on images.
Significant changes to the setup screen.
The ability to add bookmark, list, profile, and settings buttons to the menu bar of today's modified UI (for PC).


過去の大きめな更新内容
  • 2025年01月24日
    • 画像をズームできる機能の追加
    • バグ修正
  • 2025年01月23日
    • コードをほとんど書き直した
    • 設定画面の大幅変更
    • 今日変更されたUIのメニューバーに、ブックマーク、リスト、プロフィール、設定 ボタンを追加する機能(PC限定)


Twitterを少し便利に。


このスクリプトは私がTwitter用に作成したスクリプトをまとめたものです。
過去に制作したスクリプト以外の機能強化版です。
新しい機能もあります。
設定画面から機能を有効にしなければなにも起こりません。


機能紹介(機能名をクリックすると展開されます)


あなたのツイートはどこから?

「あなたのツイートはどこから?」についてです。
  • ツイートの作成クライアントの表示
  • どのクライアントからツイートされたかを表示します。

    例としては「Twitter Web App」、「Twitter for Android」などです。
  • 動画のURLの表示
  • Twitterの動画は通常直リンを取得することができませんが、添付されている動画の最も画質の良いmp4ファイルへのリンクを表示します。

    それにより動画のダウンロードも可能になります。
  • 参考スクリーンショット




長いツイートをTLで展開
「長いツイートをTLで展開」についてです。
Twitterに課金することで通常よりも長い文面のツイート(Note Tweet)ができるようになります。
しかし、通常それはツイートをクリックして詳細表示しなければ全文読むことができないのでそれを解消する機能です。
  • TLにあるツイートを展開
  • 参考スクリーンショット

    Before

    Before



    After

    After
  • 引用されたツイートも展開できます
  • 参考スクリーンショット

    Before

    Before



    After

    After



PixivのリンクをTweetに添えて

「PixivのリンクをTweetに添えて」についてです。
画像などがあるツイートの下側にその人のプロフィール欄にあるリンクから探し出したPixivのリンクを表示します。
Fanboxなどのファンサイトの中や、litlinkのようなサービスからも探します。
  • 画像などがあるツイートの下側に表示
  • 参考スクリーンショット
  • プロフィール欄の下に表示
  • 参考スクリーンショット




返ってこい!リツイート欄!

「返ってこい!リツイート欄!」についてです。
詳細表示したツイートの引用などの一覧画面を簡単に表示できなくなったのでそれを解消する機能です。
  • 詳細表示したツイートの下側に表示します
  • 参考スクリーンショット




こっそりいいね

「こっそりいいね 」についてです。
誰かがリツイートしたツイートがTLに流れてきたとき、それを「いいね」するとリツイートした人にも通知が行ってしまうので、それを回避するためのボタンを作る機能です。
この機能でいいねしたあと、ツイートが画面外に消えると再びそのツイートを表示したとき見かけ上いいねができてないように表示されますが実際にはできているので安心してください。
  • リツイートされたツイートのいいね欄の右側にボタンを表示します
  • 参考スクリーンショット




WebhookがTweetを連れてくるわ今日も

「WebhookがTweetを連れてくるわ今日も」についてです。
この機能はツイートをDiscordにWebhookを使い、送信します。
自身のAPIを使うため、送信するツイートが鍵垢のツイートでも送ることができます。
画像などメディアをダウンロードして送信し直すので保存用や魚拓としても利用できます。
  • ツイートの下部に送信するためのプルダウンやボタンを表示します
  • 参考スクリーンショット
  • 送信してみた例
  • 参考スクリーンショット

    左の方のプルダウンリストを「true」にすると引用ツイートも送信できる。
    右の方のプルダウンリストを「true」にすると長いツイート(Note Tweet)も送信できる。
    参考スクリーンショット




フォロワーを直接表示

「フォロワーを直接表示」についてです。
現在Twitterではプロフィール欄などからフォロワーをクリックして表示すると、「認証済みのフォロワー」というタブが開きますが通常のフォロワー欄を最初から開くようにする機能です。


アナリティクスを非表示にする

「アナリティクスを非表示にする」についてです。
ツイートに表示されてるツイートを表示した回数を隠すための機能です。


ツイートリンクを素早くコピー

「ツイートリンクを素早くコピー 」についてです。
ツイートの右下にクリックしたら即そのツイートのリンクをコピーできるボタンを追加します。
設定からツイートのリンクをコピーする際のドメインを選択できます。
参考スクリーンショット

Before

Before

→   

After

After



メディア欄に全ての画像を表示

「メディア欄に全ての画像を表示」についてです。
メディア欄に表示される画像をツイートについている画像分全て表示する機能です。

このようなツイートの場合、

または

のように表示することができます。
単に展開するか、ツイートのように表示するかは設定から変更できます。



画像をズーム

「画像をズーム」についてです。
ツイートに添付されている画像をクリックするとその画像を拡大表示します。
このように画像を詳細表示しているときに画像をクリックすることでルーペを表示し、画像を拡大表示できます。


クリックしながら「Ctrl + マウスホイール」でズーム倍率を変更することができます。

クリックしながら「Shift + マウスホイール」でルーペの大きさを変更することができます。



メニューボタンを追加

「メニューボタンを追加」についてです。
twitterがUIを変更して自身のプロフィール欄やリスト、ブックマーク、設定などにアクセスするためのボタンを削除したのでそれを復活させる機能です。

これが

こう。


設定

設定の開き方
  1. ブラウザの拡張機能の拡張機能の一覧からTampermonkeyをクリックする
  2. このスクリプトの名前の下にある「script settings」をクリックする
  3. 参考スクリーンショット

    もしくはTwitterの設定画面の一番下にある「「Twitterを少し便利に。」の設定」をクリックすることでも開けます。

バージョンコードの規則

M.F.C.P

  • M: Major version
    • 大規模改修が入ったら変更
  • F: Feature version
    • 新機能が追加されたら変更
  • C: Change version
    • 仕様や内部関数の大きめの変更
  • P: Patch version
    • バグ修正や細かい変更
となっています。




Past Major Updates
  • January 24, 2025
    • Added image zoom feature
    • Bug fixes
  • January 23, 2025
    • Rewrote most of the code
    • Major changes to the settings screen
    • Added buttons for bookmarks, lists, profiles, and settings to the newly changed UI menu bar (PC only)


Make Twitter Little Useful.


This script is a collection of scripts I created for Twitter.
It is an enhanced version of the scripts I created in the past.
There are also new features.
Nothing will happen unless you enable the features from the settings screen.


Feature Introduction (Click on the feature name to expand)


Hello tweet where are you from?

About "Hello tweet where are you from?".
  • Display the tweet creation client
  • Displays which client the tweet was posted from.

    Examples include "Twitter Web App", "Twitter for Android", etc.
  • Display video URL
  • Normally, you cannot get a direct link to Twitter videos, but this feature displays a link to the highest quality mp4 file of the attached video.

    This allows you to download the video.
  • Reference screenshot




Note Tweet expander
About "Note Tweet expander".
By subscribing to Twitter, you can post longer tweets (Note Tweet) than usual.
However, normally you have to click on the tweet to view the details to read the full text, so this feature solves that problem.
  • Expand tweets in TL
  • Reference screenshot

    Before

    Before



    After

    After
  • Can also expand quoted tweets
  • Reference screenshot

    Before

    Before



    After

    After



Show me your Pixiv

About "Show me your Pixiv".
Displays a Pixiv link found from the person's profile section under tweets with images, etc.
It also searches within fan sites like Fanbox and services like litlink.
  • Display under tweets with images, etc.
  • Reference screenshot
  • Display under the profile section
  • Reference screenshot




Engagement Restorer

About "Engagement Restorer".
This feature solves the problem of not being able to easily display the list screen of quotes, etc., of a detailed tweet.
  • Display under the detailed tweet
  • Reference screenshot




sneakily Favorite

About "sneakily Favorite".
When someone retweets a tweet and it appears in your TL, liking it will notify the person who retweeted it. This feature creates a button to avoid that.
After liking with this feature, if the tweet disappears off-screen and you see it again, it may appear as if you haven't liked it, but you actually have, so don't worry.
  • Display a button to the right of the like section of retweeted tweets
  • Reference screenshot




Webhook Brings Tweets to Discord

About "Webhook Brings Tweets to Discord".
This feature sends tweets to Discord using a webhook.
Since it uses your own API, it can send tweets even if they are from a private account.
It downloads and resends media such as images, so it can be used for saving or archiving.
  • Display a dropdown or button for sending at the bottom of the tweet
  • Reference screenshot
  • Example of sending
  • Reference screenshot

    If you set the left dropdown list to "true", you can also send quoted tweets.
    If you set the right dropdown list to "true", you can also send long tweets (Note Tweet).
    Reference screenshot




Show Followers Directly

About "Show Followers Directly".
Currently, when you click on followers from the profile section on Twitter, the "Verified Followers" tab opens, but this feature makes the normal followers tab open from the start.


Hide Analytics

About "Hide Analytics".
This feature hides the tweet view count displayed on tweets.


quick Copy TweetLink

About "quick Copy TweetLink".
Adds a button to the bottom right of the tweet that instantly copies the tweet link when clicked.
You can select the domain to use when copying the tweet link from the settings.
Reference screenshot

Before

Before

→   

After

After



Show All Images in Media Section

About "Show All Images in Media Section".
This feature displays all the images attached to tweets in the media section.

In the case of a tweet like this,

or

you can display it like this.
You can change whether to simply expand or display it like a tweet from the settings.



Zoom images

About "Zoom images".
Clicking on an image attached to a tweet will enlarge the image.
When viewing an image in detail like this, clicking on the image will display a magnifier and enlarge the image.


You can change the zoom level by clicking while holding "Ctrl + mouse wheel".

You can change the size of the magnifier by clicking while holding "Shift + mouse wheel".



Add menu buttons

About "Add menu buttons".
Twitter changed the UI and removed the buttons to access your profile, lists, bookmarks, settings, etc., so this feature restores them.

This

becomes this.


Settings

How to open the settings
  1. Click on Tampermonkey from the list of browser extensions
  2. Click on "script settings" under the name of this script
  3. Reference screenshot

    Alternatively, you can also open it by clicking on "Settings for 'Make Twitter Little Useful'" at the bottom of the Twitter settings screen.

Version Code Rules

M.F.C.P

  • M: Major version
    • Changed when there is a major overhaul
  • F: Feature version
    • Changed when new features are added
  • C: Change version
    • Changed when there are significant changes to specifications or internal functions
  • P: Patch version
    • Changed for bug fixes or minor changes
This is the versioning scheme.