mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
Merge branch 'master' of https://github.com/psychopy/psychojs
This commit is contained in:
commit
092829f325
@ -162,6 +162,10 @@ export function detectBrowser()
|
||||
const isEdgeChromium = isChrome && (navigator.userAgent.indexOf("Edg") !== -1);
|
||||
if (isEdgeChromium) return 'EdgeChromium';
|
||||
|
||||
// Blink engine detection
|
||||
const isBlink = (isChrome || isOpera) && !!window.CSS;
|
||||
if (isBlink) return 'Blink';
|
||||
|
||||
return 'unknown';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user