Filter and hide FetLife videos by duration/length
Tampermonkey userscript that filters and hides FetLife videos based on their duration/length.
🎬 Features
Filter by Duration: Set minimum and/or maximum video length
Multiple Display Modes: Hide, Blur, or Dim filtered videos
Quick Presets: One-click buttons for common durations (1m+, 5m+, 10m+)
Auto-Apply: Automatically filter videos as you browse
Persistent Settings: Remember your preferences between sessions
Live Statistics: See how many videos are being filtered
Real-Time Updates: Automatically filters new videos as they load
🚀 Installation
Step 1: Install Tampermonkey
Chrome: Chrome Web Store
Firefox: Firefox Add-ons
Step 2: Add the Script
Open Tampermonkey Dashboard
Click "+" to create new script
Copy all content from fetlife_video_length_filter.user.js
Paste into editor
Press Ctrl+S to save
Step 3: Visit FetLife
Go to any FetLife page with videos
Look for the 🎬 button in the top-right corner
🎯 How to Use
Opening the Filter Panel
Click the 🎬 button (top-right corner, purple gradient)
Control panel opens showing filter options
Setting Duration Filters
Minimum Duration
Shows only videos LONGER than this duration
Options: Any, 1m+, 5m+, 10m+
Custom: Enter any number of seconds
Examples:
0 seconds = Show all videos
60 seconds = Show videos 1 minute or longer
300 seconds = Show videos 5 minutes or longer
Maximum Duration
Shows only videos SHORTER than this duration
Options: Any, ≤1m, ≤5m, ≤10m
Custom: Enter any number of seconds
Examples:
0 seconds = Show all videos
60 seconds = Show videos 1 minute or shorter
300 seconds = Show videos 5 minutes or shorter
Display Modes
Choose how filtered videos appear:
Mode Effect Best For
Hide Completely removes video Clean view, less clutter
Blur Blurs video with 20px blur Privacy while browsing
Dim Reduces opacity to 20% Subtle indication
Options
Auto-apply filter
✅ Automatically filters new videos as they load
❌ Only filters when you click "Apply Filter"
Remember settings
✅ Saves your preferences for next visit
❌ Resets to defaults each session
📋 Use Cases
Case 1: Hide Short Videos
Want to skip those 30-second clips?
Setup:
Minimum Duration: 60 (1 minute)
Maximum Duration: 0 (any)
Mode: Hide
Result: Only videos 1 minute or longer shown
Case 2: Hide Long Videos
Only want to see quick clips?
Setup:
Minimum Duration: 0 (any)
Maximum Duration: 300 (5 minutes)
Mode: Hide
Result: Only videos 5 minutes or shorter shown
Case 3: Medium-Length Videos Only
Want videos between 2-10 minutes?
Setup:
Minimum Duration: 120 (2 minutes)
Maximum Duration: 600 (10 minutes)
Mode: Blur
Result: Videos 2-10 minutes shown normally, others blurred
Case 4: Hide Very Short Clips (31 seconds)
Based on your example 0:31:
Setup:
Minimum Duration: 60 (1 minute)
Maximum Duration: 0 (any)
Mode: Hide
Result: All videos under 1 minute hidden, including 31-second clips
🔧 Advanced Usage
Custom Durations
Exact seconds:
Minimum: 180 (3 minutes)
Maximum: 900 (15 minutes)
Quick reference:
30 seconds = 30
1 minute = 60
5 minutes = 300
10 minutes = 600
15 minutes = 900
30 minutes = 1800
1 hour = 3600
Keyboard Shortcuts
None currently - use the 🎬 button
Resetting Filters
Click the Reset button to:
Clear all filters
Restore default settings
Show all videos
🎨 UI Overview
┌─────────────────────────────────────┐
│ 🎬 Video Length Filter [×] │
├─────────────────────────────────────┤
│ Minimum Duration: [60] seconds │
│ [Any] [1m+] [5m+] [10m+] │
│ │
│ Maximum Duration: [300] seconds │
│ [Any] [≤1m] [≤5m] [≤10m] │
│ │
│ Filter Mode: │
│ [Hide] [Blur] [Dim] │
│ │
│ ☐ Auto-apply filter │
│ ☑ Remember settings │
│ │
│ [Apply Filter] [Reset] │
│ │
│ Filtered: 12 videos │
└─────────────────────────────────────┘
📊 Statistics
The panel shows real-time statistics:
Filtered: Number of videos currently hidden/blurred/dimmed
Updates automatically as you browse
Changes when you adjust filters
⚙️ Technical Details
Duration Detection
The script looks for video duration in:
.ipp class (the one you mentioned)
Elements with "duration" or "time" in class name
Time elements (