diff --git a/content.js b/content.js index 7f2c08e..a9d807e 100644 --- a/content.js +++ b/content.js @@ -15,6 +15,13 @@ var makeReadable = function() { } }; +var hideHighlightMenu = function() { + var bar = document.querySelector('.highlightMenu'); + if (bar) { + bar.style.display = 'none'; + } +}; + var hideDickbar = function() { var dickbar = document.querySelector('.js-postShareWidget'); if (dickbar) { @@ -76,6 +83,9 @@ if (document.querySelector('head meta[property="al:ios:app_name"][content="mediu if (items.disableLazyImages) { disableLazyLoading(); } + if (items.hideHighlightMenu) { + hideHighlightMenu(); + } }); observer.observe(document.body, config); diff --git a/manifest.json b/manifest.json index c634d03..1c2d4f9 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "Make Medium Readable Again", "description": "Neutralizes annoying parts of the Medium reading experience and lets you read again.", - "version": "1.3.1", + "version": "1.4.0", "applications": { "gecko": { diff --git a/options.html b/options.html index f1ed022..dbcc89b 100644 --- a/options.html +++ b/options.html @@ -11,6 +11,9 @@ #status { font-size: 1.1em; } + #save { + margin-right: auto; + }
@@ -25,6 +28,10 @@ Disable lazy image loading + +