Web extension that detects the video, and allows you to apply the filter (blur/opacity) using a customizable keyboard shortcut.
- Video filters with customizable keyboard shortcut:
- Blur filter with adjustable intensity (1-100%)
- Opacity filter with adjustable level (1-100%)
- Auto-filter on video detection (optional)
- Support for multiple platforms:
- YouTube
- Netflix
- Amazon Prime Video
- Disney Plus
- Other platforms via iframe detection
- Global enable/disable switch
- Persistent settings across browser sessions
- Visit the FilterVideo Chrome Web Store page
- Read the description and reviews
- Click "Add to Chrome" if you're happy with the extension or just want to try it out
- Clone this repository
- Open Chrome and navigate to
chrome://extensions
- Enable "Developer mode"
- Click "Load unpacked" and select the
src
directory
- Visit the FilterVideo Firefox Add-ons page
- Read the description and reviews
- Click "Add to Firefox" if you're happy with the extension or just want to try it out
- Clone this repository
- mv firefox/manifest.json src/manifest.json
- Open Firefox and navigate to
about:debugging
- Click "This Firefox"
- Click "Load Temporary Add-on"
- Select the
src
directory
- Click the FilterVideo icon in your browser toolbar
- Use the toggle switch to enable/disable the extension
- Choose your preferred shortcut key
- Default: ',' (recommended as it's close to 'm' for mute)
- Adjust filter intensity using the slider
- Press the shortcut key while watching a video to toggle the filter
- Full functionality with keyboard shortcuts working everywhere
- Filter toggles work seamlessly
- Auto-filter option available
Important: Due to cross-origin security, there are some limitations:
- Keyboard shortcut only work when focus is outside the video frame
- To use effectively:
- Zoom the page if needed (two-finger gesture) but don't toggle full screen
- Click just outside the video frame to ensure the shortcut works
- Consider using a shortcut key near your device's mute button for easier control. For example, '-' is close to the mute button on Mac.
"Auto-Filter on Detection" in settings:
- Videos will automatically be filtered when detected
- Then you can toggle filter manually using the shortcut key
- Check if extension is enabled
- Try refreshing the page
- If platform uses iframe, try clicking outside the iframe, and then press the shortcut key.
- Refresh the page
- Disable and re-enable the extension
- Reload the extension from chrome://extensions
-
Install dependencies:
npm install
-
Run tests:
npm run test
-
Build for production:
npm run package
This will create a production build in the
dist
directory and a ZIP file ready for the Chrome Web Store.-> For Firefox, you need to 'mv firefox/manifest.json src/manifest.json' and then run the same command.
Contributions are welcome! Please feel free to submit a Pull Request.
The extension requires minimal permissions:
tabs
: For video detectionwebNavigation
: For URL change trackingstorage
: For saving preferencesalarms
: For consistent functionality
We do not:
- Collect any user data
- Make external network requests
- Process any video content
- email: [email protected]
- Issues: GitHub Issues
- Feedback: Feedback Form
- Source: GitHub Repository