diff --git a/public/unsupported.html b/public/unsupported.html new file mode 100644 index 000000000..d83f11248 --- /dev/null +++ b/public/unsupported.html @@ -0,0 +1,18 @@ + + + + Unsupported browser + + + + + + +
+
+ +

Your browser is not supported. Please, update it or use our native clients

+
+
+ + diff --git a/public/unsupported.png b/public/unsupported.png new file mode 100644 index 000000000..945bc1788 Binary files /dev/null and b/public/unsupported.png differ diff --git a/src/index.html b/src/index.html index db01b4536..e415ec351 100644 --- a/src/index.html +++ b/src/index.html @@ -4,11 +4,15 @@ - <%= htmlWebpackPlugin.options.appTitle %> + + <%= htmlWebpackPlugin.options.appTitle %> + - - + + @@ -23,14 +27,16 @@ - + - + @@ -62,5 +68,31 @@

Please, enable JavaScript to open the app.

+ + diff --git a/src/index.tsx b/src/index.tsx index 2b4cfe751..eaa2af939 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -36,6 +36,8 @@ async function init() { console.log('>>> INIT'); } + if (!(window as any).isCompatTestPassed) return; + if (IS_MULTITAB_SUPPORTED) { subscribeToMultitabBroadcastChannel();