From dfed0ca58db3b3294c28afda9764b159d5330092 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Wed, 15 Jul 2015 13:28:11 -0700 Subject: [PATCH 1/2] Add disabled attribute to Enable/Disable rules. To decrease confusion about it being an active menuitem. --- src/chrome/content/code/ApplicableList.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chrome/content/code/ApplicableList.js b/src/chrome/content/code/ApplicableList.js index 80aa120c4d16..66b8d2273fbf 100644 --- a/src/chrome/content/code/ApplicableList.js +++ b/src/chrome/content/code/ApplicableList.js @@ -113,6 +113,9 @@ ApplicableList.prototype = { // and disable rules. var label = document.createElement('menuitem'); label.setAttribute('label', strings.getString('https-everywhere.menu.enableDisable')); + label.setAttribute('disabled', 'true'); + label.setAttribute('class', 'menuitem-non-iconic'); + label.setAttribute('style', 'color:#000000;'); var label2 = false; if (!any_rules) { label2 = document.createElement('menuitem'); From 84bfdf7c2a2debbad85bd3d396339b619bb2acfd Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Mon, 20 Jul 2015 14:53:02 -0700 Subject: [PATCH 2/2] Remove EFF birthday easter egg. Birthday is over. --- src/chrome/content/toolbar_button.xul | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/chrome/content/toolbar_button.xul b/src/chrome/content/toolbar_button.xul index 152dfcfca2e5..0c465633e6ea 100644 --- a/src/chrome/content/toolbar_button.xul +++ b/src/chrome/content/toolbar_button.xul @@ -53,8 +53,6 @@ -