(function () { let commentURL = "https://comment.ifragasatt.se/count?customerId=14&articleId=1.91772139&adFrequency=5&alias=false&articleUrl=http://www.gp.se/nyheter/världen/minister-mot-riksrätt-efter-trängselkatastrof-1.91772139&articleTitle=Minister+mot+riksr%C3%A4tt+efter+tr%C3%A4ngselkatastrof&commentsToShow=3&cssUrl=https://www.gp.se/polopoly_fs/3.200.1672823470!/css/ifragasatt.css&articleDescription=%3Celement+xmlns%3D%22http%3A%2F%2Fwww.infomaker.se%2Fidf%2F1.0%22%0A+++++++++id%3D%22CrXAFEECo9Y7QEu7%22%0A+++++++++type%3D%22preamble%22%3ESydkoreas+inrikes-+och+s%C3%A4kerhetsminister+Lee+Sang-Min+%C3%A4r+p%C3%A5+v%C3%A4g+att+st%C3%A4llas+inf%C3%B6r+riksr%C3%A4tt+f%C3%B6r+sitt+ansvar+kring+den+stora+tr%C3%A4ngselkatastrofen+i+Seoul+i+h%C3%B6stas.%3C%2Felement%3E&display=count&articleImage=/image/policy:1.84856181:1667665226/image.jpg?f=Wide&w=1200&$p$f$w=834285a&articlePublishedTime=2023-02-08 10:56:35&articleTitle=Minister+mot+riksr%C3%A4tt+efter+tr%C3%A4ngselkatastrof&stickylogin=true&languageName=svenska&languageShortName=sv"; let allowSticky = commentURL.includes("stickylogin=true"); if (allowSticky) { let cookie = document.cookie .split('; ') .find(row => row.startsWith('ifragasatt_cookie=')); if (cookie) { let cookieValue = cookie.split('=')[1]; commentURL += "&cookie=" + cookieValue; } } function getDomain(url) { url = url.replace(/(https?:\/\/)?(www.)?/i, ''); if (url.indexOf('/') !== -1) { url = url.split('/')[0]; } return "." + url; } let ifrURL = ""; document.getElementById("ifragasatt-1.91772139").innerHTML = ifrURL; window.addEventListener('message', receiveMessage, false); function receiveMessage(evt) { const commentDiv = document.getElementById("ifragasatt-1.91772139"); let domain = window.location.hostname.replace(/(https?:\/\/)?(www.)?/i, ''); if (domain.indexOf('/') !== -1) { domain = domain.split('/')[0]; } if (evt.data.id === "ifragasatt-1.91772139" && commentDiv && commentDiv.firstChild) { document.getElementById("ifragasatt-1.91772139").firstChild.style.height = evt.data.height; } if (allowSticky && (evt.data.id === "ifr-set-cookie")) { const token = evt.data.token; if (token && token.length > 0) { const maxAge = 30 * 24 * 60 * 60; const cookie = "ifragasatt_cookie=" + token + "; max-age=" + maxAge + ";domain=." + domain + ";"; document.cookie = cookie; } } if (evt.data.id === "ifr-remove-cookie") { const cookie = "ifragasatt_cookie=;expires=Thu, 01 Jan 1970 00:00:01 GMT;max-age=-1;domain=." + domain + ";"; document.cookie = cookie; commentURL = "https://comment.ifragasatt.se/count?customerId=14&articleId=1.91772139&adFrequency=5&alias=false&articleUrl=http://www.gp.se/nyheter/världen/minister-mot-riksrätt-efter-trängselkatastrof-1.91772139&articleTitle=Minister+mot+riksr%C3%A4tt+efter+tr%C3%A4ngselkatastrof&commentsToShow=3&cssUrl=https://www.gp.se/polopoly_fs/3.200.1672823470!/css/ifragasatt.css&articleDescription=%3Celement+xmlns%3D%22http%3A%2F%2Fwww.infomaker.se%2Fidf%2F1.0%22%0A+++++++++id%3D%22CrXAFEECo9Y7QEu7%22%0A+++++++++type%3D%22preamble%22%3ESydkoreas+inrikes-+och+s%C3%A4kerhetsminister+Lee+Sang-Min+%C3%A4r+p%C3%A5+v%C3%A4g+att+st%C3%A4llas+inf%C3%B6r+riksr%C3%A4tt+f%C3%B6r+sitt+ansvar+kring+den+stora+tr%C3%A4ngselkatastrofen+i+Seoul+i+h%C3%B6stas.%3C%2Felement%3E&display=count&articleImage=/image/policy:1.84856181:1667665226/image.jpg?f=Wide&w=1200&$p$f$w=834285a&articlePublishedTime=2023-02-08 10:56:35&articleTitle=Minister+mot+riksr%C3%A4tt+efter+tr%C3%A4ngselkatastrof&stickylogin=true&languageName=svenska&languageShortName=sv"; ifrURL = ""; document.getElementById("ifragasatt-1.91772139").innerHTML = ifrURL; } } })();