Greasy Fork

Greasy Fork is available in English.

Reddit - Top Comments Preview

Preview to the top comments on Reddit (optional: autoload comments, autoload images, autohide sidebar)

当前为 2015-04-26 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
jesuis parapluie
评分
0 0 0
版本
1.83
创建于
2014-09-09
更新于
2015-04-26
大小
11.1 KB
许可证
暂无
适用于

Original script from userscripts.org with following updates:

  • added https
  • adjusted color scheme for nightmode
  • added optional keyboard shortcut 't' for RES
  • option for auto expand all images in RES
  • retries to fetch comments if Reddit doesn't respond
  • option for auto loading all comments
  • option for hiding the sidebar
  • menu buttons for the settings

The auto loading options are disabled by default. For activating you have to set the corresponding variables to true in the options part of the script.

-- v1.80 I finally added a storing option for the settings. There are two new menu buttons, one to hide/show the sidebar, one for autoloading the comments and images. The script is tested on Chrome and Firefox. Please contact me if you encounter any problems.

If you don't care about the new features and just want the normal comment preview, you can disable the new menu buttons in the options part of the script. There is also an option to change the comment sorting now.

Please notice that the comment autoloading produces a lot of over-hat and therefore can cause a lot of traffic in the background. A new loaded page on Reddit produces lots of comment-requests at once. That will cause some requests to fail. Currently every request will just be repeated until success. That may take a while sometimes. You should disable the autoloading if Reddit already has connection problems. Otherwise it will produce a lot of repeating requests (like small DOS-attack), causing even more stress for the server.