No.161

プルダウンカテゴリメニューの先頭テキストを書き換えるやつ書いた
skin-cover.htmlの</body>直前に読み込んで「MENU」のとこを好きな文字列にする
HTML読み込み後に書き換えてるからチラ付くのはしょうがないね…

<script>
'use strict'
{//プルダウンカテゴリメニューの先頭テキストを書き換える
   const headText = document.querySelectorAll('form.catpullbox option.head');
   for(let text of headText){
      text.textContent = 'MENU';
   }
}
</script>


#JavaScript

つぶやき

back