Pawchive Video Filter

Filters posts with videos/GIFs on Pawchive. Supports posts, search, user profiles.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
ImTrep
1日のインストール数
0
累計インストール数
51
評価
0 0 0
バージョン
1.1.1
作成日
2026/07/27
更新日
2026/07/27
大きさ
38.9KB
ライセンス
MIT
対象サイト

Based on Tampermonkey Video Filter v4

Key Features

  • Include GIFs toggle – choose whether to include GIFs (default = videos only).
  • Supports global search – filters posts on /posts?q= pages.
  • Supports tag filtering on creator pages – filters posts by ?tag= parameters on user profiles (client‑side).
  • Smart thumbnail loading with failure feedback – lazy‑loads videos with poster previews; retries failed thumbnails up to 3 times and reports exactly how many failed (e.g., “3/10 thumbnails failed”).

UI & Performance

  • Request queueing & concurrency control – limits simultaneous requests (max 2) to avoid rate limiting.
  • Smart caching – API responses cached for 5 minutes, thumbnails for 24 hours, with automatic cleanup when localStorage quota is exceeded.
  • Collapsible floating panel – includes a settings button (⋮) for easy access; all preferences are saved persistently.
  • Copy URLs – copy all discovered media URLs to your clipboard with a single click.

Notes

  • Limitations:
    • The /posts/popular page is not supported because Pawchive does not provide a dedicated API endpoint for it. The script will show “Page context not supported” on that URL.
    • Tag filtering on creator pages is client‑side – it parses the tags field from the API response (which may be a JSON string, a bracketed list, or a comma‑separated string). This approach works with the current data format, but may break if Pawchive changes its API structure in future updates.
  • Storage quota:
    • Firefox: default localStorage quota is 5 MB (dom.storage.default_quota in about:config). To improve caching, increase to 20 MB (20480 KB).
    • Chromium (Chrome, Edge, etc.): 10 MB per origin, not user‑configurable. The script works within this limit.
    • Settings (GIF toggle) are stored via Tampermonkey GM storage – they survive even if localStorage is full or cleared.
  • RAM caching (optional): If you have spare RAM, you can move Firefox's disk cache to a RAM drive. This speeds up thumbnail/video loading, reduces disk writes, and improves responsiveness. See Arch Wiki: Firefox Tweaks for setup instructions.