determineBrowser function in bbb_blinker.js detects Puffin mobile browser.

This commit is contained in:
Ghazi Triki 2015-08-18 22:57:34 +01:00
parent 2e7238ae74
commit f0ed185c71

View File

@ -73,6 +73,11 @@ function determineBrowser()
browserName = "Microsoft Internet Explorer";
fullVersion = nAgt.substring(verOffset+5);
}
// In Puffin, the true version is after "Puffin" in userAgent
else if ((verOffset=nAgt.indexOf("Puffin"))!=-1) {
browserName = "Puffin";
fullVersion = nAgt.substring(verOffset+7);
}
// In Chrome, the true version is after "Chrome"
else if ((verOffset=nAgt.indexOf("Chrome"))!=-1) {
browserName = "Chrome";