Skip to content

Instantly share code, notes, and snippets.

@yuki777
Last active August 29, 2015 14:18
Show Gist options
  • Save yuki777/18d58eedd6344a5934e1 to your computer and use it in GitHub Desktop.
Save yuki777/18d58eedd6344a5934e1 to your computer and use it in GitHub Desktop.
ChatWorkでTo:が自分の時だけ未読数を表示させる ref: http://qiita.com/yuki777/items/03c704d40311754418d8
setInterval(function () {
// ページタイトルセット
document.title = 'Silent ChatWork';
// 左カラムの未読数を表示しない。(自分宛ては表示する)
$('li ._unreadBadge.unread').css('display', 'none');
// 左カラム、上の未読件数の合計も表示しない。(自分宛ては表示する)
$('#_chatUnreadStatus').css('display', 'none');
}, 10000); // 10秒毎。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment