Reddit Default Sort

Automatically sets Reddit's default sorting order for home and subreddits.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
yodaluca23
日安装量
1
总安装量
50
评分
1 0 0
版本
1.3.0
创建于
2025-02-10
更新于
2025-02-21
大小
20.4 KB
许可证
MIT
适用于

Reddit Default Sort UserScript

Overview

This is a UserScript that automatically redirects Reddit to your preferred sort order (e.g., new, hot, top, best, rising) for the home page, subreddit page, comment page, and user pages. It also includes a settings menu that allows you to configure your preferred sorting options easily.

This script is a UserScript port of the Default Sort for Reddit extension, with improvements, bug fixes, and personal changes.

Features

  • Automatically redirects Reddit's home page, subreddit page, and comment pages to your preferred sorting order.
  • Supports all of the built in Reddit sorting options.
  • Provides a settings UI to customize your preferred sorting behavior.
  • Includes a "Sort Settings" button for easy access.

Usage

  • Once installed, the script will redirect the Reddit homepage, subreddit page, and comment page, and user pages to the configured sorting order.
  • Click on the "Sort Settings" button (found in Reddit’s UI) to change your preferences.
  • Your preferences are saved and applied automatically.

Permissions

  • GM_getValue and GM_setValue: Used to store user preferences.
  • @match *://*.reddit.com/*: Grants access to all Reddit pages for redirection.

License

This project is licensed under the MIT License.