Board Thread:Shitposting/Random crap/@comment-32774689-20180512101035/@comment-34979284-20180602090821



require(['wikia.trackingOptIn'], function (trackingOptIn) {     trackingOptIn.pushToUserConsentQueue(function (optIn) { function genUID { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {                 var r = Math.random * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);                 return v.toString(16);             }); }

function getCookieValue(cookieName) { var cookieSplit = ('; ' + document.cookie).split('; ' + cookieName + '=');

return cookieSplit.length === 2 ? cookieSplit.pop.split(';').shift : null; }

var expireDate = new Date, beacon = getCookieValue('wikia_beacon_id'), script = document.createElement('script'), utma = getCookieValue('__utma'), utmb = getCookieValue('__utmb'), trackUrl, sessionId = getCookieValue('tracking_session_id'), pvNumber = getCookieValue('pv_number'), pvNumberGlobal = getCookieValue('pv_number_global');

if (beacon) { window.beacon_id = beacon; } else { // something went terribly wrong try { var request = new XMLHttpRequest, data = { name: 'MediaWiki.track', description: 'wikia_beacon_id is empty', client: 'oasis' };                 request.open('POST', 'https://services.wikia.com/event-logger/error', true); request.setRequestHeader('Content-type', 'application/json'); request.send(JSON.stringify(data)); } catch (error) { // Ignore error sending log request }         }

window.sessionId = sessionId ? sessionId : genUID; window.pvNumber = pvNumber ? parseInt(pvNumber, 10) + 1 : 1; window.pvNumberGlobal = pvNumberGlobal ? parseInt(pvNumberGlobal, 10) + 1 : 1; window.pvUID = genUID;

expireDate = new Date(expireDate.getTime + 1000 * 60 * 30); document.cookie = 'tracking_session_id=' + window.sessionId + '; expires=' + expireDate.toGMTString + ';domain=' + window.wgCookieDomain + '; path=' + window.wgCookiePath + ';'; document.cookie = 'pv_number=' + window.pvNumber + '; expires=' + expireDate.toGMTString + '; path=' + window.wgCookiePath + ';'; document.cookie = 'pv_number_global=' + window.pvNumberGlobal + '; expires=' + expireDate.toGMTString + ';domain=' + window.wgCookieDomain + '; path=' + window.wgCookiePath + ';';

trackUrl = "https://beacon.wikia-services.com/__track/view?cb=1527682249&c=253983&lc=en&lid=75&x=minecraftcreepypasta&y=c4&a=110324&s=oasis&&n=1200" + ((typeof document.referrer != "undefined") ? "&r=" + encodeURIComponent(document.referrer) : "") + "&rand=" + (new Date).valueOf + (window.beacon_id ? "&beacon=" + window.beacon_id : "") + (utma && utma[1] ? "&utma=" + utma[1] : "") + (utmb && utmb[1] ? "&utmb=" + utmb[1] : "") + '&session_id=' + window.sessionId + '&pv_unique_id=' + window.pvUID + '&pv_number=' + window.pvNumber + '&pv_number_global=' + window.pvNumberGlobal;

if (optIn) { trackUrl += '&u=' + window.wgTrackID; } else { trackUrl += '&u=-1'; }

script.src = trackUrl; document.head.appendChild(script); }); });

require(['wikia.trackingOptIn'], function (trackingOptIn) {     trackingOptIn.init; });

 require(["wikia.trackingOptOut", require.optional("wikia.trackingOptIn")], function (trackingOptOut, trackingOptIn) { function loadScript {     window._comscore = window._comscore || [];     window._comscore.push({ c1: "2", c2: "6177433", options: { url_append: "comscorekw=wikiacsid_games" }     });     var s = document.createElement("script");     s.async = true;     s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";     document.head.appendChild(s); }

if (trackingOptIn) { trackingOptIn.pushToUserConsentQueue(function (optIn) {         if (optIn) {             loadScript;         }     }); } else { trackingOptOut.ifNotOptedOut(function {         loadScript;     }); } });

 window._qevents = window._qevents || []; require(["wikia.trackingOptOut", require.optional("wikia.trackingOptIn")], function (trackingOptOut, trackingOptIn) { function loadScript {     var elem = document.createElement('script');     elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";     elem.async = true;     elem.type = "text/javascript";     document.head.appendChild(elem); }

if (trackingOptIn) { trackingOptIn.pushToUserConsentQueue(function (optIn) {         if (optIn) {             loadScript;         }     }); } else { trackingOptOut.ifNotOptedOut(function {         loadScript;     }); } });  var quantcastLabels = ""; if (window.wgWikiVertical) { quantcastLabels += wgWikiVertical; if (window.wgDartCustomKeyValues) {     var keyValues = wgDartCustomKeyValues.split(';');     for (var i=0; i= 2) {             quantcastLabels += ',' + wgWikiVertical + '.' + keyValue[1];         }     } } } _qevents.push( { qacct:"p-8bG6eLqkH6Avk", labels:quantcastLabels } );  require(['wikia.krux'], function (krux) {