It will function in a way that when a user shares posts on the app or website, they will get a popup on the page that says “You’re about to share this article without opening it” followed by smaller text that says “Sharing articles without reading them may mean missing key facts.”
$(function() { return $("[data-sticky_column]").stick_in_parent({ parent: "[data-sticky_parent]" }); });
reset_scroll = function() { var scroller; scroller = $("body,html"); scroller.stop(true); if ($(window).scrollTop() !== 0) { scroller.animate({ scrollTop: 0 }, "fast"); } return scroller; };
window.scroll_it = function() { var max; max = $(document).height() - $(window).height(); return reset_scroll().animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
window.scroll_it_wobble = function() { var max, third; max = $(document).height() - $(window).height(); third = Math.floor(max / 3); return reset_scroll().animate({ scrollTop: third * 2 }, max * 3).delay(100).animate({ scrollTop: third }, max * 3).delay(100).animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
$(window).on("resize", (function(_this) { return function(e) { return $(document.body).trigger("sticky_kit:recalc"); }; })(this));
}).call(this);
googletag.pubads().setTargeting('category', ["article","Technology","Facebook","Facebook Feature","Facebook Pop Up","Facebook Article Sharing","Fake News"]); googletag.pubads().enableLazyLoad({ fetchMarginPercent: 50, renderMarginPercent: 50, mobileScaling: 2.0 }); googletag.pubads().disableInitialLoad(); googletag.pubads().enableAsyncRendering(); googletag.pubads().set('page_url','https://zeenews.india.com/'); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); googletag.cmd.push(function() { googletag.display('div-article-rhs-atf-ad'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-0'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-2'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504526235866-6'); });
} on_load_google_ad(); function sendAdserverRequest() { try { if (pbjs && pbjs.adserverRequestSent) return; googletag.cmd.push(function() { googletag.pubads().refresh(); }); } catch (e) {
googletag.cmd.push(function() { googletag.pubads().refresh(); }); } } setTimeout(function() { sendAdserverRequest(); }, 5000);
function on_load_fb_twitter_widgets(){ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.ready = function(f) {
t._e.push(f); }; return t; }(document, "script", "twitter-wjs")); }
//setTimeout(function() { on_load_google_ad(); }, 5000);
setTimeout(function() {
on_load_fb_twitter_widgets();
}, 5000);
Source link