1var currentUrl=window.location.href;console.log('Current Page URL:',currentUrl);var parts=currentUrl.split('/');parts=parts.filter(function(part){return part.trim()!==''});pageName=parts[parts.length-1];var pageName=pageName.replace(/\s/g,'-');var buttons=document.querySelectorAll('.mkb');buttons.forEach(function(button){var currentHref=button.getAttribute('href');var newHref=currentHref+(currentHref.includes('?')?'&':'?')+'mkt='+pageName;button.setAttribute('href',newHref)});var currentUrl=window.location.href;console.log('Current Page URL:',currentUrl);var parts=currentUrl.split('/');parts=parts.filter(function(part){return part.trim()!==''});pageName=parts[parts.length-1];var pageName=pageName.replace(/\s/g,'-');var buttons=document.querySelectorAll('.mkb');buttons.forEach(function(button){var currentHref=button.getAttribute('href');var targetElement=button;if(!currentHref){var firstAnchor=button.querySelector('a');if(firstAnchor){currentHref=firstAnchor.getAttribute('href');targetElement=firstAnchor}} 2if(currentHref){var newHref=currentHref+(currentHref.includes('?')?'&':'?')+'mkt='+pageName;targetElement.setAttribute('href',newHref)}else{console.warn('No href attribute found for button or its first child anchor.')}})
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.