Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

We don't support IE

Chocobozzz6c733e46174c
diff --git a/client/src/index.html b/client/src/index.html
index e5d1569aae..1136ecdaf6 100644
--- a/client/src/index.html
+++ b/client/src/index.html
@@ -49,12 +49,20 @@
</div>
<script type="text/javascript">
- window.onerror = function () {
+ function displayIncompatibleBrowser () {
var elem = document.getElementById('incompatible-browser')
if (elem.className.indexOf('browser-ok') === -1) {
elem.style.display = 'block'
}
}
+
+ window.onerror = function () {
+ displayIncompatibleBrowser()
+ }
+
+ if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
+ displayIncompatibleBrowser()
+ }
</script>
<my-app>