1/***************************************/ 2/********** Verwimp Rudi SEGI **********/ 3/********** last 14/11/2025 ************/ 4/***************************************/ 5 6const questions = document.getElementsByClassName("question"); 7const url = new URL(window.location); 8let i = 1; 9for(const quest of questions) 10{ 11 quest.addEventListener("click", function() 12 { 13 toggleFAQQuestion(this); 14 }); 15 quest.id = "q"+i; //Pour avoir les questions dans l'ordre pour les FAQs dans les FAQs 16 i++; 17} 18if(typeof FAQopenQuestion !== 'undefined' && FAQopenQuestion != "") 19{ 20 const openQuests = FAQopenQuestion.split(";"); 21 for(const element of openQuests) 22 { 23 if(element != "") 24 { 25 toggleFAQQuestion(document.getElementById("q"+element)); 26 } 27 } 28} 29 30function toggleFAQQuestion(pElement) 31{ 32 pElement.classList.toggle("active"); 33 let answer = pElement.nextElementSibling; 34 answer.toggle(); 35 36 const hashPattern1 = pElement.id.replace("q","")+";"; 37 const hashPattern2 = pElement.id+";"; 38 const hashPattern3 = pElement.id; 39 if(pElement.classList.contains('active')) 40 { 41 if(!url.hash.includes(hashPattern1) && !url.hash.includes(hashPattern2) && !url.hash.includes(hashPattern3)) 42 { 43 if(url.hash == "") 44 { 45 url.hash += "q"; 46 }else if(!url.hash.endsWith(";")) 47 { 48 url.hash += ";"; 49 } 50 url.hash += pElement.id.replace("q","") + ";"; 51 } 52 }else 53 { 54 url.hash = url.hash.replace(hashPattern2,""); 55 url.hash = url.hash.replace(hashPattern1,""); 56 url.hash = url.hash.replace(hashPattern3,""); 57 } 58 window.history.replaceState({},"",url); 59} 60 61function refreshFilteredPortlet(pSelect) 62{ 63 window.location = pSelect.value; 64} 65 66// Activer le bouton d'envoi après résolution du Captcha 67function enableSubmitButton(solution) 68{ 69 jQuery('#submitButton').prop('disabled',false); 70}
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.