diff --git a/services/web/frontend/js/features/project-list/components/notifications/writefull-promo-banner.tsx b/services/web/frontend/js/features/project-list/components/notifications/writefull-promo-banner.tsx index 6f1eb8cfee..079e643905 100644 --- a/services/web/frontend/js/features/project-list/components/notifications/writefull-promo-banner.tsx +++ b/services/web/frontend/js/features/project-list/components/notifications/writefull-promo-banner.tsx @@ -12,6 +12,11 @@ const eventSegmentation = { name: 'writefull', } +const isChromium = () => + (window.navigator as any).userAgentData?.brands?.some( + (item: { brand: string }) => item.brand === 'Chromium' + ) + function WritefullPromoBanner() { const [show, setShow] = useState(() => { const show = @@ -39,6 +44,10 @@ function WritefullPromoBanner() { return null } + if (!isChromium()) { + return null + } + return (