你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/535728-reddit-corner-buttons-saved-posts-messages-reddit-ad-button-hider,源站連結 點此以跳轉。
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).