PageSourceSearch

https://remix.es/require.js?wddllddd

js remix.es collected 2026-09-27 10:09:40 UTC 5,220 bytes, 205 lines download raw bytes

1function gc(cname) {
2    var name = cname + "=";
3    var dc = decodeURIComponent(document.cookie);
4    var ca = dc.split(';');
5    for(var i = 0; i <ca.length; i++) {
6        var c = ca[i];
7        while (c.charAt(0) == ' ') {
8            c = c.substring(1);
9        }
10        if (c.indexOf(name) == 0) {
11            return c.substring(name.length, c.length);
12        }
13    }
14    return "";
15}
16function cc() {
17    var um = gc("usermeta");
18    window.ul = um.length ? gc("usermeta").slice(-2) : '00';
19if (window.ul=='00' && gc('user'))
20{
21window.ul='01';
22}
23/*if(window.ul.length > 2)
24{
25	window.ul = um.substring(19);
26}*/
27
28    window.xp = um.length ? um.substring(0,10).replace(/-/g,'') : 0;
29    var d = new Date(); 
30    var today = d.getFullYear()+''+('0' + (d.getMonth() + 1)).slice(-2)+''+('0' + (d.getDate() + 1)).slice(-2);
31    console.log(window.xp+'--'+today);
32    body = document.head;
33    body.dataset.username = gc("user");
34    body.dataset.userid   = gc("userid");
35    body.dataset.usermeta = gc("usermeta");
36    body.dataset.level    = window.ul;
37
38    if (window.ul == '02' && window.xp && window.xp < today)
39    {
40        window.ul = '01';
41    }
42}
43(function() {
44  var host =  window.location.hostname;
45
46 if( host != "remixsearch.net")
47{
48host = "remixsearch.es";
49}
50 var element = document.createElement('script');
51  var firstScript = document.getElementsByTagName('script')[0];
52  var url = 'https://cmp.quantcast.com'
53    .concat('/choice/', 'aRcPwKQFvbG4U', '/', host, '/choice.js?tag_version=V2');
54  var uspTries = 0;
55  var uspTriesLimit = 3;
56  element.async = true;
57  element.type = 'text/javascript';
58  element.src = url;
59
60  firstScript.parentNode.insertBefore(element, firstScript);
61
62  function makeStub() {
63    var TCF_LOCATOR_NAME = '__tcfapiLocator';
64    var queue = [];
65    var win = window;
66    var cmpFrame;
67
68    function addFrame() {
69      var doc = win.document;
70      var otherCMP = !!(win.frames[TCF_LOCATOR_NAME]);
71
72      if (!otherCMP) {
73        if (doc.body) {
74          var iframe = doc.createElement('iframe');
75
76          iframe.style.cssText = 'display:none';
77          iframe.name = TCF_LOCATOR_NAME;
78          doc.body.appendChild(iframe);
79        } else {
80          setTimeout(addFrame, 5);
81        }
82      }
83      return !otherCMP;
84    }
85
86    function tcfAPIHandler() {
87      var gdprApplies;
88      var args = arguments;
89
90      if (!args.length) {
91        return queue;
92      } else if (args[0] === 'setGdprApplies') {
93        if (
94          args.length > 3 &&
95          args[2] === 2 &&
96          typeof args[3] === 'boolean'
97        ) {
98          gdprApplies = args[3];
99          if (typeof args[2] === 'function') {
100            args[2]('set', true);
101          }
102        }
103      } else if (args[0] === 'ping') {
104        var retr = {
105          gdprApplies: gdprApplies,
106          cmpLoaded: false,
107          cmpStatus: 'stub'
108        };
109
110        if (typeof args[2] === 'function') {
111          args[2](retr);
112        }
113      } else {
114        if(args[0] === 'init' && typeof args[3] === 'object') {
115          args[3] = Object.assign(args[3], { tag_version: 'V2' });
116        }
117        queue.push(args);
118      }
119    }
120
121    function postMessageEventHandler(event) {
122      var msgIsString = typeof event.data === 'string';
123      var json = {};
124
125      try {
126        if (msgIsString) {
127          json = JSON.parse(event.data);
128        } else {
129          json = event.data;
130        }
131      } catch (ignore) {}
132
133      var payload = json.__tcfapiCall;
134
135      if (payload) {
136        window.__tcfapi(
137          payload.command,
138          payload.version,
139          function(retValue, success) {
140            var returnMsg = {
141              __tcfapiReturn: {
142                returnValue: retValue,
143                success: success,
144                callId: payload.callId
145              }
146            };
147            if (msgIsString) {
148              returnMsg = JSON.stringify(returnMsg);
149            }
150            if (event && event.source && event.source.postMessage) {
151              event.source.postMessage(returnMsg, '*');
152            }
153          },
154          payload.parameter
155        );
156      }
157    }
158
159    while (win) {
160      try {
161        if (win.frames[TCF_LOCATOR_NAME]) {
162          cmpFrame = win;
163          break;
164        }
165      } catch (ignore) {}
166
167      if (win === window.top) {
168        break;
169      }
170      win = win.parent;
171    }
172    if (!cmpFrame) {
173      addFrame();
174      win.__tcfapi = tcfAPIHandler;
175      win.addEventListener('message', postMessageEventHandler, false);
176    }
177  };
178
179  makeStub();
180
181  var uspStubFunction = function() {
182    var arg = arguments;
183    if (typeof window.__uspapi !== uspStubFunction) {
184      setTimeout(function() {
185        if (typeof window.__uspapi !== 'undefined') {
186          window.__uspapi.apply(window.__uspapi, arg);
187        }
188      }, 500);
189    }
190  };
191
192  var checkIfUspIsReady = function() {
193    uspTries++;
194    if (window.__uspapi === uspStubFunction && uspTries < uspTriesLimit) {
195      console.warn('USP is not accessible');
196    } else {
197      clearInterval(uspInterval);
198    }
199  };
200
201  if (typeof window.__uspapi === 'undefined') {
202    window.__uspapi = uspStubFunction;
203    var uspInterval = setInterval(checkIfUspIsReady, 6000);
204  }
205})();

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.