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;