lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.11 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.12
- old
+ new
@@ -83,10 +83,10 @@
/(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]], [
+ ], [[:name, 'Mobile Firefox'], :version, :major, [:type, :firefoxios]], [
/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