Hacker News new | ask | show | jobs
by dylan604 70 days ago
What is a Chrome-based browser? Isn't Chrome Google's Chromium based browser? How many are based on Chrome?
2 comments

> This means every user visiting LinkedIn with Chrome, Edge, Brave, Opera, Arc, or any other Chromium-based browser is subject to the scan.
From "The Attack: How it works", its just checking the user agent string:

function a() { return "undefined" != typeof window && window && "node" !== window.appEnvironment; }

function s() { return window?.navigator?.userAgent?.indexOf("Chrome") > -1; }

if (!a() || !s()) return;