aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
-rw-r--r--data/weasel-ua-pref.js.in6
2 files changed, 11 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 3c21e8cbe..f6f9fb124 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,6 +11,11 @@ default_prefs_in_FILES = \
default_prefs_files = \
default-prefs-common.js
+
+if HAVE_XULRUNNER
+default_prefs_files += weasel-ua-pref.js
+endif
+
default-prefs.js: $(default_prefs_files)
cat $^ > $@
diff --git a/data/weasel-ua-pref.js.in b/data/weasel-ua-pref.js.in
new file mode 100644
index 000000000..475d52cd8
--- /dev/null
+++ b/data/weasel-ua-pref.js.in
@@ -0,0 +1,6 @@
+// Add "Firefox/@WEASEL_UA_VERSION@" to the UA. This fixes
+// [https://bugzilla.mozilla.org/show_bug.cgi?id=334967]
+// Same as Camino [https://bugzilla.mozilla.org/show_bug.cgi?id=384721] and
+// IceApe [https://bugzilla.mozilla.org/show_bug.cgi?id=386113] do.
+// Also see discussion on [https://bugzilla.mozilla.org/show_bug.cgi?id=385999].
+pref("general.useragent.extra.firefox", "Firefox/@WEASEL_UA_VERSION@");
emoval&id=d496917908d2e4b9546847cc1a629771650e5ae1'>Update to 1.50.demon2007-12-122-4/+4 * Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.linimon2007-09-081-8/+2 * Update to 1.48.demon2007-05-032-3/+4 * Update to 1.45.demon2006-11-012-4/+3 * Update to 1.43.demon2006-06-012-11/+9 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-3/+3 * Update to version 1.38.demon2005-12-302-4/+4 * Update to 1.36.demon2005-12-042-4/+4 * Update to 1.35.demon2005-12-012-4/+6 * Update to version 1.33.demon2005-10-102-3/+3 * search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-221-1/+1 * Update to version 1.32.demon2005-09-052-5/+4 * Update to version 1.31.demon2005-08-29