PageSourceSearch

https://defisaver.com/js/script.exclusions.local.revenue.js

js defisaver.com collected 2026-10-03 21:43:33 UTC 2,927 bytes, 1 lines download raw bytes

1!function(){var e,t,n,i,a=document.currentScript,o={};function c(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 r=!1,u={},l=-1,d=0,s=0;function p(){var a=w();if(!e&&(l<i||a>=3e3)){l=i;var r={n:"engagement",sd:Math.round(i/n*100),d:o.domain,u:t,p:u,e:a,v:36};d=0,s=0,c(o.endpoint,r)}}function v(){"visible"===document.visibilityState&&document.hasFocus()&&0===d?d=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=w(),d=0,p())}function w(){return d?s+(Date.now()-d):s}function f(){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 m(w,m){var b="pageview"===w;b&&r&&(p(),n=f(),i=g());try{if("true"===window.localStorage.plausible_ignore)return h(w,m,"localStorage flag")}catch(e){}var y=a&&a.getAttribute("data-include"),S=a&&a.getAttribute("data-exclude");function E(e){return location.pathname.match(RegExp("^"+e.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(b){var L=!y||y&&y.split(",").some(E),k=S&&S.split(",").some(E);if(!L||k)return h(w,m,"exclusion rule")}var H={};H.n=w,H.v=36,H.u=location.href,H.d=o.domain,H.r=document.referrer||null,m&&m.meta&&(H.m=JSON.stringify(m.meta)),m&&m.props&&(H.p=m.props),m&&!1===m.interactive&&(H.i=!1),m&&m.revenue&&(H.$=m.revenue),b&&(e=!1,t=H.u,u=H.p,l=-1,s=0,d=Date.now(),r||(document.addEventListener("visibilitychange",v),window.addEventListener("blur",v),window.addEventListener("focus",v),r=!0)),c(o.endpoint,H,m)}function h(t,n,i){i&&o.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===t&&(e=!0)}!function e(t){o.endpoint=a.getAttribute("data-api")||new URL(a.src).origin+"/api/event",o.domain=a.getAttribute("data-domain"),o.logging=!0,n=f(),i=g(),new ResizeObserver(function(){n=f()}).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()})}(m);for(var c=window.plausible&&window.plausible.q||[],r=0;r<c.length;r++)m.apply(this,c[r]);window.plausible=m,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.