Skip to content

v1.0.4 - Chrome 153 Support, Native Vector Decoder & MV2 Rule v6

Choose a tag to compare

@onlytrisdev onlytrisdev released this 09 Sep 16:17
· 1 commit to main since this release

Summary

Version 1.0.4 introduces full compatibility with Google Chrome 153 (specifically validated on Chrome 153.0.8010.37+), implements an adaptive dual binary decoder for std::vector<GURL> layouts across Chromium toolchains, ports the MV2 Rule v6 engine with updated function preambles and startup disable branch detection, and adds an automated multi-site real-world smoke verification suite.

Highlights & Improvements

  • Adaptive std::vector Binary Decoder:

    • Chrome 153 compiler toolchain optimizations altered the internal memory layout of std::vector<GURL> within network::ResourceRequest from the traditional pointer pair ({begin*, end*, cap*}) to a contiguous layout with explicit count ({begin*, count, cap}).
    • native/src/network_hook.rs now auto-detects and decodes both layout representations dynamically:
      • Validates element pointer ranges and size boundaries.
      • Prevents vector length miscalculation, out-of-bounds reads, and potential access violations during network interception on Chrome 153+.
  • MV2 Gate Locator Rule v6:

    • Added Rule v6 pattern recognition for Chrome 153 targeting resource string ID 8085.
    • Updated byte search preambles (48 89 5c 24 10 48 89 6c 24 18 48 89 74 24 20 57 48 83 ec 30 and 48 89 5c 24 08 48 89 74 24 10 57 48 83 ec 30 48 8b f1 48 8b da).
    • Added support for new mov eax, 0 startup disable branch patterns (8b 05 ?? ?? ?? ?? 85 c0 74 ?? 48 8b ?? ... 31 c0).
    • Added pre-scanned hook rules for Chrome 153.0.8010.37 in native/hook_rules/chrome-153.0.8010.37.json.
  • Comprehensive Multi-Site Real-World Smoke Suite:

    • Added web-smoke command to ChromeNativeAdblock.Launcher (RealWebSmoke.cs).
    • Executes end-to-end automated testing with live CDP connection and screenshots across diverse real-world targets:
      • YouTube: Multiple video tests verifying 0 pre-roll/mid-roll ads, flawless playback progression past 3.0s, and no anti-adblock enforcement modal.
      • News Portals (VnExpress & Dân Trí): Validates full collapse of banner ad containers and 100% visibility of core news content.
      • AdBlock Tester: Validates network-level interception of Google AdSense, Yandex, Cloudflare beacon, Bugsnag, Sentry, and third-party trackers.

Verification

  • Rust Engine: 17/17 tests passed (cargo test --workspace).
  • .NET Engine: 36/36 tests passed (dotnet test .\ChromeNativeAdblock.slnx).
  • Live Chrome 153 Verification (153.0.8010.37):
    • Intercepted and blocked 74 ad and tracking network requests at the kernel hook level.
    • YouTube (Rick Astley - Never Gonna Give You Up): Played to 3.3s, 0 ads, 0 errors.
    • YouTube (PSY - Gangnam Style): Played to 3.3s, 0 ads, 0 errors.
    • VnExpress: 7/7 banner slots collapsed, full article feed intact.
    • Dân Trí: 100% commercial banners eliminated, clean layout.
    • AdBlock Tester: Verified blocking of AdSense, analytics, and tracking scripts.