From 25e19003125673213cbfa15a3adb04b7c6371c4d Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Fri, 1 Sep 2017 16:41:20 -0400 Subject: Added new config entries to the about:home page --- .../chrome/content/aboutIceCat/aboutIceCat.xhtml | 27 ++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'data/extensions/abouticecat@gnu.org/chrome/content/aboutIceCat/aboutIceCat.xhtml') diff --git a/data/extensions/abouticecat@gnu.org/chrome/content/aboutIceCat/aboutIceCat.xhtml b/data/extensions/abouticecat@gnu.org/chrome/content/aboutIceCat/aboutIceCat.xhtml index d042500..3680313 100644 --- a/data/extensions/abouticecat@gnu.org/chrome/content/aboutIceCat/aboutIceCat.xhtml +++ b/data/extensions/abouticecat@gnu.org/chrome/content/aboutIceCat/aboutIceCat.xhtml @@ -46,7 +46,7 @@ body{ align-self: auto; } #topSection { - margin-top:10vh; + margin-top:5vh; order:1; } #block-horizontal-margin{ @@ -290,6 +290,30 @@ Services.prefs.setIntPref("extensions.icecathome.browser.display.use_document_fo f.appendChild(document.createElement("br")); document.getElementById("addonsform").appendChild(f); + var tmp = document.createElement("input"); + tmp.setAttribute('type',"checkbox"); + tmp.setAttribute('id', "network.http.referer.spoofSource"); + tmp.setAttribute('value', 0); + tmp.setAttribute('onclick','jssettings(this);'); + value=Services.prefs.getBoolPref("network.http.referer.spoofSource"); + tmp.checked=(value==1); + var label = document.createElement("label"); + label.htmlFor = "network.http.referer.spoofSource" ; + label.id = "network.http.referer.spoofSourcelabel"; + label.appendChild(document.createTextNode("Spoof Referers")); + f.appendChild(tmp); + f.appendChild(label); + f.appendChild(document.createElement("br")); + document.getElementById("addonsform").appendChild(f); + + var tmp = document.createElement('a'); + var linkText = document.createTextNode("Advanced Configuration"); + tmp.appendChild(linkText); + tmp.title = "Advanced Configuration"; + tmp.href = "about:config"; + f.appendChild(document.createElement("br")); + document.getElementById("addonsform").appendChild(tmp); + for (var i=0; i
-

Enabled privacy features:

The GNU IceCat web browser protects your freedom and your privacy!

-- cgit v1.2.3