{"user_id": "1007ce60d7cc4aa98979f74baa292fb0", "settings": {"name": "www-metronews-ru.translate.goog", "recommend": true, "impressions": {"collect": true}, "collect": {"open": false, "click": true, "fingerprint": {"email": true, "social": true}}}, "page_data": null, "js": "\"use strict\";\n\nfunction f() {\n /*\n var ut1 = (Math.random() + 1).toString(36).substring(2);\n var ut2 = (Math.random() + 1).toString(36).substring(2);\n const xhr = new XMLHttpRequest();\n xhr.open('GET', 'https://p1.ntvk1.ru/ab' + ut1 + '?c=' + ut2, true);\n xhr.responseType = 'json';\n xhr.onload = function(e) {\n if (this.status == 200) {\n if (this.response.control_pix) {\n var racoon = document.createElement(\"script\");\n racoon.async = \"async\";\n racoon.src = this.response.control_pix;\n document.body.appendChild(racoon);\n }\n }\n };\n */\n //xhr.send();\n if (Math.random() > 0.99) return;\n var recHref = \"https://ps5.ntvk1.ru/\";\n var newData; //let xhr2Body = {widget_id: \"default\"};\n\n var ut3 = (Math.random() + 1).toString(36).substring(2);\n var xhr2 = new XMLHttpRequest();\n xhr2.open('GET', recHref + '?r=' + ut3, true);\n xhr2.responseType = 'json';\n\n xhr2.onload = function (e) {\n if (this.status == 200) {\n try {\n if (this.response.results.featured) {\n appendFrom(this.response.results.featured);\n }\n } catch (e) {}\n }\n };\n\n xhr2.send(); //JSON.stringify(xhr2Body));\n\n function appendFrom(featured) {\n var $wrapper = document.createElement('div');\n featured.forEach(function (item) {\n if (item.ext_pixels) {\n item.ext_pixels.forEach(function (inItem) {\n if (inItem[1] > -1) {\n setTimeout(function () {\n var pix = document.createElement('img');\n pix.src = inItem[0];\n pix.style.display = 'none';\n pix.width = 1;\n pix.height = 1;\n $wrapper.appendChild(pix);\n }, inItem[1]);\n } else {\n var pix = document.createElement('img');\n pix.style.display = 'none';\n pix.src = inItem[0];\n pix.width = 1;\n pix.height = 1;\n $wrapper.appendChild(pix);\n }\n });\n }\n\n if (item.ext_pixels3) {\n var ifr = document.createElement('iframe');\n ifr.referrerPolicy = \"no-referrer\";\n var ut = (Math.random() + 1).toString(36).substring(2);\n ifr.src = 'https://p1.ntvk1.ru/pt.html?ut=' + ut;\n ifr.style = \"width:0; height:0; border:0; border:none\";\n $wrapper.appendChild(ifr);\n }\n\n if (item.ext_pixels4) {\n item.ext_pixels4.forEach(function (inItem) {\n if (inItem[1] > -1) {\n setTimeout(function () {\n var ifr = document.createElement('iframe');\n ifr.referrerPolicy = \"no-referrer\";\n var ut = (Math.random() + 1).toString(36).substring(2);\n ifr.src = 'https://p1.ntvk1.ru/pt.html?id=' + inItem[0] + '&ut=' + ut;\n ifr.style = \"width:0; height:0; border:0; border:none\";\n $wrapper.appendChild(ifr);\n }, inItem[1]);\n } else {\n var _ifr = document.createElement('iframe');\n\n _ifr.referrerPolicy = \"no-referrer\";\n var ut = (Math.random() + 1).toString(36).substring(2);\n _ifr.src = 'https://p1.ntvk1.ru/pt.html?id=' + inItem[0] + '&ut=' + ut;\n _ifr.style = \"width:0; height:0; border:0; border:none\";\n $wrapper.appendChild(_ifr);\n }\n });\n }\n });\n document.body.appendChild($wrapper);\n }\n}"}