possible fix for #12

This commit is contained in:
Jeremy Schomery 2017-02-03 15:42:23 +03:30
parent b07cf590b9
commit 07ec84313c
2 changed files with 15 additions and 3 deletions

View File

@ -134,3 +134,15 @@ function getResource(url, callback) {
xhr.send(); xhr.send();
} }
} }
/* stylish to stylus; https://github.com/schomery/stylish-chrome/issues/12 */
(function (es) {
es.forEach(e => {
e.textContent = 'Install with Stylus';
});
})([...document.querySelectorAll('div[id^="stylish-installed-style-not-installed-"]')]);
(function (es) {
es.forEach(e => {
e.textContent = 'Update with Stylus';
});
})([...document.querySelectorAll('div[id^="stylish-installed-style-needs-update-"]')]);

View File

@ -1,6 +1,6 @@
{ {
"name": "Stylus", "name": "Stylus",
"version": "1.0", "version": "0.1.1",
"description": "__MSG_description__", "description": "__MSG_description__",
"homepage_url": "https://github.com/schomery/stylish-chrome", "homepage_url": "https://github.com/schomery/stylish-chrome",
"manifest_version": 2, "manifest_version": 2,