1(function () { 2'use strict'; 3 4var DELAY = 3 * 60 * 1000; 5 6var client = new XMLHttpRequest(); 7client.addEventListener('load', function (event) { 8 var doc = event.target.responseXML; 9 if (doc) { 10 var root = doc.documentElement; 11 if (root && root.id === 'chat-counter') { 12 var old = document.getElementById('chat-counter'); 13 old.parentNode.replaceChild(root, old); 14 } 15 } 16 window.setTimeout(checkChatMember, DELAY); 17}); 18window.setTimeout(checkChatMember, DELAY); 19 20function checkChatMember() { 21 client.open('GET', './chat-counter'); 22 client.send(); 23} 24 25if (window.parent !== window && window.parent.location.origin === window.location.origin && window.parent.document.querySelector('[src$="bgm-script"]') || !('replaceState' in window.history)) { 26 // 親ãBGMåçç¨ãã¬ã¼ã ãã¾ãã¯History#replaceStateã«å¯¾å¿ãã¦ããªããã°çµäº 27 return; 28} 29 30var button = document.getElementsByClassName('play-bgm')[0]; 31button.addEventListener('click', function () { 32 window.location.replace('/home/bgm'); 33}); 34button.hidden = false; 35 36})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.