'); } } if (window.location.href.indexOf("topic") > -1) { // Moving Recent topics inside body // $(".topic").append($("#recent-topics")); $(".topic").append($(".trending-recently")).css('text-align', 'left'); $(".topic").append($(".trending-weekly")).css('text-align', 'left'); // show native ads below post bar // $(".posts").append($("#bg_451161498")); disabled for mgid } if (window.location.href.substring(38).indexOf("chatrooms") > -1) { // var f = document.createElement('iframe'); // f.id = "rc-iframe"; // f.name = "rc-iframe"; // f.class = "rc-channel"; // f.src = "https://chat.talkwithstranger.com/channel/chatroom"; // f.width = 100 + "%"; // f.height = 100 + "%"; // f.frameBorder = "none"; // f.frameBorder = "none"; // $('#global-chat').html(f); // if ($(window).width() < 960) { // // Smaller screens scroll to top // } // else { // // Don't do anything // } } // check for getjson // $.getJSON('http://talkwithstranger.com/community.json', function (data) { // console.log(data); // var items = data.items.map(function (item) { // return item.key + ': ' + item.value; // }); // }); // $.getJSON("http://talkwithstranger.com/community.json?callback=?", function(result){ // //response data are now in the result variable // console.log(result); // }); //codes for ads insertions var bg_300x250M = ""; bg_300x250M += ""; bg_300x250M += ""; bg_300x250M += "