Terminal button: give unsupported warning when Edge/MSIE is used

This commit is contained in:
bergware
2020-01-08 08:32:37 +01:00
parent f2871d1039
commit 61908b40ca
+4
View File
@@ -18,6 +18,10 @@ Code="e93f"
?>
<script>
function TerminalButton() {
if (/MSIE|Edge/.test(navigator.userAgent)) {
swal({title:'Unsupported Feature',text:'Sorry, this feature is not supported by MSIE/Edge.<br>Please try a different browser',html:true,type:'error'});
return;
}
var d = new Date();
var height = 600;
var width = 900;