Skip to content

YouTube Screenshot Helper Extension lets you capture clean, high-quality screenshots from YouTube and other video sites with one click. It automatically hides video controls for clutter-free images and lets you organize screenshots into folders and filenames based on channel, title, date, and more. Perfect for easy, organized video snapshots!

License

Notifications You must be signed in to change notification settings

PixelCode01/YouTube-Screenshot-Helper-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 YouTube Screenshot Helper

Version License: MIT Chrome Extension

Enhanced screenshot tool for YouTube and video sites - capture clean frames with a single keypress

✨ Features

🎯 Core Functionality

  • 🚀 One-Click Screenshots: Capture high-quality video frames instantly
  • 🎮 Smart Control Hiding: Automatically hide video controls for clean screenshots
  • ⌨️ Keyboard Shortcuts: Customizable hotkeys (Ctrl+Shift+S or Shift+Enter in fullscreen)
  • 🎨 Annotation Mode: Add annotations and highlights to your screenshots
  • 📱 Multi-Platform Support: Works on YouTube, Vimeo, Twitch, and custom video sites

🎛️ Advanced Settings

  • 🔧 Flexible Configuration: Fullscreen-only mode, auto-hide controls, custom shortcuts
  • 📁 Smart File Organization: Automatic folder structure with customizable patterns
  • 🏷️ Dynamic Filename Generation: Include video title, channel, timestamp, and date
  • ☁️ Cloud Integration: Upload directly to Google Drive (configurable)
  • 🌙 Theme Support: Auto, light, or dark mode
  • 📏 Quality Control: Adjustable screenshot quality and capture delay

🚀 Installation

Store Installation

Microsoft Edge Add-ons

Manual Installation (Developer Mode)

For Chrome

  1. Download: Clone or download this repository

    git clone https://github.com/PixelCode01/YouTube-Screenshot-Helper-Extension.git

    or you can directly download and extract this zip

  2. Enable Developer Mode:

    • Open Chrome → Settings → Extensions
    • Toggle "Developer mode" (top right)
  3. Load Extension:

    • Click "Load unpacked"
    • Select the chrome folder from the downloaded repository
    • The extension icon should appear in your toolbar

