Bluesky Search External Link Filter

Hides Bluesky Search posts containing external links.

作者
Cochinver
日安装量
0
总安装量
0
评分
0 0 0
版本
1.5
创建于
2025-02-20
更新于
2025-02-20
大小
1.5 KB
许可证
暂无
适用于

remove posts with external links from bluesky search

ai:

Bluesky Search External Link Filter

Overview

This user script hides posts containing external links on Bluesky Search (bsky.app/search). It ensures that only posts linking to content within Bluesky remain visible, reducing clutter from external sources.

Features

  • Automatically hides posts with links pointing outside bsky.app.
  • Runs only on Bluesky Search (https://bsky.app/search*).
  • Efficient mutation observer ensures real-time filtering as new posts load.
  • Non-destructive hiding (CSS-based) allows easy re-enabling via dev tools.

Installation

  1. Install a user script manager:

    • Violentmonkey (Recommended)
    • Tampermonkey (Optional)
    • Greasemonkey (Optional)
  2. Click "Create a new script" in your user script manager.

  3. Copy and paste the script.

  4. Save and enable the script.

How It Works

  • The script scans for posts under the Bluesky search page structure.
  • It checks each post for external links (i.e., links not containing bsky.app).
  • If an external link is found, the script hides the post.
  • A mutation observer ensures new posts are checked dynamically.

Notes

  • The script does not remove posts, only hides them using display: none.
  • You can inspect hidden posts via browser dev tools (F12 → Elements tab).

License

This script is open-source and provided without warranty. Modify and share freely!