October 18, 2021

Japan stops use of 1.63 million Moderna Covid-19 vaccine doses over contamination – The Straits Times

https://www.straitstimes.com/asia/east-asia/japan-stops-use-of-163-million-moderna-covid-19-vaccine-doses-over-contamination

Click to follow and get updates on this topic

‘);
jQuery(“.author-field.author-name .follow-author”).click(function() { var author_page = jQuery(this).parent().find(‘a’).attr(‘href’); followAuthorOrTopic(“author”, author_page); });
jQuery(“.story-keywords li .follow-topic”).click(function() { var topic_page = jQuery(this).parent().find(‘a’).attr(‘href’); followAuthorOrTopic(“topic”, topic_page); });
if(window.getCookieByName(‘shown_follow_author’) == ‘yes’) { jQuery(“.follow-author .follow_onboarding_text”).hide(); }
if(window.getCookieByName(‘shown_follow_topic’) == ‘yes’) { jQuery(“.follow-topic .follow_onboarding_text”).hide(); }
jQuery(“.follow-topic .follow_onboarding_text .follow-head a”).click(function(e) { e.stopPropagation(); jQuery(this).parents(“.follow_onboarding_text”).hide(); setCookieWithValidity(‘shown_follow_topic’,’yes’,3); });
jQuery(“.follow-author .follow_onboarding_text .follow-head a”).click(function(e) { e.stopPropagation(); jQuery(this).parents(“.follow_onboarding_text”).hide(); setCookieWithValidity(‘shown_follow_author’,’yes’,3); });
}

function triggerOnesignalPermission() {
OneSignal.push(function() {
OneSignal.showNativePrompt();
});
var follow_txt = jQuery(“#follow_type_value”).val()
OneSignal.push(function() {
OneSignal.sendTag(follow_txt,1);
console.log(“val=>”+follow_txt);
});
}

function followAuthorOrTopic(follow_type, follow_type_value) {
let myScript = document.createElement(“script”);
myScript.setAttribute(“src”, “https://cdn.onesignal.com/sdks/OneSignalSDK.js”);
myScript.setAttribute(“async”, “true”);

let head = document.head;
head.insertBefore(myScript, head.firstElementChild);

window.OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: “f2e6c973-590d-4f2d-81c8-ef29474fb669”,
});
});

trackFollowEvents(‘Follow Topics And Author’, ‘click’, follow_type);
var follow_type_ph = (follow_type == ‘author’)?’writer’:follow_type;
jQuery(“#follow_type”).val(follow_type);
jQuery(“#follow_type_value”).val(follow_type_value);
jQuery(“.follow_type_placeholder”).html(follow_type_ph);
jQuery(“.follow-form”).hide();
jQuery(“.follow-intro”).show();
jQuery(“.follow-authors-thank-you”).hide();
console.log(follow_type + ” ” + follow_type_value+” followed”);
jQuery(“#followTopicsAuthorModal”).modal(‘show’);
}

function setCookieWithValidity(cookie_name, cookie_value, validity_days ) {
var expiry = new Date();expiry.setTime(expiry.getTime() + (validity_days*24*60*60*1000));
document.cookie = cookie_name+”=”+cookie_value+”;path=/; expires=” + expiry.toGMTString();
}

function FollowCountMeIn() {
trackFollowEvents(‘Follow Topics And Author’, ‘click’, ‘count me in’);
jQuery(“.follow-form”).show();
jQuery(“.follow-intro”).hide();
jQuery(“.follow-authors-thank-you”).hide();
}
function FollowSubmit() {
trackFollowEvents(‘Follow Topics And Author’, ‘click’, ‘submit ‘+jQuery(“#follow_type”).val()+’ survey’);
var email = jQuery(“#follow_email”).val();
if(!st_nlsignup_widget.isValidEmail(email)) {
alert(“Please enter valid e-mail”);
jQuery(“#follow_email”).focus();
return;
}
if(!jQuery(‘#i_agree’).is(‘:checked’)) { alert(“Please click ‘Yes, I agree’ to continue.”); return; }

var post_data = {
“email”:email,
“receive_notification”: (jQuery(‘#receive_notification’).is(‘:checked’)) ? “Y”:”N”,
“customer_council”: (jQuery(‘#customer_council’).is(‘:checked’)) ? “Y”:”N”,
“survey_qn1”: (jQuery(“input[name=’survey-1′]:checked”).val() != undefined)? jQuery(“input[name=’survey-1′]:checked”).val():””,
“survey_qn2”: (jQuery(“input[name=’survey-2′]:checked”).val() != undefined)? jQuery(“input[name=’survey-2′]:checked”).val():””,
“survey_qn3”: (jQuery(“input[name=’survey-3′]:checked”).val() != undefined)? jQuery(“input[name=’survey-3′]:checked”).val():””,
“more_comments”: jQuery(“#more_comments”).val(),
“follow_type”: jQuery(“#follow_type”).val(),
“follow_type_value”: jQuery(“#follow_type_value”).val()
}

if((jQuery(‘#receive_notification’).is(‘:checked’))) { triggerOnesignalPermission(); }

console.log(post_data);
jQuery.post( “/follow_topics.php”, post_data, function( data ) {
trackFollowEvents(‘Follow Topics And Author’, ‘click’, ‘survey success’);
data = JSON.parse(data);
if(data.status == “SUCCESS”) {
jQuery(“.follow-form”).hide();
jQuery(“.follow-intro”).hide();
jQuery(“.follow-authors-thank-you”).show();
jQuery(“.follow-“+jQuery(“#follow_type”).val()+” .follow_onboarding_text”).hide();
setCookieWithValidity(‘shown_follow_’+jQuery(“#follow_type”).val(),’yes’,365);
} else {
alert(“Something went wrong! Please try again.”);
}
});

}

function trackFollowEvents(category, action, label) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
‘event’:’custom_event’,
‘eventCategory’:category,
‘eventAction’:action,
‘eventLabel’:label
});
}

Leave a Reply

Your email address will not be published. Required fields are marked *