From 23103d7773e24fdf15b79ed69c67089b593fb31a Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Mon, 13 Jul 2015 22:53:00 -0500 Subject: HTTPS-Everywhere updated to 5.0.5 --- .../https-everywhere@eff.org/chrome/content/preferences.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'data/extensions/https-everywhere@eff.org/chrome/content/preferences.js') diff --git a/data/extensions/https-everywhere@eff.org/chrome/content/preferences.js b/data/extensions/https-everywhere@eff.org/chrome/content/preferences.js index 557b335..4a61f0a 100644 --- a/data/extensions/https-everywhere@eff.org/chrome/content/preferences.js +++ b/data/extensions/https-everywhere@eff.org/chrome/content/preferences.js @@ -149,8 +149,17 @@ function compareRules(a, b, col) { function https_prefs_init(doc) { var st = document.getElementById('sites_tree'); + // Note: It takes several seconds to load all the rulesets, during which time + // Firefox is unresponsive. There are too many rulesets to reasonably browse + // in this view anyhow. Should start with an empty window and only show + // rulesets that match a search term the user types in. https_everywhere.https_rules.loadAllRulesets(); rulesets = Array.slice(https_everywhere.https_rules.rulesets); + // Sort the rulesets by name to avoid revealing which subset of rulesets has + // been visited, per https://trac.torproject.org/projects/tor/ticket/11655. + rulesets.sort(function(a, b) { + return a.name < b.name ? -1 : 1; + }); // GLOBAL VARIABLE! treeView = { -- cgit v1.2.3