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.