From d106cdb77a801ac5d4d13e13652feac9cd825af9 Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Tue, 10 Apr 2018 20:46:04 -0700 Subject: [PATCH] revert UA fx60 change, add as new agent, add IE11 --- browser/components/preferences/in-content/tenfourfox.js | 4 +++- browser/components/preferences/in-content/tenfourfox.xul | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/browser/components/preferences/in-content/tenfourfox.js b/browser/components/preferences/in-content/tenfourfox.js index b0e46bc9f..c1e1f8d6b 100644 --- a/browser/components/preferences/in-content/tenfourfox.js +++ b/browser/components/preferences/in-content/tenfourfox.js @@ -38,9 +38,11 @@ var gTenFourFoxPane = { // Find and set the appropriate UA string based on the UA template. validUA : { - "fx" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0", + "fx" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Firefox/52.0", + "fx60" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0", "classilla" : "NokiaN90-1/3.0545.5.1 Series60/2.8 Profile/MIDP-2.0 Configuration/CLDC-1.1 (en-US; rv:9.3.3) Clecko/20141026 Classilla/CFM", "ie8" : "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)", + "ie11" : "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko", "android" : "Mozilla/5.0 (Linux; Android 8.1.0; Pixel XL Build/OPM1.171019.021) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.109 Mobile Safari/537.36", "ipad" : "Mozilla/5.0 (iPhone; CPU iPhone OS 11_2_6 like Mac OS X) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0 Mobile/15D100 Safari/604.1" }, diff --git a/browser/components/preferences/in-content/tenfourfox.xul b/browser/components/preferences/in-content/tenfourfox.xul index 49cd79e94..ff4cfb966 100644 --- a/browser/components/preferences/in-content/tenfourfox.xul +++ b/browser/components/preferences/in-content/tenfourfox.xul @@ -63,9 +63,11 @@ preference="tenfourfox.ua.template"> - + + +