Reddit - Top Comments Preview

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

目前為 2015-04-25 提交的版本,檢視 最新版本

作者
jesuis parapluie
評價
0 0 0
版本
1.82
建立日期
2014-09-09
更新日期
2015-04-25
尺寸
11.1 KB
授權條款
未知
腳本執行於

1.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 should work on Chrome and Firefox, at least it did for me... Please contact me if you have problems / the script is not working.
They only things stored are the settings from added menu, currently three booleans.

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.

--

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.

Comment autoloading can cause problems!
The autoloading option produces a lot of overhat and cause a lot of traffic in the background. A new loaded page on Reddit produces lots of requests in a short time. That will cause some requests to fail. Currently every request will be repeated until success. It may take a while sometimes.
When there are connection problems, like Reddits server are overloaded again, I strongly suggest to switch off the autoloading.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址