PageSourceSearch

https://defisaver.com/js/script.exclusions.file-downloads.local.js

js defisaver.com collected 2026-10-03 21:42:45 UTC 3,708 bytes, 1 lines download raw bytes

1!function(){var t,e,n,i,a=document.currentScript,o={};function r(t,e,n){window.fetch&&fetch(t,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(e)}).then(function(t){n&&n.callback&&n.callback({status:t.status})}).catch(function(t){n&&n.callback&&n.callback({error:t})})}var c=!1,u={},d=-1,l=0,s=0;function p(){var a=f();if(!t&&(d<i||a>=3e3)){d=i;var c={n:"engagement",sd:Math.round(i/n*100),d:o.domain,u:e,p:u,e:a,v:36};l=0,s=0,r(o.endpoint,c)}}function v(){"visible"===document.visibilityState&&document.hasFocus()&&0===l?l=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=f(),l=0,p())}function f(){return l?s+(Date.now()-l):s}function m(){var t=document.body||{},e=document.documentElement||{};return Math.max(t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0,e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0)}function g(){var t,e;return t=window.innerHeight,e=window.scrollY,n<=t?n:e+t}function w(f,w){var b="pageview"===f;b&&c&&(p(),n=m(),i=g());try{if("true"===window.localStorage.plausible_ignore)return h(f,w,"localStorage flag")}catch(t){}var y=a&&a.getAttribute("data-include"),S=a&&a.getAttribute("data-exclude");function x(t){return location.pathname.match(RegExp("^"+t.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(b){var E=!y||y&&y.split(",").some(x),k=S&&S.split(",").some(x);if(!E||k)return h(f,w,"exclusion rule")}var L={};L.n=f,L.v=36,L.u=location.href,L.d=o.domain,L.r=document.referrer||null,w&&w.meta&&(L.m=JSON.stringify(w.meta)),w&&w.props&&(L.p=w.props),w&&!1===w.interactive&&(L.i=!1),b&&(t=!1,e=L.u,u=L.p,d=-1,s=0,l=Date.now(),c||(document.addEventListener("visibilitychange",v),window.addEventListener("blur",v),window.addEventListener("focus",v),c=!0)),r(o.endpoint,L,w)}function h(e,n,i){i&&o.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===e&&(t=!0)}var b=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],y=b;function S(t){if("auxclick"!==t.type||1===t.button){var e,n,i=function(t){for(var e;t&&(void 0===t.tagName||!((e=t)&&e.tagName&&"a"===e.tagName.toLowerCase())||!t.href);)t=t.parentNode;return t}(t.target),a=i&&"string"==typeof i.href&&i.href.split("?")[0];if(function(t){if(!t)return!1;var e=t.split(".").pop();return y.some(function(t){return t===e})}(a))return void(n={props:(e={name:"File Download",props:{url:a}}).props},w(e.name,n))}}!function t(e){var r,c;o.endpoint=a.getAttribute("data-api")||new URL(a.src).origin+"/api/event",o.domain=a.getAttribute("data-domain"),o.logging=!0,n=m(),i=g(),new ResizeObserver(function(){n=m()}).observe(document.documentElement),document.addEventListener("scroll",function(){var t=g();t>i&&(i=t)}),function(t){function e(e){e&&n===location.pathname||(n=location.pathname,t("pageview"))}var n,i=function(){e(!0)},a=window.history;if(a.pushState){var o=a.pushState;a.pushState=function(){o.apply(this,arguments),i()},window.addEventListener("popstate",i)}"hidden"===document.visibilityState||"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){n||"visible"!==document.visibilityState||e()}):e(),window.addEventListener("pageshow",function(t){t.persisted&&e()})}(w),document.addEventListener("click",S),document.addEventListener("auxclick",S),r=a.getAttribute("file-types"),c=a.getAttribute("add-file-types"),r&&(y=r.split(",")),c&&(y=c.split(",").concat(b));for(var u=window.plausible&&window.plausible.q||[],d=0;d<u.length;d++)w.apply(this,u[d]);window.plausible=w,window.plausible.init=t,window.plausible.v=36,window.plausible.l=!0}()}();

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.