PageSourceSearch

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

js defisaver.com collected 2026-10-03 21:43:04 UTC 3,945 bytes, 1 lines download raw bytes

1!function(){var e,t,n,i,a=document.currentScript,o={};function r(e,t,n){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(e){n&&n.callback&&n.callback({status:e.status})}).catch(function(e){n&&n.callback&&n.callback({error:e})})}var c=!1,u={},l=-1,d=0,s=0;function p(){var a=f();if(!e&&(l<i||a>=3e3)){l=i;var c={n:"engagement",sd:Math.round(i/n*100),d:o.domain,u:t,p:u,e:a,v:36};d=0,s=0,r(o.endpoint,c)}}function v(){"visible"===document.visibilityState&&document.hasFocus()&&0===d?d=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=f(),d=0,p())}function f(){return d?s+(Date.now()-d):s}function m(){var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function g(){var e,t;return e=window.innerHeight,t=window.scrollY,n<=e?n:t+e}function w(f,w){var b,y="pageview"===f;y&&c&&(p(),n=m(),i=g());try{if("true"===window.localStorage.plausible_ignore)return h(f,w,"localStorage flag")}catch(e){}var E=a&&a.getAttribute("data-include"),S=a&&a.getAttribute("data-exclude");function x(e){return location.pathname.match(RegExp("^"+e.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(y){var k=!E||E&&E.split(",").some(x),L=S&&S.split(",").some(x);if(!k||L)return h(f,w,"exclusion rule")}var A={};A.n=f,A.v=36,A.u=location.href,A.d=o.domain,A.r=document.referrer||null,w&&w.meta&&(A.m=JSON.stringify(w.meta)),w&&w.props&&(A.p=w.props),w&&!1===w.interactive&&(A.i=!1),w&&w.revenue&&(A.$=w.revenue);var H=a.getAttributeNames().filter(function(e){return"event-"===e.substring(0,6)}),b=A.p||{};H.forEach(function(e){var t=e.replace("event-",""),n=a.getAttribute(e);b[t]=b[t]||n}),A.p=b,y&&(e=!1,t=A.u,u=A.p,l=-1,s=0,d=Date.now(),c||(document.addEventListener("visibilitychange",v),window.addEventListener("blur",v),window.addEventListener("focus",v),c=!0)),r(o.endpoint,A,w)}function h(t,n,i){i&&o.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===t&&(e=!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 E(e){if("auxclick"!==e.type||1===e.button){var t,n,i=function(e){for(var t;e&&(void 0===e.tagName||!((t=e)&&t.tagName&&"a"===t.tagName.toLowerCase())||!e.href);)e=e.parentNode;return e}(e.target),a=i&&"string"==typeof i.href&&i.href.split("?")[0];if(function(e){if(!e)return!1;var t=e.split(".").pop();return y.some(function(e){return e===t})}(a))return void((n={props:(t={name:"File Download",props:{url:a}}).props}).revenue=t.revenue,w(t.name,n))}}!function e(t){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 e=g();e>i&&(i=e)}),function(e){function t(t){t&&n===location.pathname||(n=location.pathname,e("pageview"))}var n,i=function(){t(!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||t()}):t(),window.addEventListener("pageshow",function(e){e.persisted&&t()})}(w),document.addEventListener("click",E),document.addEventListener("auxclick",E),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||[],l=0;l<u.length;l++)w.apply(this,u[l]);window.plausible=w,window.plausible.init=e,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.