README.md in browser-2.4.0 vs README.md in browser-2.5.0
- old
+ new
@@ -23,11 +23,12 @@
# General info
browser.bot?
browser.chrome?
browser.core_media?
-browser.edge? # Newest MS browser
+browser.edge? # Newest MS browser
+browser.electron? # Electron Framework
browser.firefox?
browser.full_version
browser.ie?
browser.ie?(6) # detect specific IE version
browser.ie?([">8", "<10"]) # detect specific IE (IE9).
@@ -90,19 +91,20 @@
browser.platform.name
browser.platform.version # e.g. 9 (for iOS9)
browser.platform.adobe_air?
browser.platform.android?
browser.platform.android?(4.2) # detect Android Jelly Bean 4.2
+browser.platform.android_app? # detect webview in an Android app
+browser.platform.android_webview? # alias for android_app?
browser.platform.blackberry?
browser.platform.blackberry?(10) # detect specific BlackBerry version
browser.platform.chrome_os?
browser.platform.firefox_os?
browser.platform.ios? # detect iOS
browser.platform.ios?(9) # detect specific iOS version
-browser.platform.ios_app?
-browser.platform.ios_webview?
-browser.platform.ios_webview? # request performed by ios' app webview
+browser.platform.ios_app? # detect webview in an iOS app
+browser.platform.ios_webview? # alias for ios_app?
browser.platform.linux?
browser.platform.mac?
browser.platform.other?
browser.platform.windows10?
browser.platform.windows7?
@@ -205,10 +207,10 @@
language.name
#=> "English/United States"
```
-Result is always sorted in quality order from highest -> lowest. As per the HTTP spec:
+Result is always sorted in quality order from highest -> lowest. As per the HTTP spec:
- omitting the quality value implies 1.0.
- quality value equal to zero means that is not accepted by the client.
### Internet Explorer