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

Update manifest permissions to match medium url

This commit is contained in:
Roman Telicak 2018-03-07 20:04:32 +01:00
parent bf85c8d383
commit f64ca567bd
2 changed files with 15 additions and 18 deletions

View File

@ -63,8 +63,6 @@ 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"]')) {
makeReadable();
shrinkHeaderImages();
@ -78,4 +76,3 @@ if (document.querySelector('head meta[property="al:ios:app_name"][content="mediu
});
observer.observe(document.body, config);
}

View File

@ -22,11 +22,11 @@
"default_icon": "icon.png"
},
"permissions": [
"storage", "https://*/*"
"storage"
],
"content_scripts": [
{
"matches": ["https://*/*"],
"matches": ["https://medium.com/*"],
"js": ["content.js"]
}
]