PageSourceSearch

https://studiegids.nl/wp-content/litespeed/js/596763501b0be41d35869c97bf5c42d4.js?ver=50656

js studiegids.nl collected 2026-10-09 22:39:58 UTC 1,361 bytes, 9 lines download raw bytes

1document.addEventListener('DOMContentLoaded',function(){const form=document.querySelector('.wp-block-herald-child-hbo-opleiding-finder');if(!form)return;form.querySelectorAll('select').forEach(select=>{const taxonomy=select.dataset.taxonomy;fetch(`/wp-json/wp/v2/${taxonomy}`).then(response=>response.json()).then(terms=>{terms.forEach(term=>{const option=document.createElement('option');option.value=term.id;option.textContent=term.name;select.appendChild(option)})})});document.getElementById('find-hbo-opleiding').addEventListener('click',function(){const formData=new FormData(form);fetch('/wp-json/herald-child/v1/find-hbo-opleiding',{method:'POST',body:formData}).then(response=>response.json()).then(results=>{const resultsDiv=document.getElementById('hbo-opleiding-results');resultsDiv.innerHTML='';results.forEach(post=>{const postDiv=document.createElement('div');postDiv.innerHTML=`
2                    <h4>${post.title.rendered}</h4>
3                    <p>${post.acf.hbo_opl_studiebeschrijving || ''}</p>
4                    <p>Vestiging: ${post.acf.hbo_opl_vestiging || ''}</p>
5                    <p>Provincie: ${post.acf.hbo_opl_provincie || ''}</p>
6                    <p>Plaats: ${post.acf.hbo_opl_plaatsnaam || ''}</p>
7                    <a href="${post.link}">Meer Informatie</a>
8                `;resultsDiv.appendChild(postDiv)})})})})
9;

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.