1(function(){'use strict';var debugEnabled=window.omedaPkData&&window.omedaPkData.debug;function debugLog(){if(debugEnabled&&console&&console.log){console.log.apply(console,['[Dragonforms URL Handler]'].concat(Array.prototype.slice.call(arguments)))}} 2var urlParams=new URLSearchParams(window.location.search);var pkParam=urlParams.get('pk');if(pkParam){debugLog('Found pk parameter:',pkParam)}else{debugLog('No pk parameter found in URL, will still add returnurl')} 3function updateDragonformsLinks(){var dragonformLinks=document.querySelectorAll('a[href*="dragonforms.com"]');dragonformLinks.forEach(function(link){var url=new URL(link.href);if(pkParam&&!url.searchParams.has('pk')){url.searchParams.set('pk',pkParam);debugLog('Updated dragonforms link with pk:',pkParam)} 4if(!url.searchParams.has('returnurl')){url.searchParams.set('returnurl',window.location.href);debugLog('Updated dragonforms link with returnurl:',window.location.href)} 5link.href=url.toString();debugLog('Final link:',link.href)})} 6if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',updateDragonformsLinks)}else{updateDragonformsLinks()}})()
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.