1const saTargetNode = document.body; 2const saConfig = {childList: true}; 3const saCallback = function(mutationsList, observer){ 4 for(let mutation of mutationsList){ 5 if(mutation.type === 'childList'){ 6 mutation.addedNodes.forEach(node=>{ 7 if(node.querySelector && node.querySelector('div.kl-private-reset-css-Xuajs1')){ 8 setTimeout(function(){ 9 const saButton = node.querySelector('div.kl-private-reset-css-Xuajs1 form.kl-private-reset-css-Xuajs1 button.kl-private-reset-css-Xuajs1'); 10 saButton.setAttribute('id', 'sa-script-trigger'); 11 observer.disconnect(); 12 }, 500); 13 } 14 }); 15 } 16 } 17}; 18const observer = new MutationObserver(saCallback); 19observer.observe(saTargetNode, saConfig);
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.