1
0
mirror of https://github.com/thebaer/MMRA synced 2024-11-13 10:11:01 +00:00

Merge branch 'master' of github.com:thebaer/MMRA

This commit is contained in:
Matt Baer 2018-04-10 12:10:52 -04:00
commit 821023e8a6
3 changed files with 17 additions and 0 deletions

View File

@ -13,6 +13,13 @@ var makeReadable = function() {
if (getUpdatesBar) {
getUpdatesBar.style.display = 'none';
}
// Load remaining styles
// This check makes sure the extension works on Chrome and Firefox.
if (typeof browser === 'undefined') {
browser = chrome;
}
document.head.insertAdjacentHTML('beforeend', '<link rel="stylesheet" type="text/css" href="' + browser.runtime.getURL("medium.css") + '">');
};
var hideHighlightMenu = function() {

View File

@ -29,5 +29,8 @@
"matches": ["https://*/*"],
"js": ["content.js"]
}
],
"web_accessible_resources": [
"medium.css"
]
}

7
medium.css Normal file
View File

@ -0,0 +1,7 @@
/**
* medium.css
* Contains default styles to inject into Medium publications.
*/
.postMeterBar {
display: none;
}