Epiphany version returned.
Basing the Epiphany version of UserAgant name - for want of a better
way of determining this at this stage.
modified: core/main/client/browser.js
This commit is contained in:
@@ -2317,6 +2317,18 @@ beef.browser = {
|
||||
}
|
||||
; // Microsoft Edge
|
||||
|
||||
if (this.isEpi()) {
|
||||
// beleive the UserAgent string - until whenever
|
||||
var epiphanyRe = /Epiphany\/(\d+)/;
|
||||
var versionDetails = epiphanyRe.exec( beef.browser.getBrowserReportedName());
|
||||
if (versionDetails.length > 1) {
|
||||
return versionDetails[1];
|
||||
} else {
|
||||
return "UNKNOWN";
|
||||
}
|
||||
}
|
||||
; // Epihany
|
||||
|
||||
if (this.isS4()) {
|
||||
return '4'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user