Summary by TwinMind · 15m 36s

Summary by TwinMind · 15m 36s

Will Manifest V3 Kill Chrome?

Will Manifest V3 Kill Chrome?

Theo - t3․gg

Theo - t3․gg

Chrome Extension Manifest V2 vs V3 Overview

  • Manifest = configuration standard for browser extensions (Chrome + Firefox)
  • V2 too flexible with "absurdly wide permissions" causing security issues
  • V3 goals: patch security vulnerabilities, improve performance, reduce spyware spread
  • Announcement made in 2020, long development timeline

Key Manifest V3 Changes

  • Code Hosting: No remote code hosting allowed - all code must be in extension package
    • Makes dynamic updates harder (requires approval process)
    • Easier auditing for safety
  • Code Obfuscation: Prohibited obfuscation (70% of malicious extensions were obfuscated)
    • Minification still allowed, obfuscation banned
  • Background Processing: Service workers replace background pages
    • Eliminates separate HTML pages running for each extension
    • Reduces resource usage significantly
    • Uses mini JS threads instead of full isolates
  • API Changes: Fundamental restructuring of network analysis APIs
    • Focus on declarative net request API

Declarative Net Request API Impact

  • Old V2 Method: Extensions processed every browser request via JavaScript
    • Performance hit: JS analysis on every single request
    • Security risk: extensions see all browser activity
    • Real-time decision making per request
  • New V3 Method: Declarative filtering via JSON configuration
    • Pre-defined rule sets included in extension
    • No JavaScript execution during filtering
    • Native browser-level blocking
    • Much more performant and safer

uBlock Origin Light Analysis

  • Technical Approach: Entirely declarative, no permanent process needed
  • Rule Limitations:
    • Originally 30K rule limit per extension
    • Increased to 300K rules
    • uBlock Origin Light uses ~17K rules in complete mode
  • Lost Features:
    • No right-click "remove element" functionality
    • No per-site scripting changes
    • No dynamic/URL filtering with conditional states
    • Everything must be pre-declared in rule sets

Chrome vs Firefox Browser Differences

  • Launch Filtering:
    • Firefox waits for uBlock to be ready before sending requests
    • Chrome sends requests before extensions ready (race condition)
    • V3 actually fixes this for Chrome - proper filtering at launch
  • Prefetching: Blocked in Firefox, not in Chrome
  • WASM Support: Chrome restricts WebAssembly due to security concerns
    • Could enable remote code execution
    • Firefox version uses WASM, Chrome version doesn't

Author's Controversial Take on Chrome's Motivations

  • Not Bad Faith: Doesn't believe Chrome targeting ad blockers specifically
  • Ad Blocker Usage: Very low percentage of total web users
    • Especially low on mobile (majority of web traffic)
    • Mobile = primary revenue source
  • Chrome Team Goals: Advance web platform capabilities, not serve more ads
  • Google's Strategy: Focus on web as primary platform vs desktop apps
    • Chrome loses money, goal is web platform advancement
    • Success measured by web usage, not ad percentage
  • Security Focus: Addressing Chrome extension virus/malware reputation
    • Common issue with infected Chromebooks
    • V3 reduces bad user experiences

Browser Support Timeline

  • Chrome: V2 deprecation begins early next year, complete removal June 2025
  • Firefox: No plans to deprecate V2, will continue supporting indefinitely
  • Arc: Will maintain V2 as long as available in Chromium (expected until June 2025)
  • Brave: Offering workaround by hosting deprecated extensions directly

Remaining Challenges with V3

  • YouTube Ad Blocking: Significant problems expected, unclear solutions
  • Anti-Adblock Detection: News sites detecting ad blockers more easily
    • No JavaScript workarounds available
    • Direct URL blocking only
  • Multiple Ad Blockers: Performance warning against using multiple extensions
    • Causes website breaks, YouTube issues
    • Stick to single solution (uBlock Origin recommended)

Installation Notes

  • uBlock Origin Light requires explicit installation (no automatic update)
  • Works as "install and forget" content blocker for most users
  • Gorhill (uBlock author) satisfied with V3 compliance goals achieved despite limitations