possible fix for #12
This commit is contained in:
parent
b07cf590b9
commit
07ec84313c
12
install.js
12
install.js
|
@ -134,3 +134,15 @@ function getResource(url, callback) {
|
|||
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-"]')]);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Stylus",
|
||||
"version": "1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "__MSG_description__",
|
||||
"homepage_url": "https://github.com/schomery/stylish-chrome",
|
||||
"manifest_version": 2,
|
||||
|
|
Loading…
Reference in New Issue
Block a user