twitter-image-new-tab-redirect-original

2023.08.17.13

目前為 2023-08-17 提交的版本,檢視 最新版本

作者
DanoR
評價
0 0 0
版本
2.2.0
建立日期
2017-01-21
更新日期
2023-08-17
尺寸
820 位元組
授權條款
未知
腳本執行於

twitter-image-new-tab-redirect-original

WARNING! This user script will only run on the latest modern browsers that support top-level-await!

  • I'm very tired and anxious about "adding a lot of extraneous code and avoiding the latest features in order to write compatible code".
    So I will not actively writing code that's compatible with older browser engines.
    I wish I could concentrate on what I want to achieve.

  • However, I welcome anyone to fork my code and change it to be compatible,
    or even just throw my code into compatibility compilers like rollup, vite or webpack.

Function

When you make a tweeted image open in a new tab, the image is automatically redirected to the original quality.
Original quality, as defined by Twitter, is usually not really the original image.