From 3357f518cc903c91d3dcacb54278ef88c3bbf21a Mon Sep 17 00:00:00 2001 From: q-- Date: Mon, 10 Mar 2014 11:58:16 +0100 Subject: [PATCH] Remove JavaScript for setting the "analyze headers" option Fixes #460. This will also remove the stored setting if it exists. --- drivers/chrome/js/options.js | 6 +++--- share/images/icons/CMSimple.png | Bin 97 -> 41626 bytes share/images/icons/Google Tag Manager.png | Bin 249 -> 0 bytes 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 share/images/icons/Google Tag Manager.png diff --git a/drivers/chrome/js/options.js b/drivers/chrome/js/options.js index ed17041e3..7ee9be839 100644 --- a/drivers/chrome/js/options.js +++ b/drivers/chrome/js/options.js @@ -21,8 +21,9 @@ document.addEventListener('DOMContentLoaded', function() { } } - if ( parseInt(options.opts.autoAnalyzeHeaders) ) { - d.getElementById('option-auto-analyze-headers').setAttribute('checked', 'checked'); + if ( options.opts.autoAnalyzeHeaders === "0" || options.opts.autoAnalyzeHeaders === "1" ) { + //Remove old stored option from localStorage because it's no longer needed. This can be entirely removed in future versions + delete localStorage['autoAnalyzeHeaders']; } if ( parseInt(options.opts.upgradeMessage) ) { @@ -35,7 +36,6 @@ document.addEventListener('DOMContentLoaded', function() { }, save: function() { - options.opts.autoAnalyzeHeaders = d.getElementById('option-auto-analyze-headers').checked ? 1 : 0; options.opts.upgradeMessage = d.getElementById('option-upgrade-message' ).checked ? 1 : 0; options.opts.tracking = d.getElementById('option-tracking' ).checked ? 1 : 0; diff --git a/share/images/icons/CMSimple.png b/share/images/icons/CMSimple.png index 39c8ddea808409c1a3e7963c6b1580fc890ded42..0b995e129cb1ce3b1e5bd392dc349e7de8dc3f07 100644 GIT binary patch literal 41626 zcmd^I>vr47k^b+eK}P#4QH@nue8fk30Xy87#?>gwvkqeuAf_*c)qJAM7}~R7mR_B-viT7Tl$)a<$mW}aRT8X=$KGtZdpDR(AA8yK$0RBn z9?FBqUYM6@v`iXGs3(unbT&&Hi>N1$Ta!l~{ySbJW#~nVFfW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