Bug 809517 - Port |Bug 792054 - Use the legacy User Agent string (containing Gecko/20100101) for some possibly-broken online banking sites|. r+a=IanN
authorJens Hatlak <jh@junetz.de>
Wed, 07 Nov 2012 22:46:57 +0100
changeset 13545 de4387b45ac23e3554a5755a49444329b9d544c7
parent 13544 556615e5c8e72bdc21ec506578c5ec36c3a82396
child 13546 daa3c95e02135484ebd0235c65f736155baad9ee
push id1
push userraliiev@mozilla.com
push dateFri, 09 Nov 2012 14:20:17 +0000
bugs809517, 792054, 20100101
Bug 809517 - Port |Bug 792054 - Use the legacy User Agent string (containing Gecko/20100101) for some possibly-broken online banking sites|. r+a=IanN
suite/browser/browser-prefs.js
--- a/suite/browser/browser-prefs.js
+++ b/suite/browser/browser-prefs.js
@@ -33,16 +33,28 @@ pref("general.autoScroll", true);
 pref("general.useragent.compatMode.firefox", true);
 
 // site-specific User Agent settings. Example:
 //   To send aol.com the legacy build date instead of the version number in
 //   the UA's Gecko token because mail.aol.com defaults to basic web UI when
 //   accessed with a user agent without Gecko/20100101.
 //   pref("general.useragent.override.aol.com", "Gecko/[^ ]*#Gecko/20100101");
 pref("general.useragent.complexOverride.moodle", true); // bug 797703
+pref("general.useragent.override.bank.barclays.co.uk",   "Gecko/[^ ]*#Gecko/20100101"); // bug 804169
+pref("general.useragent.override.bankmillennium.pl",     "Gecko/[^ ]*#Gecko/20100101"); // bug 804103
+pref("general.useragent.override.becu.org",              "Gecko/[^ ]*#Gecko/20100101"); // bug 804170
+pref("general.useragent.override.becuonlinebanking.org", "Gecko/[^ ]*#Gecko/20100101"); // bug 804170
+pref("general.useragent.override.bfsfcu.org",            "Gecko/[^ ]*#Gecko/20100101"); // bug 804171
+pref("general.useragent.override.cenfedcu.org",          "Gecko/[^ ]*#Gecko/20100101"); // bug 804172
+pref("general.useragent.override.coastal24.com",         "Gecko/[^ ]*#Gecko/20100101"); // bug 804175
+pref("general.useragent.override.mtb.com",               "Gecko/[^ ]*#Gecko/20100101"); // bug 795350
+pref("general.useragent.override.mandtbank.com",         "Gecko/[^ ]*#Gecko/20100101"); // bug 795350
+pref("general.useragent.override.natweststockbrokers.co.uk", "Gecko/[^ ]*#Gecko/20100101"); // bug 804179
+pref("general.useragent.override.natweststockbrokers.com", "Gecko/[^ ]*#Gecko/20100101"); // bug 804179
+pref("general.useragent.override.raiffeisen.hu",         "Gecko/[^ ]*#Gecko/20100101"); // bug 795348
 
 // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
 pref("browser.startup.page",                1);
 pref("browser.startup.homepage",	   "chrome://navigator-region/locale/region.properties");
 pref("browser.startup.homepage.count", 1);
 
 pref("browser.warnOnQuit", true);
 pref("browser.warnOnRestart", true);