'); //var closePCText = $("#close-pc-btn-handler").attr("aria-label"); //$("#close-pc-btn-handler").prepend('' + closePCText + ''); function getCookie(name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); } if(!getCookie("OptanonAlertBoxClosed")){ $(".ot-accordion-layout button").attr("aria-expanded", "true"); if ($("#onetrust-reject-all-handler").length > 0) { $("#onetrust-reject-all-handler").appendTo("#onetrust-button-group"); } if ($(".ot-pc-footer .ot-pc-refuse-all-handler").length > 0) { $(".ot-pc-footer .ot-pc-refuse-all-handler").insertAfter("#accept-recommended-btn-handler"); } //$("#onetrust-close-btn-container, #close-pc-btn-handler").on("click", function(){ // OneTrust.AllowAll(); // dataLayer.push({ // "event":"trackOptanonEvent", // "optanonAction": "closeAndAcceptAll" // }) // }); } } Support Center Unsupported Language | Official Avast Support