lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.10 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.11
- old
+ new
@@ -82,9 +82,11 @@
], [:name, :version, :major], [
/(dolfin)\/((\d+)?[\w\.]+)/i # Dolphin
], [[:name, 'Dolphin'], :version, :major], [
/((?:android.+)crmo|crios)\/((\d+)?[\w\.]+)/i # Chrome for Android/iOS
], [[:name, 'Chrome'], :version, :major, [:type, :chrome]], [
+ /(FxiOS)\/((\d+)?[\w\.]+)/i # Firefox for iOS
+ ], [[:name, 'Mobile Firefox'], :version, :major, [:type, :firefox]], [
/version\/((\d+)?[\w\.]+).+?mobile\/\w+\s(safari)/i # Mobile Safari
], [:version, :major, [:name, 'Mobile Safari'], [:type, :safari]], [
/Mozilla\/5.0 \((?:iPhone|iPad|iPod(?: Touch)?);(.*)AppleWebKit\/((\d+)?[\w\.]+).+?(mobile)\/\w?/i # ios webview
], [:version, :major, [:name, 'Mobile Safari'], [:type, :safari]], [
/version\/((\d+)?[\w\.]+).+?(mobile\s?safari|safari)/i # Safari & Safari Mobile