Commit 2b07c53a authored by arpinux's avatar arpinux

update ffx cfg + include decentraleyes + restore startpage as search

parent dfc79570
......@@ -2,9 +2,6 @@
- refonte du welcome pour qu'il puisse être lu
- définir la langue fr/en pour ORCA selon l'installation
- vérifier le "test de connexion" avant de proposer les màj et autres
- Ajouter l'addon Decentraleyes pour firefox (à faire à la fin pour
avoir la dernière version) :
https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/
- intégrer florence comme clavier virtuel de bureau ?
- thunar-mediainfo dans les handylinux-thunar-actions https://handylinux.org/forum/viewtopic.php?id=1757 et installation de mediainfo-gui ?
- Enlever la bannière avec l'avatar de thuban (je croyais l'avoir fait,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
[Compatibility]
LastVersion=45.0_20160214105403/20160214105403
LastVersion=45.0_20160311151608/20160311151608
LastOSABI=Linux_x86_64-gcc3
LastPlatformDir=/usr/lib/iceweasel
LastAppDir=/usr/lib/iceweasel/browser
LastPlatformDir=/usr/lib/firefox
LastAppDir=/usr/lib/firefox/browser
InvalidateCaches=1
{"sessionId":"90fa9c1f-8e2f-42e8-9552-9fc65ed5959f","subsessionId":"c36e4714-64e0-473f-b076-c09cb147febf","profileSubsessionCounter":1}
\ No newline at end of file
{"sessionId":"a8f5f21d-357d-4024-b0fe-ff5b863b8f6e","subsessionId":"2df63bdc-4635-4585-956b-3ff99449260f","profileSubsessionCounter":22}
\ No newline at end of file
[ExtensionDirs]
Extension0=/home/humain/.mozilla/firefox/handylinux.default/extensions/tabscope@xuldev.org.xpi
Extension1=/home/humain/.mozilla/firefox/handylinux.default/extensions/https-everywhere-eff@eff.org
Extension0=/home/arp/.mozilla/firefox/handylinux.default/extensions/tabscope@xuldev.org.xpi
Extension1=/home/arp/.mozilla/firefox/handylinux.default/extensions/https-everywhere-eff@eff.org
[ThemeDirs]
Extension0=/usr/lib/iceweasel/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
Extension0=/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[MultiprocessIncompatibleExtensions]
Firefox 5.1.4 / Chrome 2016.2.23
* Fixes for Firefox Dev Edition
* Chrome: Fix regressions in custom rule functions
* Firefox: Fix custom ruleset regression
Firefox 5.1.3 / Chrome 2016.2.18
* Performance & memory usage improvements for Chrome
* Introduce temporary disable option on Chrome
* Bugfix: make custom rules disableable
* Improvements to tests
* Switch to using JSON to store rulesets
Firefox 5.1.2 / Chrome 2015.12.16
* Ruleset fixes
Firefox 5.1.1 / Chrome 2015.8.25
* Ruleset fixes
* Clean up some unused code that was causing review problems on AMO.
......@@ -87,11 +102,11 @@ Firefox 4.0.3 / Chrome-2015.01.22 (2015-01-22)
* Disable SSL 3 to Prevent POODLE attack:
https://github.com/EFForg/https-everywhere/pull/674
* NEW: HTTP Nowhere mode. Block all plaintext http
* Updates to Yahoo APIs, Fastly, VMWare, Netflix, Maashable, LinkedIn ,
* Updates to Yahoo APIs, Fastly, VMWare, Netflix, Mashable, LinkedIn ,
Gitorious, Mozilla, msecnd, Hotmail, Live, Eniro, Steam, Phoronix,
net-security.org, Flickr, Craigslist, Apache.org, Joomla.org, Samsung,
Google IMages, Expedia, Akamai, Trip Advisor, Ikea, CEll, Leo.org, Facebook,
F-Secure, Dropbox, Courage Campaign, Box, Atlassian, Internet Archvie,
F-Secure, Dropbox, Courage Campaign, Box, Atlassian, Internet Archive,
localbitcoins.com, SOny, SciVerse, Web.com, Urgan Dictionary, Pornhub,
Fool.com, ClickBank, MGID, Which?, Microsoft, Barnes and Noble, Royal
Institute of GB, Wall Street Journal
......@@ -224,7 +239,7 @@ chrome-2014.4.14
* Remove SSL Observatory observers when disabled
* Don't set LOAD_REPLACE flag:
https://github.com/EFForg/https-everywhere/pull/134
* Add script to merge rulesets in Alexa Top 1M, thanks to Claudio MOretti:
* Add script to merge rulesets in Alexa Top 1M, thanks to Claudio Moretti:
https://github.com/EFForg/https-everywhere/pull/149
* 8 new rules
* 59 modified rules
......@@ -474,7 +489,7 @@ chrome-2012.6.4
4.0development.8 (2013-06-04)
* Fix broken ruleset dialog in Firefox 22+
https://trac.torproject.org/projects/tor/ticket/8997
* The toolbar button chnages to indicate active rulesets:
* The toolbar button changes to indicate active rulesets:
https://trac.torproject.org/projects/tor/ticket/4886
* Ship 31 new rulesets
* New translations: Japanese and Sinhala
......@@ -1492,7 +1507,7 @@ chrome-2012.02.06{,.01}
* Support global installation for OS distributions (thanks dm0)
0.9.2:
* Fix a bug in our redirection loop detection that was causing touble with
* Fix a bug in our redirection loop detection that was causing trouble with
some parts of NYTimes, Facebook, and other sites
(closes: https://trac.torproject.org/projects/tor/ticket/2217)
......@@ -1530,7 +1545,7 @@ chrome-2012.02.06{,.01}
* Add scrollbars if there are a lot of rules present in the Preferences
dialog (may still be somewhat buggy...)
* Optimise GoogleServices.xml and support Google code search
* Patch for future compatiability with Request Policy:
* Patch for future compatibility with Request Policy:
https://trac.torproject.org/projects/tor/ticket/1574
* Support for the Firefox 4 API
* The Amazon rule was causing a lot of glitches; it is now off by default
......@@ -1564,7 +1579,7 @@ chrome-2012.02.06{,.01}
0.2.1:
* Although google said https://www.google.com would continue to work, that
wasn't absolutely true.
* The new encyrpted.google.com seems to require queries to be #q=thing
* The new encrypted.google.com seems to require queries to be #q=thing
rather than search?q=thing, at least some of the time. So let's do that.
0.2.0:
......
Signature-Version: 1.0
MD5-Digest-Manifest: vbpn/nBFmE05CaCJoguRPw==
SHA1-Digest-Manifest: BAveeiq1RF0sEUaGHlHtESNt/eM=
MD5-Digest-Manifest: 4lWslnWzesGr0+onqpxUeA==
SHA1-Digest-Manifest: /ApKUoj8yR+vLgARm3Js78AmV3M=
......@@ -48,6 +48,13 @@ locale https-everywhere tr chrome/locale/tr/
locale https-everywhere uk chrome/locale/uk/
locale https-everywhere zh-CN chrome/locale/zh-CN/
locale https-everywhere zh-TW chrome/locale/zh_TW/
locale https-everywhere ar-AA chrome/locale/ar_AA/
locale https-everywhere bal chrome/locale/bal/
locale https-everywhere brx chrome/locale/brx/
locale https-everywhere ceb chrome/locale/ceb/
locale https-everywhere co chrome/locale/co/
locale https-everywhere da-DK chrome/locale/da-DK/
skin https-everywhere classic/1.0 chrome/skin/
......
......@@ -33,28 +33,28 @@
style="color: blue; cursor:hand; text-decoration:underline; font-style:bold"
onmouseover="event.target.style.cursor='pointer'"
onmouseout="event.target.style.cursor='default'"
onclick="window_opener('https://www.eff.org/donate')"/>
onclick="window_opener('https://supporters.eff.org/donate/support-https-everywhere')"/>
</label>
<groupbox>
<caption label="&https-everywhere.about.version;" />
<label>5.1.1</label>
<label>5.1.4</label>
</groupbox>
<groupbox>
<caption label="&https-everywhere.about.created_by;" />
<label>Mike Perry, Peter Eckersley, and Yan Zhu</label>
<label>Mike Perry, Peter Eckersley&https-everywhere.about.and; Yan Zhu</label>
</groupbox>
<groupbox>
<caption label="&https-everywhere.about.librarians;" />
<label>Seth Schoen, MB and Andreas Jonsson</label>
<label>J0WI, MB, Nick Semenkovich, Sam Reed&https-everywhere.about.and; Søren Fuglede Jørgensen</label>
</groupbox>
<groupbox>
<caption label="&https-everywhere.about.thanks;" />
<label>Many many contributors, including Aaron Swartz, Alec Moskvin,
Aleksey Kosterin, Alex Xu, Anas Qtiesh, Artyom Gavrichenkov, Brian
<label>&https-everywhere.about.many_contributors; Aaron Swartz, Alec Moskvin,
Aleksey Kosterin, Alex Xu, Anas Qtiesh, Andreas Jonsson, Artyom Gavrichenkov, Brian
Carpenter, Chris Palmer, Christian Inci, Christopher Liu, Claudio
Moretti, Colonel Graff, Dan Auerbach, Daniel Kahn Gillmor, dm0, The
Doctor, Felix Geyer, Fruitless Creek, George Kargiotakis, haviah, Heiko
......@@ -62,11 +62,9 @@
katmagic, Kevin Jacobs, Korte, Liam K, Leonardo Brondani Schenkel, Marti Raudsepp, Micah Lee, Mike
Cardwell, Mangix, Matthias-Christian Ott, Mikko Harhanen, Mishari Muqbil, Neheb, Ori Avtalion, Osama Khalid,
nitrox, Pablo Castellano, Paul Wise, Pavel Kazakov, Phol Paucar, Richard
Green, Roan Kattouw, Rules Moore, Stefan Tomanek, Sam Reed, Steve
Green, Roan Kattouw, Rules Moore, Seth Schoen, Stefan Tomanek, Sam Reed, Steve
Milner, Sujit Rao, TK-999, Vendo, Victor Garin, Weiland Hoffmann, Whizz
Mo and Yan Zhu. Also, portions of HTTPS Everywhere are based on code
from NoScript, by Giorgio Maone and others. We are grateful for their
excellent work!</label>
Mo and Yan Zhu. &https-everywhere.about.noscript;</label>
</groupbox>
</vbox>
</dialog>
......@@ -28,7 +28,7 @@ ApplicableList.prototype = {
empty: function() {
// Empty everything, used when toggles occur in order to ensure that if
// the reload fails, the resulting list is not eroneous
// the reload fails, the resulting list is not erroneous
this.active = {};
this.breaking = {};
this.inactive = {};
......@@ -73,7 +73,11 @@ ApplicableList.prototype = {
populate_list: function() {
// The base URI of the dom tends to be loaded from some /other/
// ApplicableList, so pretend we're loading it from here.
HTTPSEverywhere.instance.https_rules.rewrittenURI(this, this.uri);
var uri = this.uri;
if (!(uri.schemeIs("http") || uri.schemeIs("https"))) {
return true;
}
HTTPSEverywhere.instance.https_rules.rewrittenURI(this, uri);
this.log(DBUG, "populating using alist #" + this.serial);
},
......@@ -115,7 +119,7 @@ ApplicableList.prototype = {
label.setAttribute('label', strings.getString('https-everywhere.menu.enableDisable'));
label.setAttribute('disabled', 'true');
label.setAttribute('class', 'menuitem-non-iconic');
label.setAttribute('style', 'color:#000000;');
label.setAttribute('style', 'font-weight: bold; color: -moz-MenuBarText;');
var label2 = false;
if (!any_rules) {
label2 = document.createElement('menuitem');
......@@ -213,9 +217,15 @@ ApplicableList.prototype = {
},
add_command: function(rule) {
// basic validation for data to be added to xul
var ruleId = String(rule.id);
if (!ruleId.match(/^[a-zA-Z_0-9]+$/)) {
return;
}
var command = this.document.getElementById("https-everywhere-menuitem-rule-toggle-template").cloneNode();
command.setAttribute('id', JSON.stringify(rule.id)+'-command');
command.setAttribute('data-id', JSON.stringify(rule.id));
command.setAttribute('id', ruleId+'-command');
command.setAttribute('data-id', ruleId);
command.setAttribute('label', rule.name);
this.commandset.appendChild(command);
},
......
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
function Cookie(s, host) {
this.parse(s, host);
}
Cookie.computeId = function(c) {
return c.name + ";" + c.host + "/" + c.path;
};
Cookie.find = function(f) {
var cc = Cookie.prototype.cookieManager.enumerator;
var c;
while (cc.hasMoreElements()) {
if (f(c = cc.getNext())) return c;
}
return null;
};
Cookie.attributes = { host: 'domain', path: 'path', expires: 'expires', isHttpOnly: 'HttpOnly', isSecure: 'Secure' };
Cookie.prototype = {
name: '',
value: '',
source: '',
domain: '',
host: '',
rawHost: '',
path: '',
secure: false,
httponly: false,
session: true,
expires: 0,
id: '',
toString: function() {
var c = [this['name'] + "=" + this.value];
var v;
const aa = Cookie.attributes;
for (var k in aa) {
var p = aa[k];
v = this[k];
switch(typeof(v)) {
case "string":
if (v) c.push(p + "=" + v);
break;
case "boolean":
if (v) c.push(p);
break;
case "number":
if (!this.isSession) c.push(p + "=" + new Date(v * 1000).toUTCString());
break;
}
}
return c.join("; ");
},
parse: function(s, host) {
var p;
if (this.source) {
// cleanup for recycle
for (p in this) {
if (typeof (p) != "function") delete this[p];
}
}
this.source = s;
this.host = host;
var parts = s.split(/;\s*/);
var nv = parts.shift().split("=");
this.name = nv.shift() || '';
this.value = nv.join('=') || '';
var n, v;
for each (p in parts) {
nv = p.split("=");
switch (n = nv[0].toLowerCase()) {
case 'expires':
v = Math.round(Date.parse((nv[1] || '').replace(/\-/g, ' ')) / 1000);
break;
case 'domain':
case 'path':
v = nv[1] || '';
break;
case 'secure':
case 'httponly':
v = true;
break;
default:
n = 'unknown';
}
this[n] = v;
}
if (!this.expires) {
this.session = true;
this.expires = Math.round(new Date() / 1000) + 31536000;
}
if (this.domain) {
if (!this.isDomain) this.domain = "." + this.domain;
this.host = this.domain;
}
this.rawHost = this.host.replace(/^\./, '');
this.id = Cookie.computeId(this);
},
get cookieManager() {
delete Cookie.prototype.cookieManager;
var cman = Cc["@mozilla.org/cookiemanager;1"]
.getService(Ci.nsICookieManager2).QueryInterface(Ci.nsICookieManager);
return Cookie.prototype.cookieManager = cman;
},
belongsTo: function(host, path) {
if (path && this.path && path.indexOf(this.path) != 0) return false;
if (host == this.rawHost) return true;
var d = this.domain;
return d && (host == d || this.isDomain && host.slice(-d.length) == d);
},
save: function() {
this.save = ("cookieExists" in this.cookieManager)
? function() { this.cookieManager.add(this.host, this.path, this.name, this.value, this.secure, this.httponly, this.session, this.expires); }
: function() { this.cookieManager.add(this.host, this.path, this.name, this.value, this.secure, this.session, this.expires);}
;
return this.save();
},
exists: function() {
var cc = this.cookieManager.enumerator;
while(cc.hasMoreElements()) {
if (this.sameAs(cc.getNext())) return true;
}
return false;
},
sameAs: function(c) {
(c instanceof Ci.nsICookie) && (c instanceof Ci.nsICookie2);
return Cookie.computeId(c) == this.id;
},
// nsICookie2 interface extras
get isSecure() { return this.secure; },
get expiry() { return this.expires; },
get isSession() { return this.session; },
get isHttpOnly() { return this.httponly; },
get isDomain() { return this.domain && this.domain[0] == '.'; },
policy: 0,
status: 0,
QueryInterface: XPCOMUtils.generateQI([Ci.nsICookie, Ci.nsICookie2])
};
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
function Cookie(s, host) {
this.parse(s, host);
}
Cookie.computeId = function(c) {
return c.name + ";" + c.host + "/" + c.path;
};
Cookie.find = function(f) {
var cc = Cookie.prototype.cookieManager.enumerator;
var c;
while (cc.hasMoreElements()) {
if (f(c = cc.getNext())) return c;
}
return null;
};
Cookie.attributes = { host: 'domain', path: 'path', expires: 'expires', isHttpOnly: 'HttpOnly', isSecure: 'Secure' };
Cookie.prototype = {
name: '',
value: '',
source: '',
domain: '',
host: '',
rawHost: '',
path: '',