🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Twitter/X - clickable links to images and show uncropped thumbnails

All image posts in Twitter/X Home, other blog streams and single post views link to the high-res "orig" version. Thumbnail images in the stream are modified to display uncropped.

Vous devrez installer une extension telle que Tampermonkey, Greasemonkey ou Violentmonkey pour installer ce script.

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

Vous devrez installer une extension telle que Tampermonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Userscripts pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension de gestionnaire de script utilisateur pour installer ce script.

(J'ai déjà un gestionnaire de scripts utilisateur, laissez-moi l'installer !)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

(J'ai déjà un gestionnaire de style utilisateur, laissez-moi l'installer!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Auteur
marp
Installations quotidiennes
0
Installations (total)
3 355
Notes
27 1 0
Version
4.3
Créé
30/12/2018
Mis à jour
21/05/2024
Taille
14,3 ko
Licence
GNU AGPLv3
S'applique à

ANY AND ALL FEEDBACK IS WELCOME!

This script modifies Twitter/X image posts:

  • All image post thumbnails are modified to display uncropped.
  • All thumbnails of image posts link to their high-res "orig" (originally uploaded) version. This is easily accessible by opening in a new tab via "middle-mouse" click.
  • Some "Sensitive Content" warnings with blurred images remain even if this has been turned off in Profile Settings. The blur-effect for these is removed (note: other blur effects might also be removed)

Usage notes:

  • When navigating from Home to a specific blog stream, a manual reload is sometimes required to trigger the script (reason unknown, symptom is that images are not resized to display uncropped).
  • If image is opened in extra tab -> press CTRL-S (Firefox) or Right-click | Save Image As
  • In stream or single post view -> Right-click | Save Link As (FireFox) will save the "orig" high-res version of the image. This will NOT work if image link is of type "webp" - in this case the image must be opened in another tab and saved from there (see next point).
  • Twitter/X seems to be manipulating embedded images to be of type "webp" even if the originally uploaded image was of another type (like jpg or png). This will throw off the link to the original image. If this occurs, the script uses a secondary stage to determine the correct "orig" URL when opening it.
  • If (manually) opening a non-"orig" image URL in tab -> the script will automatically switch to "orig" version

Tested on Firefox with both TamperMonkey and GreaseMonkey.

The script is presented AS-IS with no guarantees - feedback is welcome.