タイトルをCyTubeで再生中の曲にする † 
- 優先度/需要: 中
- 状態: 継続
- カテゴリー: 特定サイト専用
- 投稿日: 2015-04-11 (土) 23:43:27
[Patterns]
Name = "CyTube: タイトルを再生中の曲にする"
Active = TRUE
URL = "(cytu.be|louise.sytes.net(^/r/ongakuR))/r/? $TYPE(htm)"
Limit = 256
Match = "<end>"
Replace = "<script type="text/javascript">"
"setInterval(function(){"
" document.title = document.getElementById('currenttitle').textContent.replace(/^[^:]+: /, '\\u25B6');"
"}, 5000);"
"</script>"
- Bookmarkletだと動かない SetIntervalじゃなくてonChange的なもので動いたらもっといいんだろうけど、わからんのでパス -- 名無しさん