Index: templates/chromeInfo.js.tmpl |
=================================================================== |
--- a/templates/chromeInfo.js.tmpl |
+++ b/templates/chromeInfo.js.tmpl |
@@ -16,23 +16,16 @@ |
{ |
Sebastian Noack
2017/06/07 13:26:12
The "platform" variable defined above isn't necess
Jon Sonesen
2017/06/07 13:56:07
Acknowledged.
|
let app = match[1]; |
let ver = match[2]; |
if (app == "Chrome") |
{ |
platformVersion = ver; |
} |
- else if (app == "Edge") |
- { |
- platform = "edgehtml"; |
- platformVersion = ver; |
- application = "edge"; |
- applicationVersion = "0"; |
- } |
else if (app != "Mozilla" && app != "AppleWebKit" && app != "Safari") |
{ |
// For compatibility with legacy websites, Chrome's UA |
// also includes a Mozilla, AppleWebKit and Safari token. |
// Any further name/version pair indicates a fork. |
application = app == "OPR" ? "opera" : app.toLowerCase(); |
applicationVersion = ver; |
} |