TUESDAY, JUNE 30, 2026 48° E  /  GLOBAL TECH · SUMMARISED SUBSCRIBE
AI, business, devices, policy — global tech, summarised every 30 minutes.
Dev Tools · 2h ago

How to Detect Which AI Chat Platform a User Is On

By Meridian48 News Desk · Summarised from DEV Community ·

A developer shares code for identifying ChatGPT, Claude, Gemini, and Copilot via URL hostname and DOM patterns. The method uses a hostname map for fast detection and falls back to structural DOM signatures for embedded or custom-domain interfaces. This enables extensions to adapt behavior per platform without relying on fragile class names.

Meridian48 take
Practical guide for extension builders, but DOM patterns may still break with redesigns—URL matching is the only truly stable approach.
Read the full reporting
Detecting Which AI Chat Platform You're On: URL and DOM Patterns for ChatGPT, Claude, Gemini, and Copilot →
DEV Community
ai-chat-platformsbrowser-extensions
More dev tools briefs
Go deeper on dev tools
AllAIStartupsBusinessDevicesPolicySecurityDev ToolsPakistan