Hides DisableGyousyo from tags
I edited your script that adds color to tags to hide DisableGyousyo tag.
This commit is contained in:
parent
ddaa85dee9
commit
6d597b1a6d
|
@ -50,4 +50,23 @@ Thu Feb 4 01:06:07 AM UTC 2021
|
|||
splitTagDiv()
|
||||
highlightNames()
|
||||
applyQuizFont()
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// Hides DisableGyousyo from tags.
|
||||
|
||||
document.addEventListener('DOMContentLoaded', tagActions(), false);
|
||||
|
||||
function hidedisablegyousyo() {
|
||||
const tags_elems = document.getElementsByClassName("tags");
|
||||
for (const tag_elem of tags_elems) {
|
||||
if (tag_elem.innerHTML.includes("DisableGyousyo")) {
|
||||
tag_elem.style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function tagActions() {
|
||||
hidedisablegyousyo()
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue