From 3cbdefced5708f5ff9050d10f28d3458d71f5ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Vasconcellos?= Date: Thu, 6 Jul 2023 02:10:57 -0300 Subject: [PATCH] Fix Brave `Aggressively block fingerprinting` mode (#1078) Attempt fix Brave `Aggressively block fingerprinting` mode --- apps/landing/src/utils/util.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/landing/src/utils/util.ts b/apps/landing/src/utils/util.ts index 8813c840c..d259d686e 100644 --- a/apps/landing/src/utils/util.ts +++ b/apps/landing/src/utils/util.ts @@ -34,6 +34,7 @@ export function detectWebGLContext() { (ctx) => ctx != null && (ctx instanceof WebGLRenderingContext || - (WebGL2RenderingContext != null && ctx instanceof WebGL2RenderingContext)) + (WebGL2RenderingContext != null && ctx instanceof WebGL2RenderingContext)) && + ctx.getParameter(ctx.VERSION) != null ); }