/* yslbeauty.com.hk *//* cookie-loreal.php *//* loreal-brand/zh *//* 220111 */if(typeof $ != "undefined"){ $(document).ready(function(){ $('head').append($(document.createElement('style')).html('.cookie-disclaimer-box { /* position: fixed; */ bottom: 0; left: 0; width: 100%; box-sizing: border-box; background-color: #e0e0e0; line-height: normal; z-index: 100; } .cookie-disclaimer-box .disclaimer-table { padding: 5px 0 10px 0; padding: 2px 0; margin: 0 auto; border-collapse: separate; } .cookie-disclaimer-box td { padding: 0 5px; font-family: \\\'microsoft jhenghei\\\', arial, sans-serif; color: #333333; font-size: 12px; text-align: left; line-height: 12px; } .cookie-disclaimer-box .button { white-space: nowrap; background: #ffffff; padding: 5px 15px; border-radius: 2px; border: 1px solid #bbbbbb; font-family: \\\'microsoft jhenghei\\\', arial, sans-serif; color: #333333; display: inline-block; cursor: pointer; text-decoration: none; margin: 2px; display: inline-flex; /* min-width: 80px; height: 30px; */ justify-content: center; align-items: center; } .site--brand .cookie-disclaimer-box button.button { min-width: 80px; height: 30px; } .cookie-disclaimer-box .button:hover { text-decoration: none; } .cookie-disclaimer-box .td-1 { padding-right: 0; } .cookie-disclaimer-box .td-2 { text-align: left; } @media (max-width: 768px){ .cookie-disclaimer-box .td-2 { display: block; } } @media (max-width: 480px){ .cookie-disclaimer-box .td-1 { display: block; padding-right: 10px; } .cookie-disclaimer-box .td-1 table { margin-left: auto; margin-right: auto; } .cookie-disclaimer-box .td-2 { display: table-cell; padding-top: 0; } }')); }); }if(typeof $ != "undefined"){ function getCookiePopupCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i
我們使用Cookies等工具為您提供服務和功能,並收集有關您與網站的互動數據。點擊「確認」即表示您同意我們使用此類Cookie。您可以在我們的隱私條款中找到更多關於如何更改器設置的信息。
瀏覽此網站代表您同意使用cookie,以改善用戶體驗、提供為您度身訂造的離線優惠、監察流量統計,以及促進資訊交流。
要了解更多資訊及更改cookie設定,請點擊此處
'); $('.cookie-disclaimer-box').css(cookie_css_change); setTimeout(function(){ if(typeof resizefunction == 'function'){ resizefunction(); } if(typeof wrapperResize == 'function'){ wrapperResize(); } }, 400); $('.cookie-ok').click(function(event){ event.preventDefault(); if(!$(this).hasClass('clicked')){ $(this).addClass('clicked'); //$('.cookie-disclaimer-box').slideToggle(400, function(){ cookie_box_resize(1); }); cookie_box_resize(1); var cookie_expire = new Date(); cookie_expire.setTime(parseInt('1766780706')*1000); document.cookie = "cookie_brand_popup_yslbeauty_com_hk=1; expires="+cookie_expire.toUTCString()+"; path=/; domain=yslbeauty.com.hk; "; } setTimeout(function(){ if(typeof resizefunction == 'function'){ resizefunction(); } if(typeof wrapperResize == 'function'){ wrapperResize(); } if(typeof onResizeEvent == 'function'){ onResizeEvent(); } }, 400); }); if($('.cookie-disclaimer-box .cdb-pp-btn').length && $('.cookie-disclaimer-box .cdb-pp-btn').attr('data-href')){ if($('meta[name="site_url"]').length && $('meta[name="lingual_url"]').length){ let temp_href = $('.cookie-disclaimer-box .cdb-pp-btn').attr('data-href'); temp_href = temp_href.replace('{site_url}', $('meta[name="site_url"]').attr('content')); temp_href = temp_href.replace('{lingual_url}', $('meta[name="lingual_url"]').attr('content')); $('.cookie-disclaimer-box .cdb-pp-btn').attr('href', temp_href); } $('.cookie-disclaimer-box .cdb-pp-btn').removeAttr('data-href'); } setTimeout(function(){ cookie_box_resize() }, 400); $(window).resize(function(){ cookie_box_resize(); }); }); }