From ac60e47f7d1e9b103fa6777dc42f4acedfd73950 Mon Sep 17 00:00:00 2001 From: sc Date: Fri, 11 Feb 2022 10:20:30 +0800 Subject: [PATCH] =?UTF-8?q?FIX=20Firefox=E9=AB=98=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E7=89=88=E6=9C=AC=E8=BF=87=E4=BD=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.html b/public/index.html index 1acd0e55..a57de338 100644 --- a/public/index.html +++ b/public/index.html @@ -70,6 +70,7 @@ browerInfo.version = document.documentMode + '' }else if(userAgent.indexOf("Firefox") > -1){ browerInfo.type = "Firefox" + browerInfo.version = userAgent.match(/Firefox\/([\d.]+)/)[1] }else if(userAgent.indexOf("Opera") > -1){ browerInfo.type = "Opera" browerInfo.version = userAgent.match(/Opera\/([\d.]+)/)[1]