Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Commit

Permalink
Built WhichBrowserLegacy from commit (unavailable) on WhichBrowser/Wh…
Browse files Browse the repository at this point in the history
…ichBrowser on branch (unavailable)
  • Loading branch information
NielsLeenheer committed Dec 8, 2015
1 parent 2ba304e commit 41df512
Show file tree
Hide file tree
Showing 35 changed files with 853 additions and 546 deletions.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
RewriteEngine on
RewriteRule ^detect.js$ detect.php
RewriteRule ^detect.js$ detect.php
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "whichbrowser/whichbrowser",
"name": "whichbrowser/legacy",
"description": "Project containing the legacy version of WhichBrowser",

"replace": {
"whichbrowser/whichbrowser": "^1.0|^2.0"
}

"keywords": ["useragent","browser"],
"homepage": "http://whichbrowser.net",
"license": "MIT",
Expand Down
21 changes: 21 additions & 0 deletions data/browsers-bots.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@
[ 'name' => 'Butterfly', 'regexp' => '/Butterfly\/([0-9.]*)/u' ],
[ 'name' => 'CiteSeerX', 'regexp' => '/heritrix\/([0-9.]*)/u' ],
[ 'name' => 'Cliqzbot', 'regexp' => '/Cliqzbot\/([0-9.]*)/u' ],
[ 'name' => 'CloudFare Always Online', 'regexp' => '/CloudFlare-AlwaysOnline\/([0-9.]*)/u' ],
[ 'name' => 'CommaFeed', 'regexp' => '/CommaFeed\/([0-9.]*)/u' ],
[ 'name' => 'CommonCrawl', 'regexp' => '/CCBot\/([0-9.]*)/u' ],
[ 'name' => 'Data Hotel Watchdog', 'regexp' => '/Data-Hotel-Watchdog\/([0-9.]*)/u' ],
[ 'name' => 'Exabot Thumbnails', 'regexp' => '/Exabot-Thumbnails/u' ],
[ 'name' => 'ExactSeek', 'regexp' => '/ExactSeek Crawler/u' ],
[ 'name' => 'Ezooms Crawler', 'regexp' => '/Ezooms\/([0-9.]*)/u' ],
[ 'name' => 'Facebook', 'regexp' => '/facebookplatform\/([0-9.]*)/u' ],
Expand All @@ -59,12 +61,16 @@
[ 'name' => 'Feedly', 'regexp' => '/MetaFeedly\/([0-9.]*)/u' ],
[ 'name' => 'Feedspot', 'regexp' => '/Feedspot/u' ],
[ 'name' => 'FeedValidator', 'regexp' => '/FeedValidator\/([0-9.]*)/u' ],
[ 'name' => 'FeedZirra', 'regexp' => '/feedzirra/u' ],
[ 'name' => 'Fever', 'regexp' => '/Fever\/([0-9.]*)/u' ],
[ 'name' => 'Flamingo Search', 'regexp' => '/Flamingo_SearchEngine/u' ],
[ 'name' => 'FTRF: Friendly Robot', 'regexp' => '/FTRF: Friendly robot\/([0-9.]*)/u' ],
[ 'name' => 'Genieo Web Filter', 'regexp' => '/Genieo\/([0-9.]*)/u' ],
[ 'name' => 'GNIP', 'regexp' => '/UnwindFetchor\/([0-9.]*)/u' ],
[ 'name' => 'Gocrawl', 'regexp' => '/Googlebot \(gocrawl v([0-9.]*)\)/u' ],
[ 'name' => 'Goo', 'regexp' => '/ichiro\/mobile goo/u' ],
[ 'name' => 'Goo Blog Search', 'regexp' => '/gooblogsearch\/([0-9.]*)/u' ],
[ 'name' => 'Goo RSS Reader', 'regexp' => '/gooRSSreader([0-9.]*)/u' ],
[ 'name' => 'Googlebot', 'regexp' => '/Google[Bb]ot\/([0-9.]*)/u' ],
[ 'name' => 'Googlebot Mobile', 'regexp' => '/Googlebot-Mobile\/([0-9.]*)/u' ],
[ 'name' => 'Googlebot Image', 'regexp' => '/Googlebot-Image\/([0-9.]*)/u' ],
Expand All @@ -83,6 +89,9 @@
[ 'name' => 'Google Wireless Transcoder', 'regexp' => '/Google Wireless Transcoder/u' ],
[ 'name' => 'Google Play Newsstand', 'regexp' => '/GoogleProducer/u' ],
[ 'name' => 'Grub', 'regexp' => '/grub-client-([0-9.]*)/u' ],
[ 'name' => 'Hatena Antenna', 'regexp' => '/Hatena Antenna\/([0-9.]*)/u' ],
[ 'name' => 'Hatena Diary', 'regexp' => '/Hatena Diary RSS Module/u' ],
[ 'name' => 'Hatena Pagetitle', 'regexp' => '/Hatena Pagetitle Agent\/([0-9.]*)/u' ],
[ 'name' => 'HeartRails Capture', 'regexp' => '/HeartRails_Capture\/([0-9.]*)/u' ],
[ 'name' => 'HTTPMon', 'regexp' => '/HTTPMon\/([0-9.]*)/u' ],
[ 'name' => 'HubPages', 'regexp' => '/HubPages V([0-9.]*)/u' ],
Expand All @@ -95,6 +104,7 @@
[ 'name' => 'Livedoor', 'regexp' => '/livedoor/u' ],
[ 'name' => 'Magpie RSS', 'regexp' => '/MagpieRSS\/([0-9.]*)/u' ],
[ 'name' => 'Mapian News Bot', 'regexp' => '/mapion-news-bot\/([0-9.]*)/u' ],
[ 'name' => 'Mixi', 'regexp' => '/mixi-check\/([0-9.]*)/u' ],
[ 'name' => 'Monitor.us', 'regexp' => '/monitor.us/u' ],
[ 'name' => 'Naver Yeti', 'regexp' => '/Yeti\/([0-9.]*)/u' ],
[ 'name' => 'Netcraft Survey Bot', 'regexp' => '/Netcraft Web Server Survey/u' ],
Expand All @@ -106,22 +116,32 @@
[ 'name' => 'NewsGator', 'regexp' => '/NewsGatorOnline\/([0-9.]*)/u' ],
[ 'name' => 'OpenWebSpider', 'regexp' => '/OpenWebSpider v([0-9.]*)/u' ],
[ 'name' => 'OrangeBot', 'regexp' => '/OrangeBot-Collector\/([0-9.]*)/u' ],
[ 'name' => 'Picsearch bot', 'regexp' => '/psbot-page/u' ],
[ 'name' => 'Pingdom', 'regexp' => '/Pingdom.com_bot_version_([0-9.]*)/u' ],
[ 'name' => 'Pinterest', 'regexp' => '/Pinterest\/([0-9.]*)/u' ],
[ 'name' => 'PostRank', 'regexp' => '/PostRank\/([0-9.]*)/u' ],
[ 'name' => 'PowerMapper', 'regexp' => '/CrawlerProcess \(http:\/\/www\.PowerMapper\.com\) \/([0-9.]*)/u' ],
[ 'name' => 'Radian 6', 'regexp' => '/R6_FeedFetcher/u' ],
[ 'name' => 'Radian 6', 'regexp' => '/R6_CommentReader/u' ],
[ 'name' => 'RssBar', 'regexp' => '/RssBar\/([0-9.]*)/u' ],
[ 'name' => 'QuerySeekerSpider', 'regexp' => '/QuerySeekerSpider\/([0-9.]*)/u' ],
[ 'name' => 'Scrapy', 'regexp' => '/Scrapy\/([0-9.]*)/u' ],
[ 'name' => 'ScreenerBot', 'regexp' => '/ScreenerBot Crawler Beta ([0-9.]*)/u' ],
[ 'name' => 'ShopWiki', 'regexp' => '/ShopWiki\/([0-9.]*)/u' ],
[ 'name' => 'SilverReader', 'regexp' => '/SilverReader\/([0-9.]*)/u' ],
[ 'name' => 'SimplePie', 'regexp' => '/SimplePie\/([0-9.]*)/u' ],
[ 'name' => 'Sogou Web Spider', 'regexp' => '/sogou spider/u' ],
[ 'name' => 'Sogou Web Spider', 'regexp' => '/Sogou pic spider\/([0-9.]*)/u' ],
[ 'name' => 'Sogou Web Spider', 'regexp' => '/Sogou inst spider\/([0-9.]*)/u' ],
[ 'name' => 'Sogou Web Spider', 'regexp' => '/Sogou web spider\/([0-9.]*)/u' ],
[ 'name' => 'Soso Web Spider', 'regexp' => '/Sosospider\/([0-9.]*)/u' ],
[ 'name' => 'Soso Web Spider', 'regexp' => '/Sosospider/u' ],
[ 'name' => 'Spinn3r', 'regexp' => '/Spinn3r ([0-9.]*)/iu' ],
[ 'name' => 'Summify', 'regexp' => '/Summify\/([0-9.]*)/u' ],
[ 'name' => 'Twisted PageGetter', 'regexp' => '/Twisted PageGetter/u' ],
[ 'name' => 'Twitterbot', 'regexp' => '/Twitterbot\/([0-9.]*)/u' ],
[ 'name' => 'Tiny Tiny RSS', 'regexp' => '/Tiny Tiny RSS\/([0-9.]*)/u' ],
[ 'name' => 'Typhoeus', 'regexp' => '/Typhoeus/u' ],
[ 'name' => 'Voilabot', 'regexp' => '/Voila[Bb]ot/u' ],
[ 'name' => 'VocusBot', 'regexp' => '/VocusBot ([0-9.]*)/u' ],
[ 'name' => 'W3C CSS Validator', 'regexp' => '/Jigsaw\/([0-9.]*)/u' ],
Expand All @@ -132,6 +152,7 @@
[ 'name' => 'W3C Markup Validator', 'regexp' => '/W3C_Validator\/([0-9.]*)/u' ],
[ 'name' => 'WebbCrawler', 'regexp' => '/WebbCrawler ([0-9.]*)/u' ],
[ 'name' => 'WordPress', 'regexp' => '/WordPress\/([0-9.]*)/u' ],
[ 'name' => 'WWW Mechanize', 'regexp' => '/WWW-Mechanize\/([0-9.]*)/u' ],
[ 'name' => 'YaCy Bot', 'regexp' => '/yacybot/u' ],
[ 'name' => 'Yandex Anti Virus', 'regexp' => '/YandexAntivirus\/([0-9.]*)/u' ],
[ 'name' => 'Yandex Blogs', 'regexp' => '/YandexBlogs\/([0-9.]*)/u' ],
Expand Down
2 changes: 2 additions & 0 deletions data/browsers-chrome.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
'44.0.2403' => 'stable',
'45.0.2454' => 'stable',
'46.0.2490' => 'stable',
'47.0.2526' => 'stable',
];

Chrome::$MOBILE = [
Expand All @@ -78,4 +79,5 @@
'44.0.2403' => 'stable',
'45.0.2454' => 'stable',
'46.0.2490' => 'stable',
'47.0.2526' => 'stable',
];
2 changes: 1 addition & 1 deletion data/build-android.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
'LMY47Z' => '5.1.1',
'LMY48B' => '5.1.1',

'MPZ44Q' => ['value' => '5.2', 'alias' => 'M'],
'MPZ44Q' => ['value' => '6.0', 'alias' => 'M'],
];

// Source: http://source.android.com/source/build-numbers.html
Loading

0 comments on commit 41df512

Please sign in to comment.