mirror of
https://github.com/thebaer/MMRA
synced 2024-11-13 10:11:01 +00:00
Comment more about the Medium site check
This commit is contained in:
parent
4b1ca2a26c
commit
316dbf0f29
@ -63,7 +63,8 @@ var observer = new MutationObserver(function(mutations){
|
||||
|
||||
var config = {attributes: true};
|
||||
|
||||
// Only run this on Medium sites.
|
||||
// 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 meta[property="al:ios:app_name"][content="medium" i]')) {
|
||||
makeReadable();
|
||||
shrinkHeaderImages();
|
||||
|
Loading…
Reference in New Issue
Block a user