summaryrefslogtreecommitdiff
path: root/libre/iceweasel
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-05-09 18:12:54 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-05-10 18:40:28 -0400
commit25e877f034ea0843c1e5f86783a123d0617b4b18 (patch)
tree293fde185d187f8ac64eaa2396c06beb933aec2b /libre/iceweasel
parent52ee911263970a68d70bcaf2a776e647217a9342 (diff)
downloadabslibre-25e877f034ea0843c1e5f86783a123d0617b4b18.tar.gz
abslibre-25e877f034ea0843c1e5f86783a123d0617b4b18.tar.bz2
abslibre-25e877f034ea0843c1e5f86783a123d0617b4b18.zip
[iceweasel]: use default user-agent
Diffstat (limited to 'libre/iceweasel')
-rw-r--r--libre/iceweasel/PKGBUILD5
-rw-r--r--libre/iceweasel/vendor.js.in21
2 files changed, 13 insertions, 13 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 05213ebd4..9f656f9ed 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -91,7 +91,7 @@ sha256sums+=('e0a0c7434a057dffdce49bb3e5f53fa190aef24f2666cdc50262170df8fec94f'
'219648efd053ffff3411dfd85935e1e9aabfcaf5bbbf65caad3d4f7300452859'
'39e3a5e1ad137e21f842a44d7e3bd24050292d2b41fe59b4e7c7dfed52a195dd'
'90e710662f06c619de8752b088ce56bf3779f24168387b1c18e733391bedd143'
- '8feda46c5f3eaf4cb8b75049a1d546d7cb364a0d84bad44d397d3de19025b198')
+ '4e4ef3f5643da6a23b05de9266c1b2c5310483638b23670944374e12aa446a35')
sha256sums_i686=('2f0c81a38c4578f68f5456b618fe84a78974072821488173eb55e0e72287e353'
'10c5276eab2e87f400a6ec15d7ffbef3b0407ee888dea36f1128927ca55b9041')
sha256sums_armv7h=('bc00516032330760444939c516a60c78f868631e1b37f075f0fe71a53737b966'
@@ -516,10 +516,9 @@ pref("browser.shell.checkDefaultBrowser", false);
// Don't disable extensions in the application directory
pref("extensions.autoDisableScopes", 11);
END
+
# Parabola additions to vendor.js
- local _shortver=$(cut -d. -f1,2 <<<"${pkgver}")
cat "${srcdir}"/vendor.js.in >> "${vendorjs}"
- sed -i "s|@_SHORTVER_@|$_shortver|g" "${vendorjs}"
local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
install -Dvm644 /dev/stdin "$distini" <<END
diff --git a/libre/iceweasel/vendor.js.in b/libre/iceweasel/vendor.js.in
index 3b3cb3686..54bf8cdee 100644
--- a/libre/iceweasel/vendor.js.in
+++ b/libre/iceweasel/vendor.js.in
@@ -49,17 +49,18 @@ pref("network.cookie.cookieBehavior", 1);
// Prevent EULA dialog to popup on first run
pref("browser.EULA.override", true);
-// Set useragent to Firefox compatible
-//pref("general.useragent.compatMode.firefox", true);
// Spoof the useragent to a generic one
-pref("general.useragent.compatMode.firefox", true);
-// Spoof the useragent to a generic one
-pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:@_SHORTVER_@) Gecko/20100101 Firefox/@_SHORTVER_@");
-pref("general.appname.override", "Netscape");
-pref("general.appversion.override", "@_SHORTVER_@");
-pref("general.buildID.override", "Gecko/20100101");
-pref("general.oscpu.override", "Windows NT 6.1");
-pref("general.platform.override", "Win32");
+// people tend to agree that this was a bad idea
+// these are the default values (same as arch):
+// pref("general.useragent.compatMode.firefox", false);
+// pref("general.useragent.override", "Mozilla/5.0 (X11; Linux @_ARCH_@; rv:@_SHORTVER_@) Gecko/20100101 Firefox/@_SHORTVER_@");
+// pref("general.appname.override", "Netscape"); // deprecated
+// pref("general.appCodeName.override", "Mozilla"); // deprecated
+// pref("general.appversion.override", "@_SHORTVER_@"); // deprecated
+// pref("general.buildID.override", "Gecko/20100101"); // deprecated
+// pref("general.oscpu.override", "Linux @_ARCH_@"); // deprecated
+// pref("general.platform.override", "Linux @_ARCH_@"); // deprecated
+// pref("general.product.override", "Gecko"); // deprecated
// Privacy & Freedom Issues
// https://webdevelopmentaid.wordpress.com/2013/10/21/customize-privacy-settings-in-mozilla-firefox-part-1-aboutconfig/