From 524dde591b3dfaea1498d857d96c1e6a7d8a990b Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 22 Oct 2018 14:30:47 -0400 Subject: [PATCH] Fix "disable highlight menu" option not working This fixes #20 again. --- content.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content.js b/content.js index d79668b..f96f697 100644 --- a/content.js +++ b/content.js @@ -31,10 +31,7 @@ var makeReadable = function() { }; var hideHighlightMenu = function() { - var bar = document.querySelector('.highlightMenu'); - if (bar) { - bar.style.display = 'none'; - } + document.head.insertAdjacentHTML('beforeend', ''); }; var hideDickbar = function() {