08/07/25 23:06:32 x+gpRb2i0
>>798
タグを日本限定にするなら96行目のtagsを下に変更したらおk
var tags = (a.responseText.match(/<tag[^>]*>(.*)<\/tag>/g) ? a.responseText.match(/<tag[^>]*>(.*)<\/tag>/g) : '');
↓
var tags = (a.responseText.match(/<tags(\sdomain=\"jp\")?>([\w\W]*?)<\/tags>/) ? a.responseText.match(/<tags(\sdomain=\"jp\")?>([\w\W]*?)<\/tags>/)[2].match(/<tag[^>]*>.*<\/tag>/g) : '' );
あと115行目あたりを下に変更すると固定タグの前に★マークがつけれる
// TAG : の取得
getTag +=
↓
// TAG : の取得
getTag +=
(tags[i].match(/<tag(\slock=\"1\")?>(.*?)<\/tag>/)[1] ? '<span style="color:#f90">★</span>' : '' ) +