PageSourceSearch

https://www.worldteanews.com/modules/custom/quartz_ads/js/omedaseg.js?v=1

js worldteanews.com collected 2026-10-02 03:57:06 UTC 1,126 bytes, 44 lines download raw bytes

1function setCookie(name, value, days) {
2  let expires = "";
3  if (days) {
4    let date = new Date();
5    date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
6    expires = "; expires=" + date.toUTCString();
7  }
8  document.cookie = name + "=" + (value || "") + expires + "; path=/";
9}
10
11function getOlyticsGamSegments() {
12  if (document.cookie.length > 0) {
13    return getCookieValue(OMEDA_SEGMENTS_COOKIE);
14  }
15  return '';
16}
17
18function olyticsDfpSegments(olyPayload) {
19  //lets set the tarageting params in our cookie
20  let olyTSString = JSON.stringify(olyPayload);
21  setCookie(OMEDA_SEGMENTS_COOKIE, olyTSString, 30);
22}
23
24/**
25 *
26 */
27function loadOlyticsSegmentsFromOmeda() {
28  if (document.querySelector('#olyticsImport')) {
29    document.querySelector('#olyticsImport').addEventListener('load', function () {
30      window.olytics.loadDfpSegments();
31    });
32  }
33}
34
35(function () {
36  let olyticsImport = document.querySelector('#olyticsImport');
37  if (!olyticsImport) {
38    setTimeout(loadOlyticsSegmentsFromOmeda, 500);
39  }
40  else {
41    loadOlyticsSegmentsFromOmeda();
42  }
43  let segments = getOlyticsGamSegments();
44})();

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.