PageSourceSearch

https://www.tevapharm.com/js/Features/Blocks/StockTicker/Client/Default/stock-ticker.js?v=639251641280000000

js tevapharm.com collected 2026-10-02 02:27:30 UTC 1,446 bytes, 1 lines download raw bytes

1$(document).ready(function(){async function n(){try{const h={exchange:r,symbol:u},c=new URLSearchParams(h).toString(),l=`${t}?${c}`,s=await fetch(l,{method:"GET"});if(!s.ok)throw new Error("Response was not ok: "+s.status);const i=await s.json();if(!i||!i.GetStockQuoteListResult||i.GetStockQuoteListResult.length===0){console.warn("No stock data received from API");return}const f=i.GetStockQuoteListResult[0],n={TradePrice:f.TradePrice,Change:f.Change,PercChange:f.PercChange,TradeDate:new Date(f.TradeDate)};$("vision-format-ticker-button").attr("price",`$${Number(n.TradePrice).toFixed(2)}`);$(".change").text(n.Change);$(".change-percentage").text(`(${n.PercChange}%)`);$(".date").text(o(n.TradeDate));const a=e(n.TradeDate);$(".time").text(`${a}`)}catch(n){console.error("Error loading stock quote:",n)}}function e(n){let i=n.getHours();const r=n.getMinutes();let t=i%12;t===0&&(t=12);const u=i>=12?"PM":"AM",f=r.toString().padStart(2,"0");return`${t}:${f} ${u} EDT`}function o(n){if(!n)return"";const t=n instanceof Date?n:new Date(n);if(isNaN(t))return"";const r={d:t.getDate(),yyyy:t.getFullYear(),MMMM:t.toLocaleString("default",{month:"long"})};return i.replace(/(d|yyyy|MMMM)/g,n=>r[n])}const t="https://ir.tevapharm.com/feed/StockQuote.svc/GetStockQuoteList",i="MMMM d, yyyy",r="NYSE",u="TEVA",f=10;$("vision-format-ticker-button").each(function(){const t=$(this),i=parseInt(t.attr("delay"))||f;n();const r=i*6e4;setInterval(n,r)})})

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.