
Em pedidos acima de R$ 99
7 dias para trocar ou devolver
Site protegido com SSL
//Verifica se o Texto legal tem conteúdo e se não houver, remove (texto)
var txtLegalFooter = document.querySelector(".texto-legal-fundo.footer");
if (!txtLegalFooter.innerText) {
txtLegalFooter.remove();
}
//Varre quantidade de itens para removê-los automaticamente se não houver conteúdo (imagem)
var fotoFullFooter = document.querySelectorAll(".fotoFull.footer");
for (var i = 0; i
window.getHeight = function () { return $(document).height() };
var currentTab = 1;
var fullUrl = window.location.href.split("/");
var dId = fullUrl[5] + "/";
var cId = "pao7p7anbF8,";
var ajaxURL = "//www.standout.com.br/bdfnivea/public/hitMe/" + dId;
var heatURL = "//www.standout.com.br/bdfnivea/h";
//var heatPURL = "//www.standout.com.br/bdfnivea/hp";
var productId = "eucerin-hy-fi-daily-booster-gel-fortalecedor-antirrugas-30ml-epoca";
var active = true;
var store = { 1: {}, 2: {}, 3: {} };
//var storeP = { 1: [], 2: [], 3: [] };
var ctrl;
var seconds = 0;
var hashUser = Math.random().toString(16).slice(2);
//*Active On Page**************************************//
function onVisibilityChange() {
if (document.visibilityState === 'visible') {
//console.log("user is focused on the page");
startTimer();
} else {
//console.log("user left the page");
clearTimeout(timex);
}
//console.log('document.hidden', document.hidden);
}
document.addEventListener('visibilitychange', onVisibilityChange);
//*TIMER**********************************************//
function startTimer(){
timex = setTimeout(function(){ seconds++; startTimer();}, 1000);
}
startTimer();
this.goToTab = function (tab) {
$('#myTab a[data-tabid='+tab+']').click();
}
function addHit (e) {
var x = (e.layerX) ? e.layerX : e.pageX, y = (e.layerY) ? e.layerY : e.pageY, Xi = "X" + x, Yi = "Y" + y;
if (!store[currentTab][Xi])
store[currentTab][Xi] = {};
if (!store[currentTab][Xi][Yi])
store[currentTab][Xi][Yi] = 0;
store[currentTab][Xi][Yi] += 1;
//storeP[currentTab].push(x + "_" + y);
clearTimeout(ctrl);
ctrl = setTimeout(sendHit, 2000);
}
function sendHit() {
var productFullUrl = window.location.pathname;
var dateNow = new Date().toISOString().slice(0, 10);
var tmpStore = store;
//var tmpStoreP = storeP;
active = false;
store = { 1: {}, 2: {}, 3: {} };
//storeP = { 1: [], 2: [], 3: [] };
$.ajax({
type: "POST",
url: heatURL,
dataType: "json",
data: { cId: cId, pId: productId, heat: JSON.stringify(tmpStore), fullUrl: productFullUrl, timeOnPage: seconds, date: dateNow, hash: hashUser},
success: function (data) { },
error: function (XHR) { }
});
}
setInterval( function () { active = true; }, 80);
$(document).mousemove(function(e) {
if (active) {
addHit(e);
active = false;
}
});
// Função para envio de HIT de tempo médio na página a cada 2 segundos
function sendHitTM() {
var productFullUrl = window.location.pathname;
var dateNow = new Date().toISOString().slice(0, 10);
var storeTM = { 1: {}, 2: {}, 3: {} };
$.ajax({
type: "POST",
url: heatURL,
dataType: "json",
data: { cId: cId, pId: productId, heat: JSON.stringify(storeTM), fullUrl: productFullUrl, timeOnPage: seconds, date: dateNow, hash: hashUser},
success: function (data) { },
error: function (XHR) { }
});
}
setInterval(sendHitTM, 5000);
$(document).ready(function () {
$(".table-desktop tr").each(function (k, v)
{
if ($(v).children(".empty").length == 3)
$(v).remove();
});
// Tratamento para só inicializar o carrossel caso exista
if ($(".carousel").length) {
$(".carousel").each ( function (k, v)
{
var total = $(this).find(".carousel-inner").children().length;
$(this).find(".carousel-indicators").children().remove();
$(this).find(".item").removeClass("active");
$(this).find(".item").first().addClass("active");
for (var i = 0; i ");
else
$(this).find(".carousel-indicators").append("");
});
$(".carousel").carousel();
}
if (jQuery.browser.mobile)
{
//Desativado ppois a regra está sendo tratada no rodapé de cada vitrine
//$(".logoFooter").attr("src", $(".logoFooter").attr("src").replace("logo-footer.png", "logo-footer-mobile.png"));
$(".table-desktop").find(".col3").remove();
$(".table-desktop").find("tr").each ( function (k, v)
{
$(this).find("td").last().remove();
});
$(".table-desktop").removeClass("table-desktop").addClass("table-smartphone").show();
}
});
//public
console.log("MSG 2.0 - PHP");
var bodyPaddingTop = parseInt($("body").css("padding-top").replace("px", ""));
if( isNaN( parseInt($("#myTab").height()) ) ){
var myTabHeight = 0;
} else {
var myTabHeight = parseInt($("#myTab").height()) * 2;
}
var alturaSeguranca = 50;
//console.log("bodyPaddingTop: "+bodyPaddingTop);
//console.log("myTabHeight: "+myTabHeight);
$(".abaTab1" ).click(function() {
var myTab1 = parseInt($("#tab1").height());
//console.log("myTab1: "+myTab1);
var somaAlturaTotal = bodyPaddingTop+myTabHeight+myTab1+alturaSeguranca;
//console.log("d1 somaAlturaTotal: "+somaAlturaTotal);
var message = { "method":"getMensageriaHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
});
$(".abaTab2" ).click(function() {
var myTab2 = parseInt($("#tab2").height());
//console.log("myTab2: "+myTab2);
var somaAlturaTotal = bodyPaddingTop+myTabHeight+myTab2+alturaSeguranca;
//console.log("d2 somaAlturaTotal: "+somaAlturaTotal);
var message = { "method":"getMensageriaHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
});
$(".abaTab3" ).click(function() {
var myTab3 = parseInt($("#tab3").height());
//console.log("myTab3: "+myTab3);
var somaAlturaTotal = bodyPaddingTop+myTabHeight+myTab3+alturaSeguranca;
//console.log("d3 somaAlturaTotal: "+somaAlturaTotal);
var message = { "method":"getMensageriaHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
});
$('.accordion > dt > div').click(function(e) {
//console.log("cliqueAccordionProdutos:");
setTimeout(function(){
alturaInicial = parseInt(document.body.scrollHeight)+20;
posicaoAtual = $(e.target)[0].offsetTop;
console.log(posicaoAtual);
msgJSON = {"alturaInicial":alturaInicial, "posicaoAtual": posicaoAtual}
var message = { "method":"getMensageriaAccordion", "value": msgJSON, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
myInitPostMessage();
}, 500);
});
$('.accordion-faq-container > dt > div').click(function() {
//console.log("cliqueAccordionFAQ:");
setTimeout(function(){
alturaInicial = parseInt(document.body.scrollHeight)+20;
console.log("alturaInicial: "+alturaInicial);
myInitPostMessage();
}, 500);
});
/////////////////////////////////////////////mobile
$(".tab1" ).click(function() {
var myTab1 = parseInt($("#tab1").height());
//console.log("myTab1: "+myTab1);
var somaAlturaTotal = bodyPaddingTop+(myTabHeight*2)+myTab1+alturaSeguranca;
//console.log("m1 somaAlturaTotal: "+somaAlturaTotal);
var message = { "method":"getMensageriaMobileHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
});
$(".tab2" ).click(function() {
var myTab2 = parseInt($("#tab2").height());
//console.log("myTab2: "+myTab2);
var somaAlturaTotal = bodyPaddingTop+(myTabHeight*2)+myTab2+alturaSeguranca;
//console.log("m2 somaAlturaTotal: "+somaAlturaTotal);
var message = { "method":"getMensageriaMobileHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
});
$(".tab3" ).click(function() {
var myTab3 = parseInt($("#tab3").height());
//console.log("myTab3: "+myTab3);
var somaAlturaTotal = bodyPaddingTop+(myTabHeight*2)+myTab3+alturaSeguranca;
//console.log("m3 somaAlturaTotal: "+somaAlturaTotal);
var message = { "method":"getMensageriaMobileHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
});
// Mensageria para o bloco: BLOCO-INTERATIVO-THUMB-TXT-NO-ACC-BKG
$(".flex-container-itens-nav-noacc .imgthumb a").click(function () {
setTimeout(function(){
var somaAlturaTotal = parseInt(document.body.scrollHeight)+20;
console.log("somaAlturaTotal", somaAlturaTotal);
var message = { "method":"getMensageriaHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}, 500);
});
// Mensageria para o bloco: NAV-8-THUMBS-TEXTO
$(".bloco-8itens-thumbs-texto-nav .mainNavThumbsBlock .imgthumb a").click(function () {
setTimeout(function(){
var somaAlturaTotal = parseInt(document.body.scrollHeight)+20;
console.log("somaAlturaTotal", somaAlturaTotal);
var message = { "method":"getMensageriaHeight", "value": somaAlturaTotal, "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}, 500);
});
var alturaInicial = 0;
setTimeout(function(){
//alturaInicial = parseInt($(document).height());
//console.log("alturaInicial: "+alturaInicial);
//console.log("-----document.body.scrollHeight: "+document.body.scrollHeight);
alturaInicial = parseInt(document.body.scrollHeight)+20;
myInitPostMessage();
}, 500);
function myInitPostMessage () {
// Listen for messages
if (window.addEventListener) {
window.addEventListener('message', onMessageReceived, false);
}
else {
window.attachEvent('onmessage', onMessageReceived, false);
}
if (window.ReactNativeWebView) {
console.log("php getMensageriaFirstHeight: "+alturaInicial);
var i = 0;
var ins2 = setInterval(function(){
for (i=i; i = 5){
clearInterval(ins2);
}
}
}, 2000);
} else if (parent.length > 0) {
console.log("php getMensageriaFirstHeight: "+alturaInicial);
var i = 0;
var ins2 = setInterval(function(){
for (i=i; i = 5){
clearInterval(ins2);
}
}
}, 2000);
}
}
function onMessageReceived(event) {
//console.log('funcoes do mensageria');
//console.log('event', event);
//funcoes do mensageria 1.0
/*if (event.domain != "www.standout.com.br") {
return;
}
}*/
// Firefox, Safari, Google Chrome, Internet Explorer from version 8 and Opera from version 10
/*if ((event.origin != "http://drsystems.com.br") && (event.origin != "https://www.standout.com.br") && (event.origin != "https://m.sephora.com.br" && (event.origin != "https://www.sephora.com.br")) {*/
if ((event.origin == "http://drsystems.com.br") || (event.origin == "https://drsystems.com.br") || (event.origin == "https://www.standout.com.br")
|| (event.origin == "https://m.sephora.com.br") || (event.origin == "https://www.sephora.com.br")
|| (event.origin == "https://promopanco.com.br") || (event.origin == "https://promonatalpanco.com.br")
|| (event.origin == "https://sodimac.com.br") || (event.origin == "https://www.sodimac.com.br")
|| (event.origin == "https://carrefour.com.br") || (event.origin == "https://www.carrefour.com.br")
)
{
//so vai
} else {
return;
}
if (event.data == "getHeight") {
var message;
//event.source.postMessage ($(document).height(), event.origin); //---old
parent.postMessage (alturaInicial, event.origin); //NEW
}
if (event.data == "getHeightSodimac") {
var body = document.body,
html = document.documentElement;
var alturaInicial = Math.max( body.scrollHeight, body.offsetHeight,
html.clientHeight, html.scrollHeight, html.offsetHeight );
//console.log("php getHeightSodimac: "+alturaInicial);
var message = { "method":"getMensageriaFirstHeight", "value": alturaInicial, "stdToken": fullUrl[5] };
event.source.postMessage(message, event.origin);
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}
if (event.data == "getHeightMobileCarrefour") {
var alturaInicial = parseInt($("body").height()) + 50;
console.log("php getMensageriaFirstHeight: "+alturaInicial);
var message = { "method":"getMensageriaFirstHeight", "value": alturaInicial, "stdToken": fullUrl[5] };
event.source.postMessage(message, event.origin);
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}
if (event.data == "getHeightMobileSephora") {
//var alturaInicial = parseInt($("body").height()) + 50;
var alturaInicial = parseInt(document.firstElementChild.scrollHeight) + 50; //safari
console.log("php getMensageriaFirstHeight: "+alturaInicial);
//console.log("sandbox scrollHeight: "+document.firstElementChild.scrollHeight);
//console.log("sandbox clientHeight: "+document.firstElementChild.clientHeight);
var message = { "method":"getMensageriaMobileHeightSephora", "value": alturaInicial, "stdToken": fullUrl[5] };
event.source.postMessage(message, event.origin);
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}
if (event.data.method == "getMensageriaPromoHeight") {
//console.log('getMensageriaPromoHeight',event.data.value);
var myMensageriaPromo = document.getElementById('frameStandoutPromocao');
//console.log('myMensageriaPromo',myMensageriaPromo);
myMensageriaPromo.setAttribute('height', parseInt(event.data.value + 80));
myMensageriaPromo.setAttribute('style', 'height:' + parseInt(event.data.value + 80) + 'px;');
var message = { "method":"getMensageriaPromo", "value": (parseInt(document.body.scrollHeight) + parseInt(event.data.value)), "stdToken": fullUrl[5] };
parent.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}
if (event.data.method == "getMensageriaPromoPancoGA") {
//console.log('getMensageriaPromoPancoGA',event.data.value);
var myMensageriaPromoPancoGA = document.getElementById('frameStandoutPromocao');
//console.log('myMensageriaPromoPancoGA',myMensageriaPromoPancoGA);
var message = { "method":"getMensageriaPromoPancoGASend", "value": event.data.value, "stdToken": fullUrl[5] };
this.postMessage (message, "*");
if (window.ReactNativeWebView) {
window.ReactNativeWebView.postMessage(JSON.stringify(message));
}
}
}
Hyaluron Filler Daily Booster possui Ácido Hialurônico de cadeias curta e média que fortalece a barreira cutânea e hidrata a pele por 24 horas reduzindo as rugas e linhas de expressão. Sua fórmula de textura ultra leve de rápida absorção com apenas 11 ingredientes possui maior tolerabilidade cutânea. Indicado para todos os tipos de pele, incluindo as oleosas. Hyaluron Filler Daily Booster possui Ácido Hialurônico de cadeias curta e média que fortalece a barreira cutânea e hidrata a pele por 24 horas reduzindo as rugas e linhas de expressão. Textura: Sua fórmula de textura ultra leve de rápida absorção com apenas 11 ingredientes possui maior tolerabilidade cutânea. Indicado para todos os tipos de pele, incluindo as oleosas.
