Download script/tild_utms.js from DmitrMakeev/Models-coll: direct link, hf CLI and curl.
- Browser
- Download file 811 Bytes
-
https://huggingface.co/DmitrMakeev/Models-coll/resolve/64dca18bd3e548b20b2bd86f062b9dfe0fe2ed49/script/tild_utms.js
- Command line
-
hf download hf://DmitrMakeev/Models-coll@64dca18bd3e548b20b2bd86f062b9dfe0fe2ed49/script/tild_utms.js
-
curl -L -o tild_utms.js https://huggingface.co/DmitrMakeev/Models-coll/resolve/64dca18bd3e548b20b2bd86f062b9dfe0fe2ed49/script/tild_utms.js
811 Bytes
| (()=>{var e=function(){var e=window.BH_REGISTER_FORM_LOCATOR||".js-form-proccess";document.querySelectorAll(e).forEach((function(e){return e.addEventListener("tildaform:beforesend",(function(){var t=e.dataset.successUrl,a=new FormData(e),o=new URL(t);new URLSearchParams(window.location.search).forEach((function(e,t){(e=e.trim())&&o.searchParams.set(t.toLowerCase(),e)})),a.forEach((function(t,a){var r,n=e.querySelector('[name="'+a+'"]');((r=n).offsetWidth||r.offsetHeight||r.getClientRects().length)&&t&&(a.includes("tildaspec-phone-part")&&(t=(""+n.dataset.phonemaskCode+t).replace(/\s/g,"").replace(/(\(|-|\))/g,""),a="phone"),(t=t.trim())&&o.searchParams.set(a.toLowerCase(),t))})),window.location.href=o.href}))}))};"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)})(); |