PageSourceSearch

https://www.elnortedecastilla.es/contentfactory/post/wp-content/pl…/assets/js/adframe.krux.js

js elnortedecastilla.es collected 2026-10-01 09:11:51 UTC 4,949 bytes, 2 lines download raw bytes

1//Krux
2var DigitalContext = (function () { var booted = false; var version = '2.0.0'; var context = { version: version, analytics: {}, browser: {}, content: {}, user: {} }; var getContentFromMetaTag = function (name) { try { var content = document.querySelector("meta[name='" + name + "']").getAttribute('content'); return content; } catch (e) { }; return ''; }; var fillAnalytics = function () { context.analytics = { comscore: { advertisement_blocker: (typeof voc_adb !== 'undefined' ? (voc_adb || '') : ''), content: { author: (typeof voc_au !== 'undefined' ? (voc_au || '') : ''), language: (typeof voc_idi !== 'undefined' ? (voc_idi || '') : ''), modification_date: (typeof voc_fem !== 'undefined' ? (voc_fem || '') : ''), publication_date: (typeof voc_fep !== 'undefined' ? (voc_fep || '') : ''), title: (typeof voc_tn !== 'undefined' ? (voc_tn || '') : ''), type: (typeof voc_tc !== 'undefined' ? (voc_tc || '') : '') }, cover_source: (typeof voc_ho !== 'undefined' ? (voc_ho || '') : ''), domain_type: (typeof voc_pr !== 'undefined' ? (voc_pr || '') : ''), edition: (typeof voc_ed !== 'undefined' ? (voc_ed || '') : ''), information_source: (typeof voc_or !== 'undefined' ? (voc_or || '') : ''), krux: { tagged: (typeof voc_krux !== 'undefined' ? (voc_krux || '') : '') }, mobile_cookie: (typeof voc_adp !== 'undefined' ? (voc_adp || '') : ''), platform_content: (typeof voc_pl !== 'undefined' ? (voc_pl || '') : ''), paywall: { authorization: (typeof voc_pw_result !== 'undefined' ? (voc_pw_result || '') : ''), cookie: (typeof voc_pw_cookie !== 'undefined' ? (voc_pw_cookie || '') : ''), count: (typeof voc_pw_count !== 'undefined' ? (voc_pw_count || '') : ''), counter_max: (typeof voc_pw_max !== 'undefined' ? (voc_pw_max || '') : ''), meter: (typeof voc_pw_meter !== 'undefined' ? (voc_pw_meter || '') : ''), uid: (typeof voc_pw_pid !== 'undefined' ? (voc_pw_pid || '') : '') }, publish_system: (typeof voc_pu !== 'undefined' ? (voc_pu || '') : ''), section: { level_1: (typeof voc_s1 !== 'undefined' ? (voc_s1 || '') : ''), level_2: (typeof voc_s2 !== 'undefined' ? (voc_s2 || '') : ''), level_3: (typeof voc_s3 !== 'undefined' ? (voc_s3 || '') : ''), level_4: (typeof voc_s4 !== 'undefined' ? (voc_s4 || '') : ''), name: (typeof voc_se !== 'undefined' ? (voc_se || '') : '') }, site: { id: (typeof ns_site !== 'undefined' ? (ns_site || '') : ''), name: (typeof voc_site !== 'undefined' ? (voc_site || '') : '') }, topic_grouping: (typeof voc_ate !== 'undefined' ? (voc_ate || '') : ''), user: { access: (typeof voc_usrser !== 'undefined' ? (voc_usrser || '') : ''), age: (typeof voc_usrag !== 'undefined' ? (voc_usrag || '') : ''), id: (typeof voc_usrid !== 'undefined' ? (voc_usrid || '') : ''), gender: (typeof voc_usrgen !== 'undefined' ? (voc_usrgen || '') : ''), navigation_track: (typeof voc_usrsvs !== 'undefined' ? (voc_usrsvs || '') : ''), postal_code: (typeof voc_usrcp !== 'undefined' ? (voc_usrcp || '') : ''), type: (typeof voc_tusr !== 'undefined' ? (voc_tusr || '') : '') } } }; }; var fillBrowser = function () { context.browser = { domain: document.domain, url: document.URL }; }; var fillContent = function (data) { var _data = { section: '', site: '', subsection: '', type: '', metadata: { author: '', description: '', keywords: '', title: '' } }; if (typeof data === 'object') { if (typeof data.site !== 'undefined') { _data.site = data.site; }; if (typeof data.section !== 'undefined') { _data.section = data.section; }; if (typeof data.subsection !== 'undefined') { _data.subsection = data.subsection; }; if (typeof data.type !== 'undefined') { _data.type = data.type; }; }; var hasMetadata = (typeof data.metadata === 'object') ? true : false; if (hasMetadata && typeof data.metadata.author !== 'undefined') { _data.metadata.author = '' + data.metadata.author; } else { _data.metadata.author = getContentFromMetaTag('author'); }; if (hasMetadata && typeof data.metadata.description !== 'undefined') { _data.metadata.description = '' + data.metadata.description; } else { _data.metadata.description = getContentFromMetaTag('description'); }; if (hasMetadata && typeof data.metadata.keywords !== 'undefined') { _data.metadata.keywords = '' + data.metadata.keywords; } else { _data.metadata.keywords = getContentFromMetaTag('news_keywords'); if (_data.metadata.keywords === '') { _data.metadata.keywords = getContentFromMetaTag('keywords'); } }; if (hasMetadata && typeof data.metadata.title !== 'undefined') { _data.metadata.title = '' + data.metadata.title; } else { _data.metadata.title = document.title; }; context.content = _data; }; var fillUser = function () { context.user = {}; }; var init = function (data) { data = data || {}; fillAnalytics(); fillBrowser(); fillContent(data); fillUser(); booted = true; }; return { isBooted: function () { return booted; }, getVersion: function () { return version; }, getContext: function () { if (false === booted) { init(); }; return context; }, init: init }; })();

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.