말붕이는 나밖에 없었지만 재미는 있었음
포챈 메인 중계방처럼 국가 선택할 수 있으면 좋을듯
아 그리고 중계방 파는 사람들한테 대충 알려줄만한거 있음
채널 설정에 inline 있을거임 거기서
======================================
//vgl inline js
function Inline4CC() {
$('#messagebuffer').off('click').click(e => {
let t = e.target, p = t.parentElement;
if(e.button != 0) return;
if(t.className == 'channel-emote')
$('#chatline').val((i, v) => v + ' ' + e.target.title).focus();
else if(t.tagName == "IMG") {
e.preventDefault();
$('<div id="picoverlay"></div>').click(f => $('#picoverlay').remove()).prependTo('body').append($(p).clone());
} else if(t.tagName == "VIDEO") {
e.preventDefault();
$('<div id="picoverlay"></div>').click(f => $('#picoverlay').remove()).prependTo('body').append($('<video autoplay controls/>').attr('src', t.src));
}
});
}
//if teamcolor.js is already loaded, run the inline immediately, otherwise the teamcolor will run the inline itself
Inline4CC();
======================================
=== 빼고 넣으면 남이 올린 이모티콘 클릭하면 내 채팅박스에 자동으로 이모티콘 명령어 올라감
오
나중에 이 기능 추가할 사람들을 위한 팁: Channel Settings-Edit-Javascript 에 붙여넣어야 함