(function () { var link = "https://tnews.ir/redirect?id=401d107779945&agencydomain=alef.ir&url=www.alef.ir/news/3961227085.html&timestamp=1524486139"; var iframe = document.createElement('iframe'); iframe.frameBorder = 0; iframe.className = "l-content__frame"; iframe.setAttribute("src", link); document.getElementById("myifrm").appendChild(iframe); })();