https://js.ipredictive.com/viant_universal_pixel.js

已提交的 URL:
https://js.ipredictive.com/viant_universal_pixel.js
報告完成時間:

連結 · 找到 0 個

從頁面中識別的傳出連結

JavaScript 變數 · 找到 3 個

在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取

名稱類型
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject

主控台記錄訊息 · 找到 1 條

記錄到 Web 主控台的訊息

HTML

頁面的原始 HTML 主體

<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(()=&gt;{"use strict";var e=["val","p1","p2","p3","p4","p5","p6","p7","p8","p9","p10","cur","cust","page","itms","ref","tn","cuid","ps","iframe_url"],t=function(){function t(t,i,n){void 0===n&amp;&amp;(n={});var o,r,a=this;this.version="1.0.0",this.pixelParams={},this._fire=function(){a._addParamsToPixel(),a._generatePixelElement(),a._attachPixel()},this._documentReady=function(e){var t;"loading"!=document.readyState?e():document.addEventListener?document.addEventListener("DOMContentLoaded",e):null===(t=null===document||void 0===document?void 0:document.attachEvent)||void 0===t||t.call(document,"onreadystatechange",(function(){"complete"==document.readyState&amp;&amp;e()}))},this._addParamsToPixel=function(){Object.entries(a.pixelParams).forEach((function(e){var t=e[0],i=e[1];return a.pixelUrl.searchParams.append(t,String(i))}))},this._generatePixelElement=function(){var e,t=null!==(e=document.querySelector('iframe[title="Viant Universal Pixel"]'))&amp;&amp;void 0!==e?e:document.createElement("iframe"),i={height:"0",width:"0",style:"display:none;visibility: hidden;",src:a.pixelUrl.toString(),title:"Viant Universal Pixel"};Object.entries(i).forEach((function(e){var i=e[0],n=e[1];return t.setAttribute(i,n)})),a.pixel=t},this._attachPixel=function(){document.querySelector('iframe[title="Viant Universal Pixel"]')||setTimeout((function(){var e;a.pixel&amp;&amp;(null===(e=document.querySelector("body"))||void 0===e||e.appendChild(a.pixel))}))},this.pixelUrl=new URL(i),this.pixelParams.upid=t,this.pixelParams.cache_buster=Math.floor(Date.now()/1e3);var l=this.pixelParams.hasOwnProperty("iframe_url")?this.pixelParams.iframe_url?null===document||void 0===document?void 0:document.location.href:null===(o=window.top)||void 0===o?void 0:o.location.href:null===(r=window.top)||void 0===r?void 0:r.location.href;l&amp;&amp;(this.isDoubleEncoded(l)?(this.pixelParams.url=decodeURIComponent(l),this.pixelParams.url=decodeURIComponent(this.pixelParams.url)):this.isSingleEncoded(l)?this.pixelParams.url=decodeURIComponent(l):this.pixelParams.url=l);for(var d=0,s=Object.entries(n);d&lt;s.length;d++){var c=s[d],u=c[0],p=c[1];e.includes(u)&amp;&amp;(this.pixelParams[u]=p)}void 0===t&amp;&amp;console.error("upid is required. upid is currently ".concat(t))}return t.prototype.fire=function(){this._documentReady(this._fire)},t.prototype.isSingleEncoded=function(e){return(e=e||"")!==decodeURIComponent(e)},t.prototype.isDoubleEncoded=function(e){if(this.isSingleEncoded(e)){var t=decodeURIComponent(e);return this.isSingleEncoded(t)}return!1},t}();window.ViantUniversalPixel=t})();</pre></body></html>