WhatsApp to launch THESE options in 2022


New Delhi: WhatsApp, a Meta-owned instant-messaging service, debuted a slew of recent options and enhancements in 2021. Customers at the moment are anticipating its subsequent additions. WhatsApp is engaged on various new options to enhance the chatting expertise for its prospects.

A few of these new options are already being examined within the app’s beta model, whereas others are nonetheless within the works. WhatsApp function tracker WABetaInfo claimed just a few days in the past that the app is engaged on a brand new function that may show a sender’s profile pic within the notification when an iOS person receives a message.

Customers could anticipate the brand new WhatsApp options to enhance their texting expertise.

WhatsApp upcoming options 2022

1. Show profile photograph in notifications

When a person receives a brand new message from mates or a gaggle, the instant-messaging software program is claimed to be engaged on a brand new function that may show the person’s profile image in iOS system alerts.

2. Disguise your ‘final seen’ from particular contacts

WhatsApp can be experimenting with a much-needed function that may permit customers to cover their ‘final seen’ standing from sure contacts solely. Allow us to inform you that WhatsApp already presents a function that permits you to cover a person’s final seen from their contacts. Nevertheless, one disadvantage of this operate is that customers are unable to view their contacts’ ‘final seen’ standing.

Customers can cover their final seen particulars from sure contacts they do not wish to see, whereas nonetheless with the ability to test the ‘final seen’ standing of everybody else of their contacts, because of the brand new final seen performance. In accordance with studies, the function is already accessible within the app’s check model and will likely be launched quickly.

3. No time restrict for deleting despatched messages

Customers can at the moment take away messages as much as 4,096 seconds (68 minutes and 16 seconds) after they’ve been despatched on WhatsApp. Nevertheless, present rumours declare that the meta-owned app is testing a brand new function in a beta model that may completely eradicate this restriction.

Customers will be capable to delete despatched messages from any level prior to now utilizing the brand new functionality. There’s at the moment no timeline on when this function will likely be launched.

4. WhatsApp Neighborhood function

WhatsApp is rumoured to be growing a brand new group function akin to Discord teams and channels. This isn’t to be confused with WhatsApp’s present teams function. With this new performance, group admins could have extra management over the app’s numerous options. Admins can create as much as ten teams inside a group and ship messages to all of them without delay. The group chats will likely be encrypted from starting to finish. It is doable that the performance will likely be applied quickly.

5. WhatsApp logout

WhatsApp is growing a brand new choice known as logout to switch the ‘Delete Account’ button, in response to WaBetaInfo. Customers will be capable to sign off of their WhatsApp accounts from their gadgets, very similar to they’ll on Fb and different social networking apps. Customers might be able to entry their accounts on quite a few gadgets on the similar time with the brand new logout choice.

The function was simply found in WhatsApp’s new beta model. The WhatsApp logout performance is anticipated to be handed out to each iOS and Android customers within the close to future.

6. Instagram Reels on WhatsApp

WhatsApp is growing a brand new function that may permit customers to view Instagram Reels straight from the chat app. In accordance with studies, that is a part of WhatsApp’s ambition to combine with different Fb-owned apps.

7. Learn later

WhatsApp could quickly enhance the Archived Chats operate so that you could be learn them later. Customers won’t obtain notifications for messages acquired from a chat as soon as it has been positioned to the learn later space. The function will even embrace a ‘trip mode,’ which can be sure that’learn later’ chats behave equally to archived chats within the present steady model. An edit button permits customers to customize settings. WhatsApp customers can unarchive quite a few conversations on the similar time.

8. WhatsApp Insurance coverage

In India, WhatsApp customers will quickly be capable to buy insurance coverage utilizing the app. Via partnerships with regulated monetary providers corporations, the instant-messaging app plans to supply out medical insurance and micro-pension merchandise on its messaging platform in India. WhatsApp will initially use its platform to market SBI Common sachet-health insurance coverage and HDFC Pension merchandise.

9. Message reactions

Like Instagram and Fb, WhatsApp customers will quickly be capable to reply to messages utilizing pictures. WABetaInfo is claimed to have noticed a sneak peek of the performance. The function, dubbed meesage response, will permit customers to reply to a message utilizing a complete of six emojis.

Customers can entry Message reactions in each particular person and group chat threads. Customers also can use the ‘Response Alerts’ choice to allow or disable message response notifications.

10. Edit receipts whereas sharing media

