您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds buttons to access Saved Posts and Messages (bottom-right corner) and hides the 'Advertise' button/link on Reddit using its ID. Handles SPA navigation and iframe issues.
This UserScript adds convenient buttons to the bottom-right corner of Reddit pages for quick access to your Saved Posts and Messages Inbox.
https://www.reddit.com/user/me/saved
.https://www.reddit.com/message/inbox
.@run-at document-start
) and explicit button removal/re-creation to prevent duplicate buttons during page transitions.window.load
) on the /message/inbox
page before adding buttons, addressing timing issues observed on that particular page.@noframes
directive to ensure the script only runs in the main page context, preventing issues on pages that might use iframes.Install a UserScript Manager: You need a browser extension to manage UserScripts. Popular options include:
Install the Script: Click the installation link below. Your UserScript manager should detect it and prompt you for installation.
(Alternatively, you can manually copy the code from Reddit-Quick-Access.user.js
and create a new script in your UserScript manager.)
Once installed, simply browse Reddit while logged in. The buttons should appear automatically in the bottom-right corner of the screen. Click them to navigate to your Saved Posts or Messages Inbox.
@noframes
directive and the global flag check are key.Feel free to fork this repository, make improvements, and submit pull requests. You can also open issues for bugs or feature suggestions.
This project is licensed under the MIT License - see the LICENSE file for details (or state the license directly if not including a separate file).