1window.addEventListener('DOMContentLoaded', function(){ 2 document.querySelectorAll('.lang-warning a.btn').forEach((button) => { 3 button.addEventListener('click', handleLanguageSwap); 4 }); 5 6 document.querySelectorAll('.choose-language a').forEach((a) => { 7 a.addEventListener('click', handleLanguageSwap); 8 }); 9}); 10 11function handleLanguageSwap(e) 12{ 13 e.preventDefault(); 14 15 BX.setCookie('b24_cookie_language_selected_byhand', 'Y', {path: '/'}); 16 BX.setCookie('b24_cookie_language_selected_last', e.target.dataset['lang_id'], {path: '/'}); 17 18 if (e.target.dataset['href'] != "javascript:void(0);") { 19 location.assign(e.target.dataset['href']); 20 } 21 else { 22 document.querySelector('body').classList.remove('blur-block'); 23 document.querySelector('.lang-warning').remove(); 24 } 25}
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.