Webseite:Kênh thông tin kinh tế - tài chính Việt NamInhalt
Kênhthôngtinkinhtế-tàichínhViệtNamfunctiongetMeta(t){lete=document.getElementsByTName("meta");for(letn=0;n{"@context":"httpschema.org","@type":"WebSite","name":"Kênhthôngtinkinhtế-tàichínhViệtNam","alternateName":"CafeF-Kênhtintứckinhtế,tàichính,thôngtinchứngkhoáncủaViệtNammớinhấtđượccậpnhậtliêntục,chínhxácvàđầyđủ,chuyênsâu","url":"cafef.vn"}{"@context":"httpschema.org","@type":"Organization","name":"cafef","url":"cafef.vn","logo":"cafefcdn.com/web_imes/cafef_logo2022.png","email":"mailto:info@cafef.vn","sameAs":[],"contactPoint":[{"@type":"ContactPoint","telephone":"0926864344","contactType":"customerservice"}],"address":{"@type":"PostalAddress","addressLocality":"ThanhXuân","addressRegion":"HàNội","addressCountry":"ViệtNam","postalCode":"","streetAddress":"Tầng21TòanhàCenterBuilding.Số1NguyễnHuyTưởng,ThanhXuân,HàNội"}}.bieudo_header{justify-content:flex-start;margin-left:20px;min-height:190px;}.searchboxwp.checked{display:flex;align-items:center;}.bannertop{min-height:100px;transition:all.6sease-in-out;}.bannertop.center{min-height:90px;transition:all.6sease-in-out;}.header_new.list_news.loadingspan,.header_new.list_news.loading.time{background-ime:linear-gradient(toright,#f6f7f80%,#e1e1e16630%,#f6f7f860%,#f6f7f8100%)!important;}.bieudo_header.loading.img_bieudo,.bieudo_header.loading.index_ck,.bieudo_header.loading.gia_ck,.mackul.loadingspan{background-ime:linear-gradient(toright,#f6f7f80%,#e1e1e16630%,#f6f7f860%,#f6f7f8100%)!important;}.chuyenmuc.itemvideo.lozad-video{position:absolute;}.img-resizevideo{object-fit:cover;}.menucategoryulli{padding:05px!important;}@mediascreenand(max-width:1024px){body{min-width:1160px!important;}}#zone-96{min-height:250px;}#admzone,#admzone,#admzone,#admzone,#zone-{min-height:217px;}.cateboxhome.pe__wrap-vpbank{min-height:542px;}.bdtopadm{min-height:529px;}#box-nha-dau-tu-per{width:360px;}if(peSettings.allow3rd){try{if(nigator.userent.match(/(iPhone|iPod|iPad|AndroKênh thông tin kinh tế - tài chính Việt Namid|BlackBerry|WindowsPhone|webOS)/i)!=null){varhtml=document.getElementById('html');if(html&&!html.classList.contains('smartphone')){html.classList.add('smartphone');}}}catch(e){}}functionloadJsAsync(jsLink,callback,callbackEr){varscriptEl=document.createElement("script");scriptEl.type="text/jascript";scriptEl.async=true;if(typeofcallback=="function"){scriptEl.onreadystatechange=scriptEl.onload=function(){callback();};}scriptEl.src=jsLink;if(typeofcallbackEr!="undefined"){scriptEl.setAttribute('onerror',callbackEr);}if(scriptEl){var_scripts=document.getElementsByTName("script");varcheckappend=false;for(vari=0;iif(peSettings.allow3rd){loadJsAsync('media1.admicro.vn/core/admcore.js',"",callbackEr="window.arferrorload=true;");(function(){functiond(b,c,e){vara=document.createElement("script");a.type="text/jascript";a.async=!0;a.src=b;2{console.error('ServiceWorkerError',err);});});}functiondebounce(func,wait=100){lettimeout;returnfunction(){constcontext=this;constargs=arguments;clearTimeout(timeout);timeout=setTimeout(()=>{func.apply(context,args);},wait);};}varprefixSesSto='ws.';//urltrướcđóvarpreviousUrl=sessionStore.getItem(prefixSesSto+'previousUrl');//urlhiệntạivarcurrentUrl=document.URL;//vịtríscrolltheourlhiệntạivarlastScrollY=sessionStore.getItem(prefixSesSto+currentUrl);//Bắtsựkiệntrướckhingườidùngrờikhỏitrangwindow.addEventListener('beforeunload',(event)=>{//lưuvịtríscrollhiệntạisessionStore.setItem(prefixSesSto+currentUrl,window.scrollY);//userclicktrongtrìnhduyệtif(innerDocClKênh thông tin kinh tế - tài chính Việt Namick){//NgườidùngấnchKênh thông tin kinh tế - tài chính Việt Namuyểntrangbêntrongbody//bỏurltrướcđó;sessionStore.removeItem(prefixSesSto+'previousUrl');}else{//NgườidùngấnnútBackhoặcForward//lưuurltrướcđósessionStore.setItem(prefixSesSto+'previousUrl',window.location.href);}console.log('Ngườidùngrờikhỏitrang');});constbody=document.body;letinnerDocClick=false;//Xửlýcuộntớivịtríscrolltheourlhiệntạidocument.addEventListener("DOMContentLoaded",function(event){constcheckHover=()=>{innerDocClick=body.matches(':hover');};constdebouncedCheckHover=debounce(checkHover,200);//GọihàmcheckHoversau200msbody.addEventListener('mousemove',debouncedCheckHover);//Nếulàquaylạitrangtrướcif(previousUrl!=null&¤tUrl!==previousUrl){if(typeoflastScrollY!='undefined'){lastScrollY=parseInt(lastScrollY);}constseScrollPosition=debounce(()=>{if(typeoflastScrollY!='undefined'){if(lastScrollY>0){if(lastScrollY>document.documentElement.scrollHeight){if(typeofpe!='undefined'&&pe>2&&(pe%3==2)&&document.getElementsByClassName("btn-viewmore").length>0){console.log('ẤnXemthêm');document.getElementsByClassName("btn-viewmore")[0].click();}setTimeout(function(){window.scroll({top:lastScrollY});console.log('Đãcuộntớicuốitrang');},500);}else{constlastScrollYFixed=lastScrollY;window.scroll({top:lastScrollY});lastScrollY=0;setTimeout(function(){window.scroll({top:lastScrollYFixed});console.log('Đãcuộnvềđúngvịtrítrước:',lastScrollYFixed);},500);}}}},500);seScrollPosition();window.addEventListener('scroll',seScrollPosition);}});//XửlýnếungườidùngcuộnlênthìkhôngcuộntớivịtríscrolltheourlhiệntạinữaletpreviousScrollY=0;window.addEventListener('scroll',function(){if(currentUrl!==previousUrl&&lastScrollY>0){constcurrentScrollY=window.scrollY;if(previousScrollY-currentScrollY==1){lastScrollY=0;console.log('ws-Ngườidùngcuộnlên');}previousScrollY=currentScrollY;}});//Khiscroll,pushzoneadskhivàotrongvùngviewconstwindowElement=window;//Referencewindowobjectdirectly//Khiscroll,pushzoneadskhivàotrongvùngview//KiểmtranếuelementtrongviewportconstwindowHeight=window.innerHeight||document.documentElement.clientHeight;constwindowWidth=window.innerWidth||document.documentElement.clientWidth;constthresholdViewPort=windowHeight;functionisInViewport(element,threshold=100){constrect=element.getBoundingClientRect();return(rect.bottom>=-threshold&&rect.top=-threshold&&rect.left{if(!peSettings.allow3rd)return;for(constzoneElementIdofarrInitAdmZone){constzoneElement=document.getElementById(zoneElementId);//console.log(zoneElementId,zoneElement);if(zoneElement!=null&&!zoneElement.classList.contains('inited')){if(isInViewport(zoneElement,thresholdViewPort)){//Pushadconsole.log('init'+zoneElement.id);admicroAD.unit.push(()=>admicroAD.show(zoneElement.id));zoneElement.classList.add('inited');}}}},100);window.addEventListener('scroll',checkIfInViewZoneAds);window.addEventListener('resize',checkIfInViewZoneAds);//TriggerinitialcheckonloadcheckIfInViewZoneAds();