Tampermonkey Video Filter v4.1

Filters posts with videos/GIFs using dynamic content detection. Extended video format support, GIF thumbnails, caching, performance optimizations, thumbnail retry, and new toggles: "Search revisions" + "Include GIFs" + "Error 429 fix".

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

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

المؤلف
ImTrep
التثبيت اليومي
4
إجمالي التثبيت
332
التقييمات
0 0 0
الإصدار
1.4.0
تم إنشاؤه
22-01-2026
تم تحديثه
01-04-2026
الحجم
47.8 KB
الترخيص
MIT
ينطبق على

Latest (v1.4.0)

  • Error 429 fix toggle – Automatically retries rate-limited pages up to 5 times (with live progress)
  • Failed pages now shown on a separate red line below "Showing..." for perfect clarity
  • All settings (including the new 429 toggle) now use Tampermonkey GM storage → no more reset on F5 even when localStorage is full
  • Graceful cache quota handling

Key Features

  • Include GIFs toggle – choose whether to include GIFs (default = videos only)
  • Search revisions (Kemono only) – automatically finds the latest revision that contains media and links directly to it
  • Error 429 fix – retries rate-limited pages so you don't lose results
  • Floating Settings panel – click the ⋮ button for a clean panel with all toggles (saved persistently)
  • Animated GIF thumbnails (shown as images, not video players)
  • Extended video format support (mp4, mkv, avi, wmv, webm, flv, and many more)
  • Smart thumbnail retry system (up to 3 attempts + visual warning overlay)
  • Request queueing + concurrency control to avoid rate limiting
  • Response caching (5-minute TTL) + thumbnail caching (24-hour TTL)
  • Works on /posts, /posts/popular, global search, user profiles, and ?tag= filtered pages

Notes

  • Thumbnails from very old revisions or posts may occasionally fail due to how Kemono stores legacy or niche data.
  • 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. Script works within this limit.
    • Settings (toggles) use Tampermonkey GM storage – they survive localStorage full or clear.
  • 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.