Fix #444 - Identify unknown Firefox-based browser as "Firefox" rather than "Mozilla"

This commit is contained in:
Faisal Salman
2020-09-17 23:27:09 +07:00
parent e96f95802d
commit 1a75bc845f
2 changed files with 11 additions and 0 deletions

View File

@@ -386,6 +386,7 @@
/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,
// Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix
/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i, // Other Firefox-based
/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, // Mozilla
// Other