mirror of
https://github.com/thebaer/MMRA
synced 2024-11-13 10:11:01 +00:00
Fix Medium site detection
Now does a case-insensitive check for "Medium" in meta tag. This addresses the issue brought up in #22.
This commit is contained in:
parent
96d77d8ef5
commit
4b1ca2a26c
@ -64,7 +64,7 @@ var observer = new MutationObserver(function(mutations){
|
||||
var config = {attributes: true};
|
||||
|
||||
// Only run this on Medium sites.
|
||||
if (document.querySelector('head meta[property="al:ios:app_name"][content="medium"]')) {
|
||||
if (document.querySelector('head meta[property="al:ios:app_name"][content="medium" i]')) {
|
||||
makeReadable();
|
||||
shrinkHeaderImages();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user