PageSourceSearch

https://shop.dolfi.com/cdn/shop/t/80/assets/dolfi-search-wildcard.js?v=121207359191780086831790181670

js dolfi.com collected 2026-10-02 13:17:39 UTC 1,482 bytes, 2 lines download raw bytes

1(function(){"use strict";function withWildcard(value){var t=(value||"").trim();return!t||t.charAt(t.length-1)==="*"?t:t+"*"}function isProductSearchInput(el){return el instanceof HTMLInputElement&&el.name==="q"}document.addEventListener("keydown",function(event){if(event.key==="Enter"){var el=event.target;isProductSearchInput(el)&&(!el.value||!el.value.trim()||(el.value=withWildcard(el.value)))}},!0),document.addEventListener("submit",function(event){var form=event.target;if(form instanceof HTMLFormElement){var action=form.getAttribute("action")||"";if(action.indexOf("/search")!==-1){var input=form.querySelector('input[name="q"]');input&&input.value&&input.value.trim()&&(input.value=withWildcard(input.value))}}},!0),document.addEventListener("DOMContentLoaded",function(){var params=new URLSearchParams(window.location.search),q=params.get("q");if(!(!q||q.charAt(q.length-1)!=="*")){var clean=q.replace(/\*+$/,"");document.querySelectorAll('input[name="q"]').forEach(function(i){var v=(i.value||"").trim();v.charAt(v.length-1)==="*"&&(i.value=v.replace(/\*+$/,""))}),document.querySelectorAll(".search-results__no-results").forEach(function(node){node.textContent&&node.textContent.indexOf(q)!==-1&&(node.textContent=node.textContent.split(q).join(clean))}),document.title&&document.title.indexOf(q)!==-1&&(document.title=document.title.split(q).join(clean))}})})();
2//# sourceMappingURL=/cdn/shop/t/80/assets/dolfi-search-wildcard.js.map?v=121207359191780086831790181670

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.