A few fixes for workbench in the way it displays the ARVADOS_API_HOST
[arvados.git] / apps / workbench / public / browser_unsupported.js
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 (function() {
6     var ok = false;
7     try {
8         if (window.Blob &&
9             window.File &&
10             window.FileReader &&
11             window.localStorage &&
12             window.WebSocket) {
13             ok = true;
14         }
15     } catch(err) {}
16     if (!ok) {
17         document.getElementById('browser-unsupported').className='';
18     }
19 })();