你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/490614-reddit-enhancement/versions,源站連結 點此以跳轉

Hide Promotion Advertisement at Reddit Site

Hide links with rel="noopener nofollow sponsored"

当前为 2024-03-23 提交的版本,查看 最新版本

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.0.11 2025-12-07

    Key changes:

    1. Added top-level hiding: Now directly hides alert-controller and banner-controller elements using display: none
    2. Enhanced shadow DOM search: Uses deepQuerySelectorAll to find faceplate-banner elements within shadow roots
    3. Added error div targeting: Searches for div[role="banner"] elements with error classes in shadow DOM
    4. Immediate execution: Added removeElements() call at the end to run immediately on script load

    The script now targets the banner at multiple levels: the parent controllers, the faceplate-banner custom elements, and the actual error divs inside shadow roots.

  • v1.0.10 2025-12-01

    Update the code to hide the “We had a server error...” banner.

  • v1.0.9 2025-10-10
  • v1.0.8 2025-03-25

    i18n support

  • v1.0.7 2025-01-04

    hide any element with the specified data-immersive-translate-walked attribute added by the browser extension on Reddit site

  • v1.0.6 2024-12-28

    feat: Show Exact Timestamp when hovering

  • v1.0.5 2024-12-24
  • v1.0.4 2024-12-24

    Also removes the "We had a server error..." banner from Reddit.

  • v1.0.3 2024-11-23

    Added a new selector shreddit-comments-page-ad.promotedlink

  • v1.0.2 2024-10-05

    update selector

  • v1.0.1 2024-03-23

    update icon

  • v1.0 2024-03-23