For Microsoft Edge

  1. Download: Use the same repository as above

  2. Enable Developer Mode:

    • Open Edge → Settings → Extensions (or go to edge://extensions/)
    • Toggle "Developer mode" (bottom left)
  3. Load Extension:

    • Click "Load unpacked"
    • Select the edge folder from the downloaded repository
    • The extension icon should appear in your toolbar

Note: The Chrome and Edge versions are in separate folders (chrome/ and edge/) with browser-specific optimizations.

Installation Video Tutorial

Installation.Video.Tutorial.mp4

🎮 Usage

Quick Start

  1. Navigate to any supported video site (YouTube, Vimeo, Twitch)
  2. Play your video
  3. Capture using:
    • Click the extension icon → "Capture Screenshot" OR
    • Press Ctrl+Shift+S (customizable) OR
    • Press Shift+Enter when in fullscreen mode

Video Demo

Video-Demo.mp4

AI Use

used AI to fix most of bugs I encountered also used it to add some feat like folder organisation, Google drive etc and all of the documentation are generated by AI also used kiro ai to port extension to microsoft edge

Advanced Usage

🎯 Popup Interface

  • Status Indicator: Shows if the extension is active on current site
  • Quick Actions: Instant screenshot capture and settings access
  • Page Info: Current site, video status, and fullscreen detection
  • Quick Settings: Toggle fullscreen-only, auto-hide, and annotation modes

⚙️ Settings Page

Access via the extension popup → Settings button

🎨 Screenshot Settings

  • Quality adjustment (0.1 - 1.0)
  • Capture delay for slow systems
  • Preview disable option

📁 File Organization

  • Custom download paths
  • Folder organization patterns:
    • {channel}/{date} - Group by channel and date
    • {site}/{title} - Group by site and video title
    • Custom patterns supported

🏷️ Filename Templates Build filenames with multiple components:

  • ✅ Site name (YouTube, Vimeo, etc.)
  • ✅ Video title
  • ✅ Channel/uploader name
  • ✅ Playlist name
  • ✅ Chapter information
  • ✅ Timestamp
  • ✅ Date and time
  • 🔧 Custom separators

☁️ Cloud Storage

  • Google Drive integration
  • Automatic uploads after capture
  • OAuth2 authentication

⌨️ Keyboard Shortcuts

  • Customizable main shortcut
  • Fullscreen-specific shortcuts
  • Site override prevention

🌐 Supported Sites

✅ Fully Supported

  • YouTube (youtube.com) - Full feature support
  • Vimeo (vimeo.com) - Complete compatibility
  • Twitch (twitch.tv) - Live streams and VODs

🔧 Custom Sites

Add any video site through the settings:

  1. Go to Settings → Site Management
  2. Add your domain (e.g., example.com)
  3. Configure custom video selectors if needed

Key Components

📸 Screenshot Manager

  • Canvas-based image capture
  • Video element detection with fallbacks
  • Control hiding automation
  • Quality optimization

⌨️ Key Handler

  • Event delegation and filtering
  • Fullscreen detection
  • Site-specific overrides
  • Modifier key combinations

💾 Storage Manager

  • Chrome sync storage integration
  • Default setting management
  • Real-time updates
  • Data validation

☁️ Cloud Storage

  • OAuth2 authentication flow
  • Google Drive API integration
  • Upload progress tracking
  • Error handling and retry logic

Permissions Required

  • activeTab - Access current tab for screenshots
  • storage - Save user preferences
  • downloads - Save screenshot files
  • identity - Cloud service authentication
  • scripting - Inject content scripts
  • notifications - Show capture confirmations

🔧 Configuration

Environment Setup

For cloud storage features, configure your API keys:

  1. Copy configuration template:

    // utils/cloudConfig.js
    window.CLOUD_CONFIG = {
      GOOGLE_DRIVE_CLIENT_ID: 'your-client-id-here',
      // ... other settings
    };
  2. Google Drive Setup:

    • Create project in Google Cloud Console
    • Enable Drive API
    • Create OAuth2 credentials
    • Add your extension ID to authorized origins

Custom Site Integration

For advanced users adding custom video sites:

// Add to enabledSites array in settings
enabledSites: [
  'youtube.com',
  'your-custom-site.com'
]

// Optional: Custom video selectors
videoSelectors: {
  'your-site.com': 'video.custom-player, .video-container video'
}

📊 Browser Compatibility

Browser Version Status
Chrome 88+ ✅ Fully Supported
Edge 88+ ✅ Fully Supported
Firefox - ❌ Not Supported (Manifest V3)
Safari - ❌ Not Supported

Microsoft Edge Support

The YouTube Screenshot Helper extension is fully compatible with Microsoft Edge 88+ and provides the same functionality as the Chrome version. The extension has been specifically tested and optimized for Edge to ensure a seamless user experience.

Edge-Specific Features

  • Enhanced Error Handling: Edge version includes additional error handling for browser-specific issues
  • Improved Path Normalization: Better handling of download paths with Edge-specific fallbacks
  • Optimized Browser Detection: Automatic detection and adaptation for Edge-specific behaviors
  • Consistent UI Experience: All UI components have been tested and optimized for Edge

Edge Installation Notes

  • Use the same installation process as Chrome (Developer Mode)
  • All keyboard shortcuts work identically in Edge
  • Settings and preferences are stored locally and sync across Edge instances
  • Cloud storage integration works the same as in Chrome

🐛 Troubleshooting

Common Issues

"No video found" Error

  • Cause: Video player hasn't loaded or uses unsupported format
  • Solution:
    • Wait for video to fully load
    • Try refreshing the page
    • Add the site to custom sites in settings

Screenshots Are Black/Blank

  • Cause: Hardware acceleration or DRM protection
  • Solution:
    • Disable hardware acceleration in Chrome/Edge
    • Try on a different video
    • Use fullscreen mode

Keyboard Shortcut Not Working

  • Cause: Conflicts with site shortcuts or browser shortcuts
  • Solution:
    • Enable "Override site shortcuts" in settings
    • Choose a different key combination
    • Use the popup button instead

Microsoft Edge Specific Issues

Download Path Issues in Edge

  • Cause: Edge has stricter rules for download paths than Chrome
  • Solution:
    • The extension automatically uses simplified filenames as fallback
    • Avoid complex folder structures in filename templates
    • Use forward slashes (/) in custom path templates

Folder Organization Limitation in Edge

  • Important: The advanced folder organization feature (creating custom folder structures) does not work on Microsoft Edge due to browser limitations
  • Affected Features:
    • Custom download paths with folder patterns like {channel}/{date}
    • Automatic folder creation based on video metadata
  • Workaround:
    • Files will be saved to the default download folder with descriptive filenames
    • All other features work normally in Edge

Edge Notification Differences

  • Cause: Edge may display notifications slightly differently than Chrome
  • Solution:
    • Notifications use standardized formats for consistency
    • All notification functionality works the same
    • No action required from users

Content Script Injection Timing

  • Cause: Edge may inject content scripts at different times than Chrome
  • Solution:
    • The extension includes additional timing checks
    • If screenshots don't work immediately, wait a moment and try again
    • Refresh the page if issues persist

Edge Extension Permissions

  • Cause: Edge may handle extension permissions differently
  • Solution:
    • Ensure all permissions are granted during installation
    • Check Edge's extension settings if features don't work
    • The extension includes the same permissions as the Chrome version

Debug Mode

Enable debug mode in settings to see detailed console logs:

  1. Open Settings → Advanced
  2. Enable "Debug Mode"
  3. Open browser console (F12)
  4. Look for "YouTube Screenshot Helper" logs

🤝 Contributing

Development Setup

  1. Fork the repository
  2. Clone your fork
  3. Load extension in developer mode
  4. Make your changes
  5. Test thoroughly
  6. Submit pull request

Code Style

  • Use modern JavaScript (ES6+)
  • Follow existing naming conventions
  • Add comments for complex logic
  • Update documentation

Adding New Features

  1. Create issue describing the feature
  2. Discuss implementation approach
  3. Implement with proper error handling
  4. Add tests and documentation
  5. Submit PR with detailed description

📝 Changelog

v1.1.0 (Current)

  • ✨ Enhanced annotation mode functionality
  • 🎓 Specialized support for educational platforms
  • ☁️ Cloud storage integration with Google Drive
  • 🌙 Dark mode and theme system
  • 📁 Advanced file organization options
  • 🔧 Improved settings interface
  • 🐛 Bug fixes and performance improvements

v1.0.0

  • 🎉 Initial release
  • 📸 Basic screenshot functionality
  • ⌨️ Keyboard shortcut support
  • 🎯 YouTube, Vimeo, Twitch support

##Screenshots Screenshot from 2025-06-22 20-26-14 Screenshot from 2025-06-22 20-26-31 Screenshot from 2025-06-22 20-26-40 Screenshot from 2025-06-22 20-26-49 Screenshot from 2025-06-22 20-26-55 Screenshot from 2025-06-22 20-27-01 Screenshot from 2025-06-22 20-27-07 Screenshot from 2025-06-22 20-27-07-1 Screenshot from 2025-06-22 20-27-11 Screenshot from 2025-06-22 20-27-27 Screenshot from 2025-06-22 20-27-31 Screenshot from 2025-06-22 20-27-36 Screenshot from 2025-06-22 20-34-40 Screenshot from 2025-06-22 20-34-51 Screenshot from 2025-06-22 20-35-16 Screenshot from 2025-06-22 20-35-52 Screenshot from 2025-06-22 20-35-53 Screenshot from 2025-06-22 20-36-35 Screenshot from 2025-06-22 20-36-41 Screenshot from 2025-06-22 20-36-46 Screenshot from 2025-06-22 20-36-49 Screenshot from 2025-06-22 20-36-56

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙋‍♂️ Support

Getting Help

Contact


⭐ If you find this extension helpful, please consider giving it a star! ⭐

Made with ❤️ for the developer and student community

About

YouTube Screenshot Helper Extension lets you capture clean, high-quality screenshots from YouTube and other video sites with one click. It automatically hides video controls for clutter-free images and lets you organize screenshots into folders and filenames based on channel, title, date, and more. Perfect for easy, organized video snapshots!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published