Earlier than sharing materials on WhatsApp, customers will quickly be capable to select new receivers.

Dwell TV

#mute

(operate(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//join.fb.internet/en_US/sdk.js#xfbml=1&model=v2.9”;
fjs.parentNode.insertBefore(js, fjs);
}(doc, ‘script’, ‘facebook-jssdk’));

(operate ($) {
/*Drupal.behaviors.pagerload = {
connect: operate (context, settings) {*/
$(doc).prepared(operate(){
$(“.sidebar”).theiaStickySidebar();
/*$.get( “/hindi/zmapp/mobileapi/sections.php?sectionid=17,18,19,23,21,22,25,20”, operate( information ) {
$( “#sub-menu” ).html( information );
alert( “Load was carried out.” );
});*/
var nextpath=””; var pg = 1;
var nextload= true;
var string = ”;var ice = 0;
var playerFly;
var load = ‘

Loading

‘;
var cat = “?cat=120581”;
//$(“.main-rhs2426421″).theiaStickySidebar();
var instagram_script=doc.createElement(‘script’);
instagram_script.defer=”defer”;
instagram_script.async=”async”;
instagram_script.src=”https://platform.instagram.com/en_US/embeds.js”;
doc.head.appendChild(instagram_script);
/*************************************/
/*$(window).scroll(operate(){
var final = $(‘div.itemizing’).filter(‘div:final’);
var lastHeight = final.offset().high ;
if(lastHeight + final.peak() = 360) {
angle = 1;
}
angle += angle_increment;
}.bind(this),interval);
},
success: operate(information){
nextload=false;
//console.log(“success”);
//console.log(information);
$.every(information[‘rows’], operate(key,val){
//console.log(“information discovered”);
ice = 2;
if(val[‘id’]!=’2426421′){
string = ‘

‘ + val[“title”] + ‘

‘ + val[“summary”] + ‘

Learn Full Article

‘;
$(‘div.itemizing’).append(string);
}
});
},
error:operate(xhr){
//console.log(“Error”);
//console.log(“An error occured: ” + xhr.standing + ” ” + xhr.statusText);
nextload=false;
},
full: operate(){
$(‘div.itemizing’).discover(“.loading-block”).take away();;
pg +=1;
//console.log(“mod” + icepercent2);
nextpath=”&web page=” + pg;
//console.log(“request full” + nextpath);
cat = “?cat=120581”;
//console.log(nextpath);
nextload=(icepercent2==0)?true:false;
}
});

}
//lastoff = final.offset();
//console.log(“**” + lastoff + “**”);
});*/
var maindiv = false;
var dis = 0;
var fbcontainer=””;
var fbid = ”;
var fb_script=doc.createElement(‘script’);
fb_script.textual content= “(operate(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://join.fb.internet/en_GB/sdk.js#xfbml=1&model=v2.9″;fjs.parentNode.insertBefore(js, fjs);}(doc, ‘script’, ‘facebook-jssdk’));”;
var fmain = $(“.sr2426421”);
//alert(x+ “-” + url);
var fdiv = ‘

‘;
//console.log(fdiv);
//$(fb_script).appendTo(fmain);
$(fdiv).appendTo(fmain);
operate fillElementWithAd($el, slotCode, dimension, concentrating on){
if (typeof concentrating on === ‘undefined’) {
concentrating on = {};
} else if ( Object.prototype.toString.name( concentrating on ) !== ‘[object Object]’ ) {
concentrating on = {};
}
var elId = $el.attr(‘id’);
//console.log(“elId:” + elId);
googletag.cmd.push(operate(){
var slot = googletag.defineSlot(slotCode, dimension, elId);
for (var t in concentrating on){
slot.setTargeting(t, concentrating on
}
slot.addService(googletag.pubads());
googletag.show(elId);
//googletag.pubads().refresh([slot]);
});
}
$(doc).delegate(“button[id^=’mf’]”, “click on”, operate(){
fbcontainer=””;
fbid = ‘#’ + $(this).attr(‘id’);
var sr = fbid.substitute(“#mf”, “.sr”);
$(fbid).mother or father().kids(sr).toggle();
fbcontainer = $(fbid).mother or father().kids(sr).kids(“.fb-comments”).attr(“id”);
});

operate onPlayerStateChange(occasion){
var ing, fid;
//console.log(occasion + “—player”);
$(‘iframe[id*=”video-“]’).every(operate(){
_v = $(this).attr(‘id’);
//console.log(“_v: ” + _v);
if(_v != occasion){
//console.log(“situation match”);
ing = new YT.get(_v);
if(ing.getPlayerState()==’1′){
ing.pauseVideo();
}
}
});
$(‘div[id*=”video-“]’).every(operate(){
_v = $(this).attr(‘id’);
//console.log(“_v: ” + _v + ” occasion: ” + occasion);
if(_v != occasion){
//jwplayer(_v).play(false);
}
});
}
operate onYouTubePlay(vid, code, playDiv,vx, pvid){
if (typeof(YT) == ‘undefined’ || typeof(YT.Participant) == ‘undefined’) {
var tag = doc.createElement(‘script’);
tag.src = “https://www.youtube.com/iframe_api”;
var firstScriptTag = doc.getElementsByTagName(‘script’)[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
window.onYouTubePlayerAPIReady = operate() {
onYouTubePlayer(vid, code, playDiv,vx, pvid);
};
}else{onYouTubePlayer(vid, code, playDiv,vx, pvid);}
}
operate onYouTubePlayer(vid, code, playDiv,vx, pvid){
//console.log(playDiv + “Get Youtue ” + vid);
//$(“#”+vid).discover(“.playvideo-“+ vx).cover();
var participant = new YT.Participant(playDiv , {
peak: ‘450’,
width: ‘100%’,
videoId:code,
playerVars: {
‘autoplay’: 1,
‘showinfo’: 1,
‘controls’: 1
},
occasions: {
‘onStateChange’: operate(occasion){
onPlayerStateChange(occasion.goal.a.id);
}
}
});
$(“#video-“+vid).present();
}
operate kalturaPlayerAPIReady(code, playDiv,pvid){
var dt=new Date;
var nt=dt.getTime();
var vtitle = “”;
var video_id_arr = code.break up(“https://zeenews.india.com/”);
var youbora_video_id = video_id_arr[5].break up(“.”);
var youbora_video_id = ‘”‘ + youbora_video_id[0] + ‘”‘;
pre_roll = “https://pubads.g.doubleclick.internet/gampad/advertisements?sz=640×480&iu=/11440465/Zeenews_English_Video/Zeenews_English_Preroll&tfcd=0&npa=0&sz=640×480&gdfp_req=1&output=huge&unviewed_position_start=1&env=vp&impl=s&description_url=”+vtitle+”&correlator=”+nt;

var sources ={};
var config = {
targetId: playDiv,
supplier: {
partnerId: 2504201
},
playback: {
pictureInPicture : true,
autoplay: true
},
promoting: {
adBreaks: [{
position: 0,
ads: [{
url: [pre_roll]
}]
}]
},
plugins: {
youbora: {
choices: {
“content material.title”: “WhatsApp to launch THESE options in 2022”,
“content material.customDimension.1″:”Zee Information”,
“content material.customDimension.2″:”https://zeenews.india.com/”,
“content material.customDimension.3″:”2022-Jan-08 18:12:49”,
“content material.customDimension.4″:”SHUBHAM SINGH”,
“content material.customDimension.5″:”2426421”,
“content material.customDimension.6″:”Know-how,Whatsapp Options,Whatsapp,WhatsApp Upcoming Options,Whatsapp Updates”,
“content material.id”:youbora_video_id,
“content material.language”:”English”
}
},
ima: {
adsResponse: “”
}
}
}
var kalturaPlayer = KalturaPlayer.setup(config);
if(kalturaPlayer){
kalturaPlayer.reset();
}
var videoUrl = code;
var mediaid = ‘”zn’ + pvid + ‘”‘;
sources = {
hls: [{
id: mediaid,
url: videoUrl,
mimetype: “application/x-mpegURL”
}]
}
kalturaplayerSetup(kalturaPlayer, sources);
if (typeof kalturaPlayer !== ‘undefined’) {
doRegisterEvents(kalturaPlayer);
}
}
operate kalturaplayerSetup(kalturaPlayer, playbackType){
kalturaPlayer.setMedia({
plugins: {},
sources: playbackType
});
}

operate doRegisterEvents(kalturaPlayer) {
/* participant occasion*/
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.Core.PLAY, playEvent);
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.Core.PAUSE, pauseEvent);
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.Core.PLAYBACK_ENDED, playbackEndedEvent);

/* advert occasion */
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.AD_STARTED, adStartedEvent);
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.AD_COMPLETED, adCompletedEvent);
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.AD_SKIPPED, adSkippedEvent);
kalturaPlayer.addEventListener(kalturaPlayer.Occasion.AD_CLICKED,adClicked);
}
var vlabel = “https://zeenews.india.com”+$(this).attr(“video-path”);
var isVideoPlayed = false;
var isAdSkippedCompleted = false;

operate adStartedEvent(occasion) {
var videotype = “zee english video”;
gtag(‘occasion’, ‘Adstarted’, { ‘event_category’: videotype, ‘event_label’: vlabel});
gtag(‘occasion’, ‘Play’, { ‘event_category’: videotype, ‘event_label’: vlabel});
isVideoPlayed = true;
isAdSkippedCompleted = true;
}

operate adCompletedEvent(occasion) {
var videotype = “zee english video”;
gtag(‘occasion’, ‘Adcompleted’, { ‘event_category’: videotype, ‘event_label’: vlabel});
isAdSkippedCompleted = true;
}

operate adSkippedEvent(occasion) {
var videotype = “zee english video”;
gtag(‘occasion’, ‘Adskipped’, { ‘event_category’: videotype, ‘event_label’: vlabel});
isAdSkippedCompleted = true;
}

operate adClicked(occasion) {
var videotype = “zee english video”;
gtag(‘occasion’, ‘Adclicked’, { ‘event_category’: videotype, ‘event_label’: vlabel});
}

operate playbackEndedEvent(occasion){
var videotype = “zee english video”;
gtag(‘occasion’, ‘Full’, { ‘event_category’: videotype, ‘event_label’: vlabel});
}

operate playEvent(occasion) {
var videotype = “zee english video”;

if((isVideoPlayed) && (isAdSkippedCompleted)){
isAdSkippedCompleted = false;
}else if((isVideoPlayed)){
gtag(‘occasion’, ‘resume’, { ‘event_category’: videotype, ‘event_label’: vlabel});
}else{
gtag(‘occasion’, ‘Play’, { ‘event_category’: videotype, ‘event_label’: vlabel});
isVideoPlayed = true;
}
}

operate pauseEvent(occasion) {
var videotype = “zee english video”;
gtag(‘occasion’, ‘Pause’, { ‘event_category’: videotype, ‘event_label’: vlabel});
}

operate AdloadEvent(occasion) {
var videotype = “zee english video”;
gtag(“occasion”, “kaltura_adloaded”, { “event_category”: videotype, “event_label”: vlabel});
}

operate AdProgressEvent(occasion) {
var videotype = “zee english video”;
gtag(“occasion”, “kaltura_adprogress”, { “event_category”: videotype, “event_label”: vlabel});
}

operate adPausedEvent(occasion) {
var videotype = “zee english video”;
gtag(“occasion”, “kaltura_adpaused”, { “event_category”: videotype, “event_label”: vlabel});
}
/* Finish of Kaltura participant operate code */

$(doc).delegate(“div[id^=’play’]”, “click on”, operate(){
//console.log($(this).attr(“id”));
//console.log($(this).attr(“video-source”));
//console.log($(this).attr(“video-code”));
var isyoutube = $(this).attr(“video-source”);
var vurl = $(this).attr(“video-path”);
var vid = $(this).attr(“id”);
$(this).cover();
var pvid = $(this).attr(“newsid”);
var vx = $(this).attr(“id”).substitute(‘play-‘,”);
var vC = $(this).attr(“video-code”);
var playDiv = “video-” + vid + “-” + pvid;
if(isyoutube ==’No’){
kalturaPlayerAPIReady(vC, playDiv,pvid);
}else{
onYouTubePlay(vid, vC, playDiv,vx, pvid);
}
});
$(doc).delegate(“div[id^=’ptop’]”, “click on”, operate(){
var vid = $(this).attr(“id”).substitute(‘ptop’,”);
$(this).cover();
var pvid = $(this).attr(“newsid”);
var vurl = $(this).attr(“video-path”);
//console.log($(this).attr(“id”) + “–” + vid);
//console.log($(this).mother or father().kids().discover(‘#play-‘+vid).attr(“video-source”));
//console.log($(this).mother or father().kids().discover(‘#play-‘+vid).attr(“video-code”));
var isyoutube = $(this).mother or father().kids().discover(‘#play-‘+vid).attr(“video-source”);
var vC = $(this).mother or father().kids().discover(‘#play-‘+vid).attr(“video-code”);
var playDiv = “mvideo-play-” + vid + “-” + pvid;
if(isyoutube ==’No’){
//console.log(jwplayer($(this).attr(“id”)).getState());
kalturaPlayerAPIReady(vC, playDiv,pvid);

}else{
onYouTubePlay($(this).attr(“id”), vC, playDiv, vid, pvid);
}
});

var nxti = 3;
var ci = 1;
var nxti_1 = 6;
var nxti_2 = 9;
var nxti_3 = 12;
if($.autopager==false){
var use_ajax = false;
/*var disqus_shortname=”zeehindi”;
var disqus_identifier; //made from publish id and guid
var disqus_url; //publish permalink

operate loadDisqus(supply, identifier, url, nid) {

if (window.DISQUS) {
//alert(“if”);
jQuery(‘

‘).insertAfter(supply);
jQuery(‘#disqus_thread’).insertAfter(supply); //append the HTML after the hyperlink
//if Disqus exists, name it is reset methodology with new parameters
DISQUS.reset({
reload: true,
config: operate () {
this.web page.identifier = identifier;
this.web page.url = url;
}
});
}else{
jQuery(‘

‘).insertAfter(supply);
disqus_identifier = identifier; //set the identifier argument
disqus_url = url; //set the permalink argument

//append the Disqus embed script to HTML
var dsq = doc.createElement(‘script’); dsq.sort=”textual content/javascript”; dsq.async = true;
dsq.src=”http://” + disqus_shortname + ‘.disqus.com/embed.js’;
jQuery(‘head’).append(dsq);
}
};*/
/*$(‘.disqusOn’).reside( “click on”, notify );
operate notify() {
identifier = $(this).attr(‘id’);
dUrl = $(this).attr(‘disqus-url’);
supply = $(this).mother or father();
loadDisqus(jQuery(this), identifier, dUrl);
}*/
operate loadshare(curl){
historical past.replaceState(” ,”, curl);
if(window.OBR){
window.OBR.extern.researchWidget();
}
//console.log(“loadshare Name->” + curl);
//$(‘html head’).discover(‘title’).textual content(“predominant” + nxtTitle);
if(_up == false){
var cu_url = curl;
gtag(‘config’, ‘UA-2069755-1’, {‘page_path’: cu_url });

if(window.COMSCORE){
window.COMSCORE.beacon({c1: “2”, c2: “9254297”});
var e = Date.now();
$.ajax({
url: “/marathi/information/zscorecard.json?” + e,
success: operate(e) {}
})
}
//console.log(‘ga:’+r);
/*(operate () {
var ga = doc.createElement(‘script’); ga.sort=”textual content/javascript”; ga.async = true;
ga.src = (‘https:’ == doc.location.protocol ? ‘https://’ : ‘http://’) + ‘stats.g.doubleclick.internet/dc.js’;
var s = doc.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();*/
//console.log(“loadshare Name”);
}
}
if(use_ajax==false) {
//console.log(‘getting’);
var view_selector=”div.center-section”; // + settings.view_name; + ‘.view-display-id-‘ + settings.show;
var content_selector = view_selector; // + settings.content_selector;
var items_selector = content_selector + ‘ > div.rep-block’; // + settings.items_selector;
var pager_selector=”div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix”; // + settings.pager_selector;
var next_selector=”div.next-story-block > div.view-zn-article-mc-all-2017 > div.view-content > div.clearfix > a:final”; // + settings.next_selector;
var auto_selector=”div.tag-block”;
var img_location = view_selector + ‘ > div.rep-block:final’;
var img_path=”

Loading

“; //settings.img_path;
//var img = ‘

‘ + img_path + ‘

‘;
var img = img_path;
//$(pager_selector).cover();
//alert($(next_selector).attr(‘href’));
var x = 0;
var url=””;
var prevLoc = window.location.pathname;
var circle = “”;
var myTimer = “”;
var interval = 30;
var angle = 0;
var Inverval = “”;
var angle_increment = 6;
var deal with = $.autopager({
appendTo: content_selector,
content material: items_selector,
runscroll: maindiv,
hyperlink: next_selector,
autoLoad: false,
web page: 0,
begin: operate(){
$(img_location).after(img);
circle = $(‘.center-section’).discover(‘#green-halo’);
myTimer = $(‘.center-section’).discover(‘#myTimer’);
angle = 0;
Inverval = setInterval(operate (){
$(circle).attr(“stroke-dasharray”, angle + “, 20000”);
//myTimer.innerHTML = parseInt(angle/360*100) + ‘%’;
if (angle >= 360) {
angle = 1;
}
angle += angle_increment;
}.bind(this),interval);
},
load: operate(){
$(‘div.loading-block’).take away();
clearInterval(Inverval);
//$(‘.repeat-block > .row > div.main-rhs2426421’).discover(‘div.rhs2426421:first’).clone().appendTo(‘.repeat-block >.row > div.main-rhs’ + x);
$(‘div.rep-block > div.main-rhs2426421 > div:first’).clone().appendTo(‘div.rep-block > div.main-rhs’ + x);
$(‘.center-section >.row:final’).earlier than(‘

Subsequent Story

‘);
//$(“.main-rhs” + x).theiaStickySidebar();
var fb_script=doc.createElement(‘script’);
fb_script.textual content= “(operate(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://join.fb.internet/en_GB/sdk.js#xfbml=1&model=v2.9″;fjs.parentNode.insertBefore(js, fjs);}(doc, ‘script’, ‘facebook-jssdk’));”;
var fmain = $(“.sr”+ x);
//alert(x+ “-” + url);
var fdiv = ‘

‘;
//$(fb_script).appendTo(fmain);
$(fdiv).appendTo(fmain);
FB.XFBML.parse();
var $dfpAd = $(‘.center-section’).kids().discover(“#ad-“+ x);
xp = “#star”+x;

//var $dfpAdrhs = $(‘.main-rhs’ + x).kids().discover(‘.adATF’).empty().attr(“id”, “ad-300-” + x); //$(‘.content-area > .main-article > .row > .main-rhs’+x).discover(‘#ad-300-‘ + x);
//var $dfpAdrhs2 = $(‘.main-rhs’ + x).kids().discover(‘.adBTF’).empty().attr(“id”, “ad-300-2-” + x);//$(‘.content-area > .main-article > .row > .main-rhs’+x).discover(‘#ad-300-2-‘ + x);
//var $dfpMiddleAd = $(‘.content-area > .main-article > .row’).discover(‘#ar’+x).discover(‘#ad-middle-‘ + x).empty();
//fillElementWithAd($dfpAdrhs, ‘/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250’, [[300, 250], [300, 600]], {});
//fillElementWithAd($dfpAdrhs2, ‘/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250’, [300, 250], {});
//fillElementWithAd($dfpMiddleAd, ‘/11440465/Zeenews_Hindi_Article_Middle_300x250_BTF’, [300, 250], {});
var instagram_script=doc.createElement(‘script’);
instagram_script.defer=”defer”;
instagram_script.async=”async”;
instagram_script.src=”https://platform.instagram.com/en_US/embeds.js”;

/*var outbrain_script=doc.createElement(‘script’);
outbrain_script.sort=”textual content/javascript”;
outbrain_script.async=”async”;
outbrain_script.src=”https://widgets.outbrain.com/outbrain.js”;
var Omain = $(“#outbrain-“+ x);
//alert(Omain + “–” + $(Omain).size);

$(Omain).after(outbrain_script);
var rhs = $(‘.main-article > .row > div.article-right-part > div.rhs2426421:first’).clone();
$(rhs).discover(‘.ad-one’).attr(“id”, “ad-300-” + x).empty();
$(rhs).discover(‘.ad-two’).attr(“id”, “ad-300-2-” + x).empty();
//$(‘.main-article > .row > div.article-right-part > div.rhs2426421:first’).clone().appendTo(‘.main-article > .row > div.main-rhs’ + x);
$(rhs).appendTo(‘.main-article > .row > div.main-rhs’ + x); */

setTimeout(operate(){

var twit = $(“div.field-name-body”).discover(‘blockquote[class^=”twitter”]’).size;
var insta = $(“div.field-name-body”).discover(‘blockquote[class^=”instagram”]’).size;
if(twit==0){twit = ($(“div.field-name-body”).discover(‘twitterwidget[class^=”twitter”]’).size);}
if(twit>0){
if (typeof (twttr) != ‘undefined’) {
twttr.widgets.load();

} else {
$.getScript(‘https://platform.twitter.com/widgets.js’);
}
//$(twit).addClass(‘tfmargin’);
}
if(insta>0){
$(‘.content material > .left-block:final’).after(instagram_script);
//$(insta).addClass(‘tfmargin’);
window.instgrm.Embeds.course of();
}
}, 1500);
}
});
/*$(“#loadmore”).click on(operate(){
x=$(next_selector).attr(‘id’);
var url = $(next_selector).attr(‘href’);
disqus_identifier=”ZNH” + x;
disqus_url = url;
deal with.autopager(‘load’);
historical past.pushState(” ,”, url);
setTimeout(operate(){
//twttr.widgets.load();
//loadDisqus(jQuery(this), disqus_identifier, disqus_url);
}, 6000);
});*/

/*$(“button[id^=’mf’]”).reside(“click on”, disqusToggle);
operate disqusToggle() {
console.log(“Primary id: ” + $(this).attr(‘id’));
}*/
$(doc).delegate(“button[id^=’mf’]”, “click on”, operate(){
fbcontainer=””;
fbid = ‘#’ + $(this).attr(‘id’);
var sr = fbid.substitute(“#mf”, “.sr”);

//console.log(“Primary id: ” + $(this).attr(‘id’) + “Goodbye!jQuery 1.4.3+” + sr);
$(fbid).mother or father().kids(sr).toggle();
fbcontainer = $(fbid).mother or father().kids(sr).kids(“.fb-comments”).attr(“id”);
//console.log(fbcontainer);
//var commentsContainer = doc.getElementById(fbcontainer);
//commentsContainer.innerHTML = ”;

});
/************Participant Code ***********/
var title, imageUrl, description, creator, shortName, identifier, timestamp, abstract, newsID, nextnews;
var previousScroll = 0;
//console.log(“prevLoc” + prevLoc);
$(window).scroll(operate(){
var final = $(auto_selector).filter(‘:final’);
var lastHeight = final.offset().high ;
//st = $(structure).scrollTop();
//console.log(“st:” + st);
var currentScroll = $(this).scrollTop();
if (currentScroll > previousScroll){
_up = false;
} else {
_up = true;
}
previousScroll = currentScroll;
//console.log(“_up” + _up);

var cutoff = $(window).scrollTop() + 64;
//console.log(cutoff + “**”);
$(‘div[id^=”row”]’).every(operate(){
//console.log(“article” + $(this).kids().discover(‘.left-block’).attr(“id”) + $(this).kids().discover(‘.left-block’).attr(‘data-url’));
if($(this).offset().high + $(this).peak() > cutoff){
//console.log(“$$” + $(this).kids().discover(‘.left-block’).attr(‘data-url’));
if(prevLoc != $(this).kids().discover(‘.left-block’).attr(‘data-url’)){
prevLoc = $(this).kids().discover(‘.left-block’).attr(‘data-url’);
$(‘html head’).discover(‘title’).textual content($(this).kids().discover(‘.left-block’).attr(‘data-title’));
$(‘meta[name=description]’).attr(“content material”,$(this).kids().discover(‘.left-block’).attr(‘data-summary’));
$(‘meta[name=keywords]’).attr(“content material”,$(this).kids().discover(‘.left-block’).attr(‘data-keyword’));
$(‘meta[name=news_keywords]’).attr(“content material”,$(this).kids().discover(‘.left-block’).attr(‘data-keyword’));

pSUPERFLY.virtualPage(prevLoc,$(this).kids().discover(‘.left-block’).attr(‘data-title’));
//console.log(“Abstract: ” + $(this).kids().discover(‘.left-block’).attr(‘data-summary’));
//console.log(“Key phrase: ” + $(this).kids().discover(‘.left-block’).attr(‘data-keyword’));
//historical past.pushState(” ,”, prevLoc);
loadshare(prevLoc);
}
return false; // stops the iteration after the primary one on display screen
}
});
if(lastHeight + final.peak() < $(doc).scrollTop() + $(window).peak()){
//console.log("**get");
url = $(next_selector).attr('href');
x=$(next_selector).attr('id');
//console.log("x:" + x);
//deal with.autopager('load');

/*setTimeout(operate(){
//twttr.widgets.load();
//loadDisqus(jQuery(this), disqus_identifier, disqus_url);
}, 6000);*/
}
//lastoff = final.offset();
//console.log("**" + lastoff + "**");
});
//$( ".content-area" ).click on(operate(occasion) {
// console.log(occasion.goal.nodeName);
//});

/*$( ".comment-button" ).reside("click on", disqusToggle);
operate disqusToggle() {
var id = $(this).attr("id");
$("#disqus_thread1" + id).toggle();
};*/
//$(".main-rhs2426421").theiaStickySidebar();
var prev_content_height = $(content_selector).peak();
//$(operate() {
var structure = $(content_selector);
var st = 0;
///});

}
}
});

/*}
};*/
})(jQuery);

operate on_load_google_ad(PWT){
var inad1, inad2 = ”;
googletag.cmd.push(operate() {
googletag.defineSlot(‘/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_970x90’, [[728, 90], [970, 90]], ‘div-gpt-ad-1504525832454-0’).addService(googletag.pubads());
googletag.defineSlot(‘/11440465/Zeenews_English_Web/Zeenews_English_AS_ATF_300x250’, [[300, 250]], ‘div-article-rhs-atf-ad’).addService(googletag.pubads());
googletag.defineSlot(‘/11440465/Zeenews_English_Web/Zeenews_English_AS_BTF_1_300x250’, [300, 250], ‘div-gpt-ad-1504525832454-2’).addService(googletag.pubads());
googletag.defineSlot(‘/11440465/Zeenews_English_Web/Zeenews_English_AS_OOP_1x1’, [1, 1], ‘div-gpt-ad-1504526235866-6’).addService(googletag.pubads());
var inarticle1 = doc.getElementById(‘div-gpt-ad-AS-Inarticle-1’);
if (typeof(inarticle1) != ‘undefined’ && inarticle1 != null)
{
googletag.defineSlot(‘/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_1_300x250’, [[300, 250]], ‘div-gpt-ad-AS-Inarticle-1’).addService(googletag.pubads());
inad1 = “true”;
}
var inarticle2 = doc.getElementById(‘div-gpt-ad-AS-Inarticle-2’);
if (typeof(inarticle2) != ‘undefined’ && inarticle2 != null)
{
googletag.defineSlot(‘/11440465/Zeenews_English_Web/Zeenews_English_AS_Inarticle_2_300x250’, [[300, 250]], ‘div-gpt-ad-AS-Inarticle-2’).addService(googletag.pubads());
inad2 = “true”;
}

googletag.pubads().setTargeting(‘class’, [“article”,”Technology”,”Whatsapp Features”,”Whatsapp”,”WhatsApp Upcoming Features”,”Whatsapp Updates”]);
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();
// OpenWrap code START right here
if(typeof PWT.requestBids === ‘operate’){
PWT.requestBids(
PWT.generateConfForGPT(googletag.pubads().getSlots()),
operate(adUnitsArray) {
PWT.addKeyValuePairsToGPTSlots(adUnitsArray);
PWT.ow_BidsReceived = true;
initAdserver(false);
}
);
}
// No have to deal with “else” half as we’ve A9 wrapper on web page
// OpenWrap code END right here
var FAILSAFE_TIMEOUT = 1000; // this timeout ought to be greater than OpenWrap and A9 timeout
setTimeout(operate() {
initAdserver(true); // calling this operate with compelled mode set to true in order that GPT API is all the time executed
}, FAILSAFE_TIMEOUT);
});
googletag.cmd.push(operate() { googletag.show(‘div-article-rhs-atf-ad’); });
googletag.cmd.push(operate() { googletag.show(‘div-gpt-ad-1504525832454-0’); });
googletag.cmd.push(operate() { googletag.show(‘div-gpt-ad-1504525832454-2’); });
googletag.cmd.push(operate() { googletag.show(‘div-gpt-ad-1504526235866-6’); });
if(inad1){
googletag.cmd.push(operate() { googletag.show(‘div-gpt-ad-AS-Inarticle-1’); });
}
if(inad2){
googletag.cmd.push(operate() { googletag.show(‘div-gpt-ad-AS-Inarticle-2’); });
}

}
on_load_google_ad(PWT);

operate on_load_fb_twitter_widgets(){
(operate(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//join.fb.internet/en_US/sdk.js#xfbml=1&model=v2.9”;
fjs.parentNode.insertBefore(js, fjs);
}(doc, ‘script’, ‘facebook-jssdk’));

window.twttr = (operate(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.prepared = operate(f) {

t._e.push(f);
};
return t;
}(doc, “script”, “twitter-wjs”));
}

//setTimeout(operate() { on_load_google_ad(); }, 5000);
setTimeout(operate() {
on_load_fb_twitter_widgets();
}, 5000);
.

Leave a Reply

%d bloggers like this: