1(function($) { 2 'use strict'; 3 4 // Tolkie script toevoegen 5 6 // Controleer of .av-special-heading h1 voorkomt 7 const targetElement = $('.av-special-heading h1'); 8 9 if (targetElement.length > 0) { 10 // Vind het eerste bovenliggende element met de klasse .post-entry 11 const containerElement = targetElement.closest('.post-entry'); 12 13 // Maak een nieuw script-element 14 const script = document.createElement('script'); 15 script.id = 'tolkie-script'; 16 script.type = 'module'; 17 script.src = 'https://app.tolkie.nl'; 18 script.crossOrigin = 'anonymous'; 19 script.setAttribute('data-tolkie-token', '330dedb10cdf4736be286b58d3dc176f280c8559'); 20 script.setAttribute('data-tolkie-state', 'separateButtons'); 21 script.defer = false; 22 23 // Voeg het script toe vóór het eerste gevonden .av-special-heading h1 element 24 containerElement.before(script); 25 26 // Voeg inline CSS toe voor .tolkie-decouple-container 27 const style = document.createElement('style'); 28 style.textContent = ` 29 #tolkie-separate-container { 30 margin-top: -20px; 31 margin-bottom: 20px; 32 } 33 `; 34 document.head.appendChild(style); 35 } 36}(jQuery));
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.