On firefox : userAgentData is not available so we need to move with userAgent logic only
On chrome / edge / opera / Brave : its
Dia :
refactor: handle browser detection using userAgentData for Chromium and fallback for others; Use navigator.userAgentData.brands for Chromium-based browsers
Fallback to navigator.userAgent for non-Chromium (e.g., Safari, Firefox)