: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if (document.addEventListener) {
document.addEventListener('click', handleIntent, false);
} else if (document.attachEvent) {
document.attachEvent('onclick', handleIntent);
window.__twitterIntentHandler = true;
function ctfCmplzGetCookie(cname) {
var name = cname + "="; //Create the cookie name variable with cookie name concatenate with = sign
var cArr = window.document.cookie.split(';'); //Create cookie array by split the cookie by ';'
//Loop through the cookies and return the cookie value if it find the cookie name
for (var i = 0; i < cArr.length; i++) {
//If the name is the cookie string at position 0, we found the cookie and return the cookie value
if (c.indexOf(name) == 0)
return c.substring(name.length, c.length);
function ctfLocationGuess($feed) {
var location = 'content';
if ($feed.closest('footer').length) {
} else if ($feed.closest('.header').length
|| $feed.closest('header').length) {
} else if ($feed.closest('.sidebar').length
|| $feed.closest('aside').length) {
} //End ctf_js_exists check