summaryrefslogtreecommitdiff
path: root/libre/icecat/disable-spoofSource-referer.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-05 07:38:02 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-05 07:38:02 -0300
commit70677114ce3ca4a367aaa3e16cccecb75f5cb729 (patch)
treeafcf550f421c8be4d6867a5e685db2ccfd92cd1c /libre/icecat/disable-spoofSource-referer.patch
parent4d5afcf911136c0fd9b98fecd98deb7d60ef9534 (diff)
icecat: disable spoofSource referer since it breaks referer function used by some sites - Bug #1073 -> https://labs.parabola.nu/issues/1073
Diffstat (limited to 'libre/icecat/disable-spoofSource-referer.patch')
-rw-r--r--libre/icecat/disable-spoofSource-referer.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/icecat/disable-spoofSource-referer.patch b/libre/icecat/disable-spoofSource-referer.patch
new file mode 100644
index 000000000..d239b02f1
--- /dev/null
+++ b/libre/icecat/disable-spoofSource-referer.patch
@@ -0,0 +1,26 @@
+diff --git a/browser/app/profile/icecat.js b/browser/app/profile/icecat.js
+index 6b81444..42dd5ed 100644
+--- a/browser/app/profile/icecat.js
++++ b/browser/app/profile/icecat.js
+@@ -2011,7 +2011,7 @@ pref("datareporting.policy.dataSubmissionEnabled", false);
+ pref("datareporting.healthreport.service.enabled", false);
+ pref("browser.slowStartup.notificationDisabled", true);
+ pref("network.http.sendRefererHeader", 2);
+-pref("network.http.referer.spoofSource", true);
++//pref("network.http.referer.spoofSource", true);
+ //http://grack.com/blog/2010/01/06/3rd-party-cookies-dom-storage-and-privacy/
+ //pref("dom.storage.enabled", false);
+ pref("dom.event.clipboardevents.enabled",false);
+diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js
+index cfdeb22..f5845d4 100644
+--- a/mobile/android/app/mobile.js
++++ b/mobile/android/app/mobile.js
+@@ -973,7 +973,7 @@ pref("datareporting.policy.dataSubmissionEnabled", false);
+ pref("datareporting.healthreport.service.enabled", false);
+ pref("browser.slowStartup.notificationDisabled", true);
+ pref("network.http.sendRefererHeader", 2);
+-pref("network.http.referer.spoofSource", true);
++//pref("network.http.referer.spoofSource", true);
+ //http://grack.com/blog/2010/01/06/3rd-party-cookies-dom-storage-and-privacy/
+ //pref("dom.storage.enabled", false);
+ pref("dom.event.clipboardevents.enabled",false);