GitHub FileSize Viewer

Show the file size next to it on the website

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Neithan
日安装量
0
总安装量
129
评分
0 1 1
版本
0.9.12
创建于
2017-03-25
更新于
2017-03-25
大小
8.3 KB
许可证
暂无
适用于

I've always missed being able to have some sense of the file size but now that I navigate with it, I don't know how I put up with this huge missing feature for so long.

Anyhow, I finally decided to fix it myself. This script should work in any GreaseMonkey/TamperMonkey type of extension. You have two viewing options for small files. You can either see > 1KB or something like 768 B, meaning bytes. Up to you!

It's not flawless; sometimes it may skip a file because the DOM is what it is or something else. Feel free to open any issue

Just try it out, I guarantee you'll enjoy it.