From c941d855dc32ec44107cb863596fa385c7aed015 Mon Sep 17 00:00:00 2001 From: vlakoff Date: Tue, 6 Aug 2013 14:44:40 +0200 Subject: Various typos and tabs adjustments --- application/config/user_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 88ab06358..0c8605820 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -182,7 +182,7 @@ $mobiles = array( 'operamini' => 'Opera Mini', 'opera mini' => 'Opera Mini', 'opera mobi' => 'Opera Mobile', - 'fennec' => 'Firefox Mobile', + 'fennec' => 'Firefox Mobile', // Other 'digital paths' => 'Digital Paths', -- cgit v1.2.3-24-g4f1b From 335fed9c5c70b94264db7daf02edb7cf08cceba0 Mon Sep 17 00:00:00 2001 From: msegers Date: Wed, 14 Aug 2013 10:46:25 +0200 Subject: Detect Windows Phones Added 1 line to the platforms 'windows phone' => 'Windows Phone', This will return the OS of the "new" generation of windows phones instead of "Unknown windows Os" --- application/config/user_agents.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 0c8605820..bb135164f 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -50,6 +50,7 @@ $platforms = array( 'win98' => 'Windows 98', 'windows 95' => 'Windows 95', 'win95' => 'Windows 95', + 'windows phone' => 'Windows Phone', 'windows' => 'Unknown Windows OS', 'android' => 'Android', 'blackberry' => 'BlackBerry', @@ -221,4 +222,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ \ No newline at end of file +/* Location: ./application/config/user_agents.php */ -- cgit v1.2.3-24-g4f1b From 49890a95da8438910b6f6b8da43ec5e5cd10f53c Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 19 Aug 2013 19:56:18 +0300 Subject: Kill the damn kitten --- application/config/user_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index bb135164f..5887a15be 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -222,4 +222,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ +/* Location: ./application/config/user_agents.php */ \ No newline at end of file -- cgit v1.2.3-24-g4f1b From 024105034909b189ad995ca01aadcefc510ce144 Mon Sep 17 00:00:00 2001 From: Jcchemin Date: Tue, 8 Oct 2013 18:18:54 +0200 Subject: Update user_agents.php Add detection for Opera 16 --- application/config/user_agents.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 5887a15be..9177f3e61 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -81,6 +81,7 @@ $platforms = array( // The order of this array should NOT be changed. Many browsers return // multiple browser types so we want to identify the sub-type first. $browsers = array( + 'OPR' => 'Opera', 'Flock' => 'Flock', 'Chrome' => 'Chrome', 'Opera' => 'Opera', @@ -222,4 +223,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ \ No newline at end of file +/* Location: ./application/config/user_agents.php */ -- cgit v1.2.3-24-g4f1b From 9f417d070916e82309a762639cc344445601156b Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 14 Oct 2013 12:24:36 +0300 Subject: Fix #2682 --- application/config/user_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 9177f3e61..899e96a94 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -223,4 +223,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ +/* Location: ./application/config/user_agents.php */ \ No newline at end of file -- cgit v1.2.3-24-g4f1b From fdd1461d98d2b28af282ea676e85a656341f02f3 Mon Sep 17 00:00:00 2001 From: vkeranov Date: Fri, 8 Nov 2013 09:19:29 +0200 Subject: Update user_agents.php Added Ubuntu Web Browser. More info here: http://www.omgubuntu.co.uk/2013/11/ubuntu-touch-browser-finally-given-unique-user-agent-string --- application/config/user_agents.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 899e96a94..0686bf972 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -104,7 +104,8 @@ $browsers = array( 'hotjava' => 'HotJava', 'amaya' => 'Amaya', 'IBrowse' => 'IBrowse', - 'Maxthon' => 'Maxthon' + 'Maxthon' => 'Maxthon', + 'Ubuntu' => 'Ubuntu Web Browser' ); $mobiles = array( @@ -223,4 +224,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ \ No newline at end of file +/* Location: ./application/config/user_agents.php */ -- cgit v1.2.3-24-g4f1b From c761a206def7714d18623d46b05adc2bbeedce21 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 11 Nov 2013 14:02:15 +0200 Subject: Polish changes from PR #2712 --- application/config/user_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 0686bf972..0953deafd 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -224,4 +224,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ +/* Location: ./application/config/user_agents.php */ \ No newline at end of file -- cgit v1.2.3-24-g4f1b From 303c7b28c81fef11cc825e215b146f17318d4c04 Mon Sep 17 00:00:00 2001 From: Andre Gardiner Date: Thu, 5 Dec 2013 22:00:32 -0500 Subject: Update user_agents.php Added Win 8.1 user agent to the array --- application/config/user_agents.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 0953deafd..3dbf987e0 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -36,6 +36,7 @@ */ $platforms = array( + 'windows nt 6.3' => 'Windows 8.1', 'windows nt 6.2' => 'Windows 8', 'windows nt 6.1' => 'Windows 7', 'windows nt 6.0' => 'Windows Vista', @@ -224,4 +225,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ \ No newline at end of file +/* Location: ./application/config/user_agents.php */ -- cgit v1.2.3-24-g4f1b From a6eae87d14efe3169156a12ad3706852ff70e2c4 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Fri, 3 Jan 2014 18:25:20 +0200 Subject: [ci skip] Some spaces & docblock fixes --- application/config/user_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 3dbf987e0..e555d77c6 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -225,4 +225,4 @@ $robots = array( ); /* End of file user_agents.php */ -/* Location: ./application/config/user_agents.php */ +/* Location: ./application/config/user_agents.php */ \ No newline at end of file -- cgit v1.2.3-24-g4f1b From 10925d27adac84634cc527d7298b1add0d54ba7c Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 9 Jan 2014 00:16:46 +0200 Subject: Remove preg_quote() call from CI_User_agent::_set_browser() and add another pattern for Opera Input comes from a configuration file that is barely touched by anyone and the default values only contain letters, so it is safe to not quote them. This enables us to add a more advanced pattern in config/user_agents.php for Opera 10+, which ... quote: Opera/9.80 is hard coded at the beginning of the user agent string because of broken browser sniffing scripts which detect 'Opera/10' and above as Opera 1. (reference: http://my.opera.com/community/openweb/idopera/) Instead, latests versions of Opera append ' Version/' to the end of the user agent string. Fixes issue #555 (incorrect browser detection for Opera) --- application/config/user_agents.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index e555d77c6..2af70bf9c 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -85,6 +85,8 @@ $browsers = array( 'OPR' => 'Opera', 'Flock' => 'Flock', 'Chrome' => 'Chrome', + // Opera 10+ always reports Opera/9.80 and appends Version/ to the user agent string + 'Opera.*?Version' => 'Opera', 'Opera' => 'Opera', 'MSIE' => 'Internet Explorer', 'Internet Explorer' => 'Internet Explorer', -- cgit v1.2.3-24-g4f1b From 0c234d06d24294b57c3c25474e6486a22324e59c Mon Sep 17 00:00:00 2001 From: Dionysis Arvanitis Date: Sat, 11 Jan 2014 17:41:23 +0200 Subject: IE11 User Agent support added --- application/config/user_agents.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index 2af70bf9c..a5d132904 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -90,6 +90,7 @@ $browsers = array( 'Opera' => 'Opera', 'MSIE' => 'Internet Explorer', 'Internet Explorer' => 'Internet Explorer', + 'rv' => 'Internet Explorer', 'Shiira' => 'Shiira', 'Firefox' => 'Firefox', 'Chimera' => 'Chimera', -- cgit v1.2.3-24-g4f1b From 2cdd50e98373327c72f6a38ba1016abafe496018 Mon Sep 17 00:00:00 2001 From: Dionysis Arvanitis Date: Wed, 15 Jan 2014 16:24:15 +0200 Subject: Trident prefix added to avoid potential false positives. --- application/config/user_agents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/user_agents.php') diff --git a/application/config/user_agents.php b/application/config/user_agents.php index a5d132904..819e42b69 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.php @@ -90,7 +90,7 @@ $browsers = array( 'Opera' => 'Opera', 'MSIE' => 'Internet Explorer', 'Internet Explorer' => 'Internet Explorer', - 'rv' => 'Internet Explorer', + 'Trident.* rv' => 'Internet Explorer', 'Shiira' => 'Shiira', 'Firefox' => 'Firefox', 'Chimera' => 'Chimera', -- cgit v1.2.3-24-g4f1b