Feature/#3 better display of language icons #55
10
enhancements/languageDisplay.js
Normal file
10
enhancements/languageDisplay.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
registerScript(node => {
|
||||||
|
// run the scripts
|
||||||
|
if (isHtmlElement(node)) {
|
||||||
|
updateLanguageDisplay(node)
|
||||||
|
}
|
||||||
|
}, ".*");
|
||||||
|
|
||||||
|
function updateLanguageDisplay(node) {
|
||||||
|
|
||||||
|
}
|
|
@ -22,7 +22,8 @@
|
||||||
],
|
],
|
||||||
"js": [
|
"js": [
|
||||||
"enhancements/quickSearch.js",
|
"enhancements/quickSearch.js",
|
||||||
"enhancements/animeRequests.js"
|
"enhancements/animeRequests.js",
|
||||||
|
"enhancements/languageDisplay.js"
|
||||||
],
|
],
|
||||||
"run_at": "document_end"
|
"run_at": "document_end"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue