commit 6c214bac4239872bf288bd9bb672e8d56d160119 Author: Mike Perry mikeperry-git@fscked.org Date: Fri Apr 15 01:07:33 2011 -0700
Bug 2832: Update spoofed useragent.
This will make YouTube work for FF4 users if they opt-in to the HTML5 trial. We're not going to set the opt-in cookie for them just yet, on the assumption that there's a good chance the trial mode will become automatic soon. --- src/defaults/preferences/preferences.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/defaults/preferences/preferences.js b/src/defaults/preferences/preferences.js index f12e849..58c8abe 100644 --- a/src/defaults/preferences/preferences.js +++ b/src/defaults/preferences/preferences.js @@ -200,13 +200,13 @@ pref("extensions.torbutton.fix_google_srch", true);
// User agent prefs: pref("extensions.torbutton.appname_override","Netscape"); -pref("extensions.torbutton.appversion_override","5.0 (Windows; LANG)"); +pref("extensions.torbutton.appversion_override","5.0 (Windows)"); pref("extensions.torbutton.platform_override","Win32"); pref("extensions.torbutton.oscpu_override", "Windows NT 6.1");
-pref("extensions.torbutton.useragent_override", "Mozilla/5.0 (Windows; U; Windows NT 6.1; LANG; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"); +pref("extensions.torbutton.useragent_override", "Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0");
-pref("extensions.torbutton.productsub_override","20100401"); +pref("extensions.torbutton.productsub_override","20100101"); pref("extensions.torbutton.buildID_override","0"); pref("extensions.torbutton.useragent_vendor", ""); pref("extensions.torbutton.useragent_vendorSub","");