Deno Deploy • 2 min read

Deno Deploy Cloaking: TypeScript Edge Filtering Without a Backend

How to build a cloaking layer with Deno Deploy's V8 isolates — and how Cloaker.net gives Deno devs ad-grade bot intelligence out of the box.

Deno Deploy Cloaking: TypeScript Edge Filtering Without a Backend

Deno Deploy Cloaking

TypeScript edge filtering without a backend — and the intelligence layer you'll still need.

Cloaking in a V8 isolate

Deno Deploy runs TypeScript directly on V8 isolates at the edge — no containers, no cold starts, native Web APIs. For developers, it's one of the fastest ways to stand up a request-inspecting proxy: exactly what a cloaker is at its core.

A minimal DIY cloaker

Deno.serve(async (req) => {

  const ip = req.headers.get('x-forwarded-for');

  const ua = req.headers.get('user-agent') ?? '';

  const geo = (req.headers.get('x-geo') ?? '').split(',')[0];

  if (await isBot(ip, ua, geo))

    return Response.redirect(SAFE_URL, 302);

  return Response.redirect(MONEY_URL, 302);

});

Twenty lines and you have a link cloaker. What you don't have is isBot() — the function that actually matters. Filling it with static lists means it's outdated within weeks. Filling it with real-time lookups means building (and paying for) an intelligence pipeline that ad platforms force you to update forever.

Calling Cloaker.net from Deno

The pragmatic pattern: keep your Deno Deploy script as the thin execution layer, and let Cloaker.net be isBot() — a real-time classification API backed by:

  • ✔Continuously refreshed ad-platform bot databases (Google, Meta, TikTok, native networks).
  • ✔AI behavioral & fingerprint classification for headless browsers.
  • ✔Geo/ISP/rule engine and full visit logs you can pipe into your own tooling.

Deno developers love composable primitives — and that's exactly how the modern stack looks: your code for routing, Cloaker.net for knowing who's who. Skip the years of database maintenance and start from the layer that's already been battle-tested on billions of visits: cloaker.net.

TypeScript speed, advertiser intelligence

Edge filtering with Cloaker.net's API — build in hours, not years.

Start with Cloaker.net →

Written by Can Kaya

Specialist in cybersecurity and ad-tech. Building high-availability edge networks that protect marketers from bot traffic and fraud while maintaining blazing-fast performance.

Works seamlessly with your favorite ad networks, trackers, and traffic sources

Meta logo
Google Ads logo
Adsterra logo
PropellerAds logo
ExoClick logo
Microsoft Ads logo
TikTok logo
Snapchat logo
Bing Ads logo
Taboola logo
Outbrain logo
MGID logo
Clickadu logo
Google Play logo
Stripe logo

Ready to scale safely?

Join thousands of marketers who trust Cloaker to protect their campaigns and maximize ROI.