Skip to content

Releases: enowdev/cloak-cdp

v0.3.0 — Resource blocking (proxy bandwidth saving)

Choose a tag to compare

@enowdev enowdev released this 25 Jul 15:05

Block whole resource categories (images/CSS/fonts/media/...) to cut proxy bandwidth — often 90%+ on heavy pages. Uses the same CDP Fetch interceptor as anti-redirect.

let (browser, handler) = launch(LaunchOptions {
    block_resources: vec!["image".into(), "css".into(), "font".into(), "media".into()],
    ..Default::default()
}).await?;

Verified live: blocking img/css/font/media cut a Wikipedia page from 416KB to 0.3KB.

v0.2.0 — Anti-redirect / URL blocking

Choose a tag to compare

@enowdev enowdev released this 23 Jul 19:07

Adds anti-redirect / URL blocking — a feature not present in upstream CloakBrowser.

Cancel navigations/requests to URL glob patterns via CDP request interception. Prevents a page from auto-redirecting you to another site.

let (mut browser, mut handler) = launch(LaunchOptions {
    block_urls: vec!["*://ads.example.com/*".into(), "*doubleclick*".into()],
    ..Default::default()
}).await?;
let page = browser.new_page("about:blank").await?;
let _guard = block_navigations(&page, ["*://ads.example.com/*"]).await?;

Verified live: a JS redirect to a blocked URL never reaches the target. 88 tests pass.

v0.1.0 — Initial release

Choose a tag to compare

@enowdev enowdev released this 23 Jul 17:04

Unofficial Rust port of CloakBrowser by CloakHQ — stealth Chromium automation over CDP (chromiumoxide).

Not affiliated with CloakHQ. All credit for the stealth technology and the patched Chromium binary belongs to them. The downloaded binary is under CloakHQ's separate license.

Verified working (macOS arm64)

  • Launch + CDP + navigator.webdriver === false
  • Passes Cloudflare Turnstile (headed)
  • Download + Ed25519 signature verification + extract
  • GeoIP timezone/locale/exit-IP (MaxMind)
  • CDP multiplexer (serve feature)
  • Humanize layer (bézier mouse + typing) over CDP

83 unit tests pass, 0 warnings.