1
0
mirror of https://github.com/thebaer/MMRA synced 2024-11-13 10:11:01 +00:00
This commit is contained in:
Dang Huynh 2018-09-18 15:49:35 +08:00
parent 59f5e12b63
commit edc2a25bb3
2 changed files with 2 additions and 2 deletions

View File

@ -87,9 +87,9 @@ var config = {attributes: true};
// This extension runs on all domains so it can Make Medium Readable Again even for publications on custom domains.
// Here we make sure the code only runs on Medium sites.
if (document.querySelector('head[prefix*="medium-com:"]')) {
makeReadable();
shrinkHeaderImages();
if (document.querySelector('head[prefix*="medium-com:"]')) {
chrome.storage.sync.get(null, function(items) {
if (items.hideDickbar) {

View File

@ -87,9 +87,9 @@ var config = {attributes: true};
// This extension runs on all domains so it can Make Medium Readable Again even for publications on custom domains.
// Here we make sure the code only runs on Medium sites.
if (document.querySelector('head[prefix*="medium-com:"]')) {
makeReadable();
shrinkHeaderImages();
if (document.querySelector('head[prefix*="medium-com:"]')) {
chrome.storage.sync.get(null, function(items) {
if (items.hideDickbar) {