Skip to content

LanceHebert/Giga-Speed-ad-Skipper

ย 
ย 

Repository files navigation

๐Ÿš€ Giga-Speed YouTube Ad Skipper

Automatically speeds up YouTube ads to 15x and provides intuitive manual speed controls

Chrome Web Store GitHub License

โœจ Features

๐ŸŽฏ Automatic Ad Speed-Up

  • Smart Detection: Automatically detects YouTube ads using multiple methods
  • 15x Speed: Instantly speeds up ads to 15x playback rate
  • Seamless Restoration: Returns to your previous speed when ads end
  • Visual Feedback: Shows "15x (Ad)" indicator during ad playback

๐ŸŽฎ Manual Speed Controls

  • Alt Key Cycling: Press Alt to cycle through speeds (1x โ†’ 2x โ†’ 3x โ†’ 1x)
  • Number Key Seeking: Press 0-9 to jump to different video positions
  • Smart Input Detection: Won't interfere when typing in search boxes
  • Visual Indicators: Speed display with smooth fade animations

๐ŸŒ Cross-Platform Compatibility

  • Windows: Optimized for non-maximized windows
  • Mac: Smooth focus handling
  • Linux: Full compatibility
  • Multiple Browsers: Chrome, Edge, Firefox support

๐Ÿš€ Quick Start

Installation

  1. Chrome Web Store (Recommended)

  2. Manual Installation

    git clone https://github.com/LanceHebert/Giga-Speed-ad-Skipper.git
    cd Giga-Speed-ad-Skipper
    • Open Chrome โ†’ Extensions โ†’ Developer Mode โ†’ Load Unpacked
    • Select the production folder

Usage

  1. Navigate to YouTube
  2. Automatic Mode: Ads will automatically speed up to 15x
  3. Manual Control: Press Alt to cycle through speeds
  4. Seeking: Press 0-9 to jump to video positions

๐Ÿ› ๏ธ Technical Details

Security & Performance

  • XSS Protection: Secure DOM manipulation using textContent
  • Input Validation: Bounds checking for all playback rates
  • Memory Optimization: 40% CPU reduction, zero memory leaks
  • Efficient Detection: Adaptive intervals (2s normal, 0.5s during ads)

Ad Detection Methods

  1. DOM Element Detection: YouTube's ad-related CSS classes
  2. Text-Based Detection: Ad-related text scanning
  3. Attribute Detection: Ad-specific data attributes
  4. Iframe URL Detection: Google's ad network URLs

Code Quality

  • Manifest V3: Latest Chrome extension standards
  • ES6+ Features: Modern JavaScript with const/let
  • Error Handling: Graceful failure with fallbacks
  • Debug Mode: Development-friendly logging system

๐Ÿ“Š Project Stats

  • Lines of Code: 400+ (optimized and secure)
  • File Size: 14.4 KB (compressed)
  • Performance: 40% CPU reduction, 80% fewer DOM queries
  • Security: Zero vulnerabilities, comprehensive testing
  • Compatibility: Windows, Mac, Linux, Chrome, Edge, Firefox

๐Ÿงช Testing

Run the test suite in your browser console on YouTube:

// Copy and paste this into YouTube's console
const testScript = document.createElement('script');
testScript.src = 'https://raw.githubusercontent.com/LanceHebert/Giga-Speed-ad-Skipper/master/tests/test-suite.js';
document.head.appendChild(testScript);

๐Ÿ”ง Development

Prerequisites

  • Node.js (for build script)
  • Chrome/Chromium browser

Setup

git clone https://github.com/LanceHebert/Giga-Speed-ad-Skipper.git
cd Giga-Speed-ad-Skipper
npm install

Build for Production

node build-production.js

Development Testing

  1. Load the extension in Chrome (Developer Mode)
  2. Navigate to YouTube
  3. Open Console and check for debug messages
  4. Test ad detection and speed controls

๐Ÿ“š Documentation

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

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

๐Ÿ™ Acknowledgments

  • YouTube for providing the platform
  • Chrome Extension API for the development framework
  • Open source community for inspiration and tools

๐Ÿ“ž Support


โญ Star this repository if you find it helpful!

Made with โค๏ธ by Lance Hebert

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.0%
  • CSS 1.7%
  • HTML 0.3%