MSN 香港 | 首頁

  • 2021-12-31Fecha de colección
  • 2022-02-15Actualizado
MSN 香港 | 首頁
  • Dirección web:www.msn.com
  • Servidor IP:204.79.197.203
  • Descripción del lugar:透過MSN 香港可自訂收看時事、娛樂、生活、財經、體育等新聞,並使用Hotmail/Outlook電郵、Skype,以及選購Microsoft網上商店產品。

nombre de dominio:www.msn.comValuación

acerca de 500000~10000000

nombre de dominio:www.msn.comfluir

230

nombre de dominio:www.msn.comBueno o malo

Próspero y próspero. Pepsi Prosperidad

sitio web:MSN 香港 | 首頁Pesos

2

sitio web:MSN 香港 | 首頁IP

204.79.197.203

sitio web:MSN 香港 | 首頁contenido

MSNtry{window._peTimings=window._peTimings||{};window._peTimings["TTJSStart"]=Math.round(performance.now());}catch(e){console.error("ErrorinaddingTTJSStartmarker");}functiongetCookieConsentRequired(){returntrue;}window._ssrServiceEntryUrl="/bundles/v1/homePe/latest/SSR-service-entry.8263edebc8d3c9bd8ce0.js";window["_webWorkerBundle"]="/bundles/v1/homePe/latest/web-worker.5aacdf95cfa4036f8583.js";window["_authCookieName"]="ace";!function(){"usestrict";vare={},t={};functionn(o){vari=t[o];if(void0!==i)returni.exports;vars=t[o]={exports:{}};returne[o](s,s.exports,n),s.exports}leto,i,s,r;functiona(){if(i)returni;conste=document.head.getAttribute("data-info");returni=((/f:\s*([^;]+)/i.exec(e)||{})[1]||"").toLowerCase(),i}n.g=function(){if("object"==typeofglobalThis)returnglobalThis;try{returnthis||newFunction("returnthis")()}catch(e){if("object"==typeofwindow)returnwindow}}(),function(){{constt=n.e,o={};vare;document.head.getAttribute("data-info");n.e=function(i){returnt(i).catch((function(t){consts=o.hasOwnProperty(i)?o[i]:2;if(void0===e&&(e=!1),e&&2===s&&(n.p=n.p.replace("/assets.","/assets2.")),s0)returne.substring(0,t)}return""}(p.apikey));constg=function(e,t,n,o,i,s,r=l.Alert){vara;if(n){i=i||{};const{apptype:c,audienceMode:p,petype:u,peGenTime:l,bundleInfo:h,deviceFormFactor:g="",fd_muid:f,os:w}=n;i.peGenTime=l,i.build=h&&h.v,i.appType=c;constb=function(e,t,n){consto=n&&"phone"===n.toLowerCase();return{bingHomepe:"binghomepe",mmx:"emmx",edge:"spartan",edgeChromium:t&&"enterprise"===t?"entnews":"anaheim",hybrid:"spartan",hub:o?"prime_mobile":"prime",microsoftNews:"msnews",office:"entnews",views:o?"prime_mobile":"prime",windowsShell:"windowsshell"}[e]}(c,p,g),y=b||c,v=document.getElementsByTName("html")[0].getAttribute("lang");letS,k="",A="muid";try{if("edgeChromium"===c&&"object"==typeofwindow&&window.location&&window.location.search){conste=newURLSearchParams(window.location.search);S=e.has("startpe")?"msedgdhp":"msedgntp","enterprise"===p?S="entnewsntp":"xbox"===w&&(S="xboxntp")}window&&window.getCookieConsentRequired&&"function"==typeofwindow.getCookieConsentRequired&&window.getCookieConsentRequired()||(k=d("muid"))}catch(e){}k||(k=n.aid,A="aid");constC={name:"MS.News.Web.AppError",time:l,ver:"4.0",iKey:`o:${o}`,data:{baseData:{},baseType:"MS.News.Web.Base",pe:{name:"default",product:y,type:m(u),content:{category:"standaloneError"},ocid:S},browser:{clientId:k,clientIdType:A},flight:{id:s},request:{activityId:n.aid,requestId:n.aid,afdMuid:f},locale:{mkt:v},extSchema:{id:e,severity:r,pb:i,messe:t}}};returnk&&"muid"===A&&(C.ext=Object.assign(Object.assign({},null==C?void0:C.ext),{user:Object.assign(Object.assign({},null===(a=null==C?void0:C.ext)||void0===a?void0:a.user),{localId:`t:${k}`})})),C.data.flight.tmpl="",i.isSSRScope&&(C.data.flight.tmpl+="ssrscope:1"),"object"==typeofwindow&&(window.isSSREnabled&&(C.data.flight.tmpl+=";ssr-enabled:1"),window.isSSRCompleted&&(C.data.flight.tmpl+=";ssr-completed:1")),C?JSON.stringify(C):null}returnnull}(t,e,s,u,n,c,i);if(p&&g){console.error(g),h.push(g);conste=""+r+"/OneCollector/1.0"+function(e){return"?"+Object.keys(e).map((function(t){returnt+"="+encodeURIComponent(e[t])})).join("&")}(p);nigator.sendBeacon(e,g)}}catch(e){}}functionm(e){lett=e;switch(e){case"windowsshellhp":t="dhp";break;case"video":t="watch"}returnt}functionf(){return"visible"===document.visibilityState?Promise.resolve():newPromise((e=>{document.addEventListener("visibilitychange",(()=>{"visible"===document.visibilityState&&e()}))}))}functionw(e){constt=window&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&t.logLoadingError&&f().then((()=>{t.logLoadingError(e)}))}functionb(e){try{if(e)returnJSON.parse(e)}catch(e){}returnnull}functiony(){return!("undefined"==typeofwindow||!window.document||!window.document.createElement||window.isRenderServiceEnv)}constv="Authorization";varS,k;!function(e){e.Presentation="presentation"}(S||(S={})),function(e){e.Unknown="Unknown",e.Portrait="Portrait",e.Landscape="Landscape"}(k||(k={}));varA,C;!function(e){e[e.Undefined=0]="Undefined",e[e.Basic=1]="Basic",e[e.Advanced=2]="Advanced",e[e.Premium=3]="Premium"}(A||(A={})),function(e){e.Init="init",e.Config="config",e.Targeted="targeted",e.Sticky="sticky",e.NoSticky="no_sticky",e.Admin="admin",e.Forced="forced",e.Manual="manual"}(C||(C={}));newSet(["winp0dash","winp1taskbar","winp1taskbarent","winp1taskbardirect","winp1taskbardirectent","winp1taskbarent","winp2juntaskbar","winp2juntaskbarent","winp2","winp2ent","winp2fp","winp2fpent","winp2fptaskbar","winp2fptaskbarent","winp2fptaskbarhover","winp2fptaskbarhoverent","winp2widget","winp2widgetent"]);constx=newSet(["finance-app-win","weather-app-win","winpstoreapp"]);newSet(["msedgdhp","msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]);varO;!function(e){e.outlookMobile="OnOOutlookMobile",e.officeMobile="OnOOfficeMobile",e.sapphire="OnOStartApp",e.skype="OnOSkype"}(O||(O={}));constI=newSet(["hpmsn"]);newSet(["emmx","vivo"]);function_(){vare;returny()?b(document.head.dataset.clientSettings||(null===(e=document.getElementsByClassName("peregrine-widget-settings")[0])||void0===e?void0:e.getAttribute("data-client-settings"))):null}varE,P;!function(e){e.Article="article",e.ArticleFullScreen="articlefullscreen",e.CasualGames="casualgames",e.CasualGamesPlay="casualgamesplay",e.ChannelSource="channel::source",e.ChannelTopic="channel::topic",e.CmsExperience="shopping::cms",e.CmsBaseExperience="shopping::cmsbase",e.DHP="dhp",e.EdgeWelcome="edgewelcome",e.ForumDealsPe="shopping::buydirect::superdeals",e.Gallery="gallery",e.GalleryFullScreen="galleryfullscreen",e.Homepe="hp",e.Launcher="launcher",e.Lenovo="lenovo",e.MMX="mmx",e.NewsAndInterests="newsandinterestshp",e.Newsbar="newsbar",e.NewsbarUpsell="newsbarupsell",e.NewsCoronirus="news::coronirus",e.NewsVLP="news",e.NTP="ntp",e.Sidebar="sidebar",e.Story="story",e.Shopping="shopping",e.ShoppingDealsCategory="shopping::deals-category",e.ShoppingProductDetails="shopping::product",e.ShoppingExpressCheckout="shopping::express-checkout",e.ShoppingForumCheckout="shopping::buydirect::checkout",e.ShoppingForumProductPe="shopping::buydirect::product",e.ShoppingForumcheckoutWidget="shopping::buydirect::checkout::widget",e.ShoppingForumProductDetails="shopping::buydirect::product1",e.ShoppingForumCancelOrder="shopping::buydirect::cancel-order",e.ShoppingForumReturnDetails="shopping::buydirect::return-details",e.ShoppingForumReturnOrder="shopping::buydirect::return-orders",e.ShoppingForumRefundDetails="shopping::buydirect::refund-details",e.ShoppingForumRefundOrder="shopping::buydirect::refund-orders",e.ShoppingLiveDetails="shoppinglivedetails",e.ShoppingLiveInmobiDetails="shoppingliveinmobidetails",e.ShoppingLiveEmbed="shopping::live::eMSN 香港 | 首頁mbed",e.ShoppingLiveFeed="shopping::live",e.ShoppingLiveBase="shopping::live",e.ShoppingMomentInTime="shopping::mit",e.ShoppingExplore="shopping::explore",e.ShoppingExploreHalloween="shopping::explore::halloween",e.ShoppingCouponsPe="shopping::coupons",e.ShoppingDealsHomePe="shopping::deals::coupons",e.ShoppingStoreCouponsPe="shopMSN 香港 | 首頁ping::store-coupons",e.ShoppingStyles="shopping::styles",e.ShoppingStylesHomePe="shopping::style-ideas",e.ShoppingLanding="shopping::buydirect",e.ShoppingSearchResult="shopping::buydirect::search",e.ShoppingCart="shopping::buydirect::cart",e.ShoppingOrders="shopping::buydirect::orders",e.ShoppingForumOrderConfirmation="shopping::buydirect::order-confirmation",e.ShoppingForumOrderDetails="shopping::buydirect::order-details",e.ShoppingForumHome="shopping::buydirect::home",e.Source="source",e.Sports="sports",e.Topic="topic",e.Trel="trel",e.TrelPlaces="trel::places",e.TrelCollections="trel::collections",e.Video="video",e.VideoInf="videoinf",e.WebContent="webcontent",e.Widget="widget",e.Windows="windowshp",e.WindowsShellHP="windowsshellhp",e.ShoppingAllStoresPe="shopping::stores::popular",e.ShoppingLiveProductDetailsPe="shopping::live::product",e.ShoppingForumSellerPe="shopping::buydirect::stores",e.ShoppingForumForites="shopping::buydirect::forites",e.ShoppingBlackjackPe="shopping::deals",e.ShoppingBlackjackDealPe="shopping::deals::product",e.ShoppingSearch="shopping::search",e.ShoppingBingProductDetails="shopping::product-details",e.ShoppingInspiration="shopping::inspire",e.ShoppingBuyingGuide="shopping::buying-guide",e.ShoppingAssistant="shopping::ai",e.ShoppingShopDeals="shopping::shopdeals",e.ShoppingArticlePe="shopping::shop-article",e.ShoppingGuidesPe="shopping::shop-guides",e.ShoppingDebugPe="shopping::debug"}(E||(E={})),function(e){e.Adult="adult",e.Enterprise="enterprise",e.Kids="kids"}(P||(P={}));constq="feed/personalize/settings";varN,T,M;functionD(e){lett,n=!1;consto=function(){returnn||(n=!0,t=e()),t};returno.cache={clear:()=>{n=!1,t=void0}},o}!function(e){e[e.Unknown=0]="Unknown",e[e.NotSignedIn=1]="NotSignedIn",e[e.SignedIn=2]="SignedIn"}(N||(N={})),function(e){e.MSMSN 香港 | 首頁A="MSA",e.AAD="AAD",e.UNSUPPORTED_SOVEREIGNTY="UNSUPPORTED_SOVEREIGNTY"}(T||(T={})),function(e){e[e.NonAadAccount=0]="NonAadAccount",e[e.AadAccount=1]="AadAccount",e[e.Unknown=2]="Unknown"}(M||(M={}));constL="currentaccount",R=D((()=>{conste=d(L,!0),t=e&&b(e),{login_hint:n}=t||{};returnn&&t})),F=D((()=>!!d(L)));letW=newclass{constructor(){y()?(this.isDebugEnabled=(function(e,t){constn=t.replace(/[[\]]/g,"\\$&"),o=newRegExp("[?&]"+n+"(=([^]*)|&|#|$)").exec(e);if(!o)returnnull;consti=o[2];returndecodeURIComponent(i.replace(/\+/g,""))||""}(window.location.href,"debug")||"").toLowerCase()in{1:1,true:1},this.isDebugEnabled&&!n.g.TEST_ENV&&(window.webpackRequire=n)):this.isDebugEnabled=!1}getLoggingService(){returnnull}isDebug(){returnthis.isDebugEnabled}setDebug(e){this.isDebugEnabled=e}setTs(e){}log(e,t){this.isDebug()&&console.info(e)}logError(e){console.error(e)}logCallback(e){this.isDebug()&&console.info(e())}logObjects(...e){this.isDebug()&&console.log(...e)}logSingleObject(e,t){this.isDebug()&&console.log(e)}};letU=newclassextendsclass{constructor(e){this.store=e}getsupported(){return!!this.store}getItem(e){if(this.supported)returnthis.store.getItem(e)}getObject(e,t){constn=this.getItem(e);if(null!=n){conste=b(n);if(null!=e)returne}returnt}key(e){if(this.supported&&e>=0)returnthis.store.key(e)}keys(){returnthis.supported?Object.keys(this.store):[]}setObject(e,t){void0!==t?this.setItem(e,JSON.stringify(t)):this.removeItem(e)}removeObject(e){constt=this.removeItem(e);if(null!=t)returnb(t)}setItem(e,t,n=!0){if(this.supported)try{if(!t)throw"Attemptedtostorenull/undefinedvalue:"+t;this.store.setItem(e,t)}catch(e){if(!n)throwe;W.logError(e)}elseif(!n)thrownewError("WebStorenotsupported")}getlength(){if(this.supported)returnthis.store.length}removeItem(e){if(this.supported){constt=this.getItem(e);returnthis.store.removeItem(e),t}}clear(){this.supported&&this.store.clear()}removeSubstringKeys(e){if(!this.supported||!e)return;constt=[];for(letn=0;nH.has(e)});constB="__PeExperimentInstance__";functionG(e){j.set(B,e)}function$(e){vart,n;if(!j.has(B)&&y()){G(J(document.head.dataset.info||(null===(n=null===(t=window.document.getElementsByClassName("peregrine-widget-settings")[0])||void0===t?void0:t.dataset)||void0===n?void0:n.info)||""))}consto=j.get(B);returno&&o.has(e)}functionJ(e){constt=(e||"").replace(/(^f:|;.*$)/g,"").split(",");returnnewSet(t)}constV="1s-tokens",z=e5;varX;letK,Y;functionZ(){returnK=ee(),K&&K.accessToken?K:void0}functionQ(){if(K=ee(),!K)return"notailable";conste=K.expiresOn,t=newDate(e),n="expired";if(!t.getTime())returnn;consto=newDate,i="valid";if(t>o)returni;if($("prg-noext"))returnn;{conste=R();if(e&&e.account_type===T.MSA){if(newDate(t.getTime()+z)>o)returni}}returnn}functionee(){returnK=K||void0===K&&U.getObject(V)||null,K}!function(e){e.Notailable="notailable",e.Expired="expired",e.Valid="valid"}(X||(X={}));constte="__RequestDataInstance__";classne{constructor(e,t){if(this.url=newURL(e.href),this.innerHeight=e.innerHeight,this.devicePixelRatio=e.devicePixelRatio,this.canUseCssGrid=e.canUseCssGrid,this.requestId=e.requestId,this.cookie=e.cookie,this.referer=e.referer,this.userent=e.userent,this.clientData=e.clientData,this.oneServiceHeaders=function(e){try{if(e)returnJSON.parse(e)}catch(e){}}(e.oneServiceHeaders)||{},this.isPssrMode=t,t){conste=oe("OSATE",this.cookie),t=!!e&&"1"===e,n=oe("OSAT",this.cookie);if(t&&n||!e&&!n)returnthis.msalAuthReady=!0,void(n&&(this.oneServiceHeaders.Authorization=`Bearer${n}`));this.msalAuthReady=!1,this.pssrRejectedReason=e&&!t?"interactiveLogin":e&&!n?"missOSAT":"missOSATE"}}staticgetInstance(){conste=j.get(te);returne||(n.g.TEST_ENV?ie({href:"httplocalhost:8080/",innerHeight:768,devicePixelRatio:1,canUseCssGrid:!1,requestId:"0",cookie:"",userent:"",referer:"",oneServiceHeaders:""}):ie({href:"httplocalhost:8080/",innerHeight:0,devicePixelRatio:0,canUseCssGrid:!1,requestId:"0",cookie:"",userent:"",referer:"",oneServiceHeaders:""}))}staticresetInstance(e,t=!1){constn=newne(e,t);returnj.set(te,n),n}}functionoe(e,t){if(t&&e){constn=newRegExp("\\b"+e+"\\s*=\\s*([^;]*)","i").exec(t);returnn&&n.length>1?n[1]:null}returnnull}constie=ne.resetInstance,se=()=>ne.getInstance();functionre(){try{returnlocalStore}catch(e){returnnull}}constae="uxlogin",ce="uxlogout",de="uxedit",pe="useRedirect",ue="uxswitch",le=D((()=>{conste=re();returne&&"1"===e.getItem(ae)||y()&&location.search&&location.search.includes("uxlogin=1")}));consthe=D((()=>{conste=function(){try{returnsessionStore}catch(e){returnnull}}();returne&&!!e.getItem(ce)}));constge=D((()=>{conste=re();returne&&"1"===e.getItem(de)}));constme=D((()=>{conste=re(),t=!$("prg-noredirect")&&e&&"1"===e.getItem(pe)&&function(){conste=document.head.dataset.clientSettings||"",{browser:t}=b(e)||{},{browserType:n=""}=t||{};return!!/safari/i.test(n)}();returnt}));constfe=D((()=>{conste=re();returne&&"1"===e.getItem(ue)}));varwe;!function(e){e.outlookMobile="OnOOutlookMobile",e.officeMobile="OnOOfficeMobile",e.sapphire="OnOStartApp",e.skype="OnOSkype",e.winWeatherApp="weather-app-win",e.xiaomiApp="xmweather-",e.winMoneyApp="finance-app-win"}(we||(we={}));constbe=["ios","android","ipados"];letye=Pe("ocid").toLowerCase(),ve=Pe("chpltfm"),[Se,ke]=ve.toLowerCase().split("-");functionAe(){if(!y())return!1;conste=window.sapphireWebViewBridge,t=window.webkit,n=e&&e.send,o=t&&t.messeHandlers&&t.messeHandlers.send&&t.messeHandlers.send.postMesse;return!(!n&&!o)}functionCe(){conste=ve&&"outlook"===Se&&be.includes(ke),t=ye===we.outlookMobile.toLowerCase();returne||t}functionxe(){conste=ve&&["office","union"].includes(Se)&&be.includes(ke),t=ye===we.officeMobile.toLowerCase();returne||t}functionOe(){conste=ye===we.skype.toLowerCase()||"skype"===Se;returny()&&(null===(t=window.skypeWebviewBridge)||void0===t?void0:t.isSkype)||e;vart}functionIe(){returnAe()||ye===we.sapphire.toLowerCase()||ye==="superappdhp".toLowerCase()}function_e(){return"3rdp"===Se||ye.startsWith(we.xiaomiApp)}constEe=D((()=>Ae()||Oe()||xe()||Ce()||Ie()||ye===we.winWeatherApp.toLowerCase()||ye===we.winMoneyApp.toLowerCase()||function(){conste=Pe("edge");return("emmx"===Se||"1"===e)&&Ie()}()||_e()));functionPe(e){try{returnnewURL(location.href).searchParams.get(e)||""}catch(e){return""}}constqe=_()||{},Ne={newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,distribution:1,superApp:1,channel:1},Te={edgeChromium:1},Me={winWidgets:1},De={shopping:1},Le={edge:1,edgeChromium:1,channel:1,cgHomePe:1,distribution:1,mmx:1,newsAndInterests:1,windowsNewsbar:1,windowsNewsPlus:1,winWidgets:1,windowsShell:1,windowsShellV2:1,superApp:1},Re=D((()=>qe&&qe.apptype)),Fe=(D((()=>y()&&Re()inMe)),D((()=>y()&&!Ee()&&!(Re()inNe)&&!He()&&!je()))),We=D((()=>Fe()&&!(Re()inTe)));D((()=>Fe()&&(!(Re()inTe)||!F()))),D((()=>Fe()&&!Je()&&!Ve()));functionUe(){returnVe()||Je()}constHe=D((()=>{conste="edgeChromium"!==Re()&&!(Re()inDe)&&ze()&&function(){conste=newURLSearchParams(y()?window.location.search:se().url.search).get("ocid")||(null==qe?void0:qe.ocid),t=null==e?void0:e.toLowerCase();return!I.has(t)&&"homePe"!==Re()&&!x.has(t)}()&&!("windows"==Re()&&(qe&&qe.petype)==E.Windows&&(y()?window.location.href:se().url.href).includes(`${q}`));returne})),je=()=>y()&&document&&document.body&&document.body.getElementsByClassName("peregrine-widgets").length>0,Be=D((()=>$("prg-1s-workid")));D((()=>Re()inLe||He()));functionGe(){conste=Y;if(e)returnW.log("dual-auth:tryGet1SAuthTokenreturnedlivetokens"),e;constt=Z();if(t)returnW.log(`dual-auth:tryGet1SAuthTokenreturnedcachedtokensthatare${Q()}`),t;W.log("dual-auth:tryGet1SAuthTokenreturnedemptytokens")}function$e(e){constt={};returne&&(t[v]=`Bearer${e}`),t}functionJe(){returnWe()&&le()||We()&&!le()&&R()&&("expired"==Q()||ge())||he()||me()}functionVe(){returnWe()&&!R()&&fe()}constze=D((()=>{const{browser:e}=qe,{browserType:t=""}=e||{};return!!/edgeChromium/i.test(t)}));constXe="__core_auth_authHeaderPromiseParts__",Ke=()=>j.get(Xe);varYe;!function(){lete;constt={promise:newPromise((t=>e=t)),resolver:e};j.set(Xe,t)}(),function(e){e.GLOBAL="GLOBAL",e.GCC_MODERATE="GCC_MODERATE"}(Ye||(Ye={}));letZe;functionQe(){returnZe}functionet(e){constt=e||Qe()||"al_app_anon",n=tt();return!!(n&&(["anon","al_anon"].includes(t)&&n.AL_ANON||["app_anon","al_app_anon"].includes(t)&&n.AL_APP_ANON))}consttt=D((()=>b(d("AL_STATE",!0))));constnt=()=>{conste=d("elt",!0),t=e&&b(e),{access_token:n,account_type:o,login_hint:i}=t||{};return(n||o||i)&&t};varot;!function(e){e.Adult="adult",e.Enterprise="enterprise",e.Kids="kids"}(ot||(ot={}));functionit(e,t,n,o){returnnew(n||(n=Promise))((function(i,s){functionr(e){try{c(o.next(e))}catch(e){s(e)}}functiona(e){try{c(o.throw(e))}catch(e){s(e)}}functionc(e){vart;e.done?i(e.value):(t=e.value,tinstanceofn?t:newn((function(e){e(t)}))).then(r,a)}c((o=o.apply(e,t||[])).next())}))}Object.create;Object.create;functionst(e){returnnewPromise((t=>setTimeout(t,e)))}constrt=document.head.attributes["data-info"].value;letat;if(rt){conste=rt.split(";").find((e=>e.startsWith("f:")));e&&(at=e.substring(2),at.indexOf("1sw-pcsreturnhp")>-1&&g("PCSreturned.ExecutinginlineJS.",8e4,{customMesse:location.href},l.NoAlert))}(newclass{constructor(){this.childCookieName="child",this.domInfo=document.head.dataset.info,this.command="command"}init(e=null){this.clientSettings=e||_(),this.authCookieName=Qe()||window._authCookieName||"",this.bundle=window._webWorkerBundle||"";constt=this.buildWebWorkerUrl(),n=window.webWorker=newWorker(t,{name:"web-worker"}),o=window.webWorkerMesses=[];n.onmesse=e=>{o.push(e.data)};consti=window.webWorkerErrors=[];if(n.onerror=e=>{i.push(e)},window.chrome){conste=this.getAudienceMode(this.clientSettings),t=window.webWorker&&window.chrome&&window.chrome.ntpSettingsPrivate;t&&"function"==typeoft.getPref&&(t.getPref("ntp.news_feed_display",(e=>{e&&e.value&&n.postMesse({id:"FeedDisplaySetting",type:this.command,payload:e.value})})),t.getPref("ntp.layout_mode",(e=>{e&&e.value&&n.postMesse({id:"LayoutModeSetting",type:this.command,payload:e.value})})),t.getPref("ntp.user_nurturing",(e=>{lett=!1;e&&e.value&&e.value.length&&(t=this.getSingleColRequest(e.value)),n.postMesse({id:"RenderSingleColumn",type:this.command,payload:t})})),t.getPref("new_device_fre.has_user_seen_new_fre",(e=>{e&&n.postMesse({id:"NewUserFre",type:this.command,payload:e.value})}))),t&&"function"==typeoft.getConfigData&&t.getConfigData((e=>{constt=(null==e?void0:e.enabledFeatures)||[];t.includes("msReducedNtpAdsForNewDevice_ste1")&&n.postMesse({id:"EdgeNoAds",type:this.command,payload:!0}),t.includes("msReducedNtpAdsForNewDevice_ste2")&&n.postMesse({id:"EdgeReduceAds",type:this.command,payload:!0})})),e===ot.Enterprise&&this.clientSettings.browser&&"edgeChromium"===this.clientSettings.browser.browserType&&parseInt(this.clientSettings.browser.version)>=87?this.getEnterpriseAccessToken().then((e=>{e&&n.postMesse({id:"AuthTokenEnterprise",type:this.command,payload:$e(e)})})):n.postMesse({id:"AuthTokenEnterprise",type:this.command,payload:{}}),e!==ot.Adult&&e!==ot.Enterprise||this.sendPeConfiguration()}Ue()&&Ke().promise.then((e=>n.postMesse({id:"AuthHeaders",type:this.command,payload:e||{}})))}buildWebWorkerUrl(e=null){return(this.bundle||"")+"#"+this.qsFromDocument()+this.qsFromCookies()+this.qsFromDataAttribute(e||this.clientSettings)+this.qsMisc()+this.qsAuth(e||this.clientSettings)+this.qsFromUrl()+this.qsFromServiceWorker()+this.qsSelectedPivot()+this.qsXboxXToken()}qs(e,t,n){returne?t+"="+(n||e)+"&":""}qsFromDocument(){vare;returnthis.qs(document.getElementsByTName("html")[0].getAttribute("lang"),"lang")+this.qs(encodeURIComponent(window.location.href),"adsReferer")+this.qs(null===(e=y()?window.devicePixelRatio:se().devicePixelRatio)||void0===e?void0:e.toString(),"devicePixelRatio")}qsFromServiceWorker(){if(!nigator.serviceWorker||!nigator.serviceWorker.controller)return"";conste=nigator.serviceWorker.controller;if("activated"!==e.state||!e.scriptURL)return"";if(e.scriptURL){constt=newURL(e.scriptURL).searchParams.toString();returnt?"&"+t+"&":""}return""}qsFromCookies(){returnthis.qs(u(this.authCookieName),"aace","1")+this.qs(u("muid"),"muid")+this.qs(u(this.childCookieName),"child")+this.qs(u("cbypass"),"cbypass")+this.qs(this.cookieBannerConsentRequired().toString(),"ccRequired")+this.qs(u("ecasession"),"ecasession")+this.qs(u("TOptOut"),"browserOptOut")}qsFromDataAttributeHelper(e,t){returne&&e.featureFls&&e.featureFls.wpoEnabled&&t&&!t.includes("remwpofltww")&&(t=this.appendWpoFlightsToInfo(e,t)),this.qs(e.pcsInfo&&e.pcsInfo.env||e.env,"env")+this.qs(e.aid,"aid")+this.qs(e.apptype,"apptype")+this.qs(e.petype,"petype")+this.qs(e.audienceMode,"audienceMode")+this.qs(e.configIndexDocId,"configIndexDocId")+this.qs(e.deviceFormFactor,"deviceFormFactor")+this.qs(e.domain,"domain")+this.qs(e.configRootUrl,"configRootUrl")+this.qs(this.getHighestCbid(e.cbid,e.apptype),"cbid")+this.qs(e.ocid,"ocid")+this.qs(e.os,"os")+this.qs(JSON.stringify(e.locale),"locale")+this.qs(e.geo_lat,"lat")+this.qs(e.geo_long,"long")+this.qs(JSON.stringify(e.featureFls),"featureFls")+this.qs(JSON.stringify(e.browser),"browser")+this.qs(JSON.stringify(e.servicesEndpoints),"servicesEndpoints")+this.qs(e.bundleInfo&&e.bundleInfo.v||"","buildVersion")+this.qs(t,"dataInfo")}qsSelectedPivot(){conste="selectedPivot";lett;try{constn=re();n&&(t=n.getItem(e))}catch(e){console.warn("Errorgettingpivotidfromlocalstore."+e)}returnthis.qs(t,e)}qsXboxXToken(){conste="xboxXTokenId";lett;try{constn=re();n&&(t=n.getItem(e))}catch(e){console.warn("ErrorgettingxboxXTokenfromlocalstore."+e)}returnthis.qs(t,e)}appendWpoFlightsToInfo(e,t){constn=this.getWpoFlightsFromLocalStore(e);if(n&&n.length){conste=";",o=t.split(e);for(lete=0;ee.id))}}catch(e){console.warn(`Errorgettingwpoflightsfromlsfor${o}Error:${e}`)}returnnull}getHighestCbid(e,t){try{constn=re(),o=parseInt(e),i=parseInt(JSON.parse(n.getItem(`cbid_${t||""}`)));lets;if(o&&!isNaN(o)&&i&&!isNaN(i)&&(s=o>i?o:i),s=s||o||i,s)returnwindow._cbid=s.toString()}catch(e){console.warn("ErrorgettinghighestCBID"+e)}}getAudienceMode(e){re();constt=d(this.authCookieName),n=d(this.childCookieName),{child:o}=t&&JSON.parse(t)||{};returnt&&(1===o||n)?"kids":e.audienceMode||ot.Adult}sendPeConfiguration(){conste=this.clientSettings.petype;if(e){constt=d&&d("pglt-edgeChromium-"+e);if(t)returnvoidwindow.webWorker.postMesse({id:"PeConfiguration",type:this.command,payload:t})}window.webWorker.postMesse({id:"PeConfiguration",type:this.command,payload:!1})}qsFromDataAttribute(e){lett,n;consto=re();if(o){consti=JSON.parse(o.getItem("shd_"+e.petype)||null);i&&i.clientSettings&&i.info&&(t=Object.assign(Object.assign({},i.clientSettings),{bundleInfo:e.bundleInfo}),n=i.info)}return(!t||!n||e.peGenTime>=t.peGenTime)&&(t=e,n=this.domInfo),t.audienceMode=this.getAudienceMode(t),this.qsFromDataAttributeHelper(t,n)}qsFromUrl(){conste=location.search;returne&&e.length?e.substring(1,e.length):""}getEnterpriseAccessToken(){returnnewPromise((e=>{window.chrome&&window.chrome.authPrivate?window.chrome.authPrivate.getPrimaryAccountInfo((t=>{t&&"GCC_MODERATE"!==t.region_scope||e("");constn={account_id:t.account_id,account_type:t.account_type,client_id:"d7b530a4-7680-4c23-a8bf-c52c121d2e87",scope_or_resource:"enterprisenews.microsoft.com"};window.chrome.authPrivate.acquireAccessTokenSilently(n,(t=>{t.is_success?e(t.access_token):e("")}))})):e("")}))}qsMisc(){returnthis.qs(performance.timeOrigin&&performance.timeOrigin.toString(),"mainTimeOrigin")}qsAuth(e){lett=this.qs(We()&&"1","disableWWAuth");if(!Ue()){conste=We()&&Ge()||{};t+=this.qs(encodeURIComponent(JSON.stringify($e(e.accessToken))),"authHeaders")}returnt+=this.qs(et()&&"1","isAccountLinked"),t+=this.qs(this.shouldFetchAppAnonCookie()&&"1","fetchAppAnonCookie"),t}getSingleColRequest(e){constt="render_single_column",n="feed_layout";leto,i;for(constsofe){const{key:e,value:r}=s;e===t?o=r:e===n&&(i=r)}return"boolean"==typeofo?o:!!i&&(i&&"single"===i.type)}cookieBannerConsentRequired(){conste=null!=document.getElementById("consent-banner-container")&&null===d("MSCC"),t=null!=document.getElementById("onetrust-sdk")&&null===d("eupubconsent-v2");returne||t}shouldFetchAppAnonCookie(){if(!ze())return!0;conste=(()=>{conste=nt();if(e){if("MSA"===e.account_type)returnT.MSA;if("AAD"===e.account_type)returnT.AAD}})();returne===T.MSA||p("lt")?!p("aace"):e===T.AAD?et()&&!Be():void0}}).init(),function(e=["vendors","common","microsoft"],t="Errorwhenloadingbundle(s):",n=5e5,o,i){f().then((()=>{setTimeout((()=>{constn=window.webpackJsonp;if(n){consts=n.length,r=e.length+1;if(s{t.length&&t[0][0]&&e.splice(e.indexOf(t[0][0]),1)}))}w(),g(t+e.toString(),,{}),i&&(w(o),i(o,{customMesse:e.toString()}))}}}),n)}))}();constct='\n\nmsn_logo\n\n\n\n\n\n\n',dt=300;functionpt(){returndocument.body.querySelector("entry-point")||document.body.querySelector("entry-point-hp-mobile")}functionut(e){vart,n;return((null===(n=null===(t=document.head)||void0===t?void0:t.getAttribute("data-info"))||void0===n?void0:n.split(";").find((e=>e.startsWith("f:"))))||"").includes(e)}!function(){if(!((null==at?void0:at.indexOf("prg-hp-nsl"))>=0)){classtextendsHTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){conste=document.createElement("style");e.innerHTML='\n:host{\nfont-family:SegoeUI,SegoeUIMidlevel,SegoeWP,Arial,sans-serif!important;\ndisplay:flex;\nheight:100vh;\nwidth:100vw;\nposition:fixed;\nbackground:#e0e0e0;\ntop:0;\nleft:0;\njustify-content:center;\ncolor:#000;\nz-index:;\n}\n.container{\ndisplay:flex;\nmargin-top:200px;\nflex-direction:column;\nuser-select:none;\n-moz-user-select:none;\n-webkit-user-select:none;\n-ms-user-select:none;\nalign-items:center;\n}\n.logo{\nmargin:0015px;\nfont-size:38px;\nletter-spacing:2px;\nword-spacing:-5px;\nopacity:1;\n}\n.logosvg{\ncolor:#000;\ndisplay:inline-block;\nheight:35px;\nposition:relative;\ntop:3px;\n}\n.loading-bar{\ndisplay:block;\nheight:2px;\nwidth:100px;\nbackground:#fff;\noverflow:hidden;\nborder-radius:2px;\n}\n.loading-bar:before{\ncontent:"";\ndisplay:block;\nheight:2px;\nwidth:40px;\nbackground:#000;\nleft:-20px;\nposition:relative;\nanimation:loading-bar1.5sinfinite;\n}\n@keyframesloading-bar{\n0{\nleft:-20px;\n}\n50%{\nleft:80px;\n}\n100%{\nleft:-20px;\n}\n}\n';constt=`\n\n${ct}msn\n\n\n`,n=document.createElement("div");n.className="container",n.innerHTML=t,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(n)}}customElements.get("msn-hp-loading-indicator")||customElements.define("msn-hp-loading-indicator",t),setTimeout((()=>{pt()||function(){constt=document.body;if(t)e();else{constn=newMutationObserver((function(){t&&(n.disconnect(),e())}));n.observe(document.documentElement,{childList:!0})}}()}),dt)}functione(){conste=document.createElement("msn-hp-loading-indicator");e.id="loader",document.body.appendChild(e);constt=newMutationObserver((function(){pt()&&(t.disconnect(),document.body.querySelector("msn-hp-loading-indicator").remove())}));t.observe(document.body,{childList:!0})}}(),(ut("prg-sdkpreload")||ut("prg-renderoptimize"))&&function(){it(this,void0,void0,(function*(){window.apnt=window.apnt||{anq:[]},window.apnt.anq=window.apnt.anq||[],yieldfunction(e){returnit(this,void0,void0,(function*(){if(!y())return;const{src:t,id:n,async:o=!0,container:i=document.head,retryNumber:s=0,retryDelayMs:r=0}=e;try{yieldfunction(e,t=3,n=100){returnit(this,void0,void0,(function*(){if(t{constr=function(e,t,n=!0,o="anonymous",i,s){if(!y())thrownewError("createScriptTisunsupportedserverside.ThiscallshouldbewrappedincanUseDOM().");constr=document.createElement("script");returnt&&(r.id=t),i&&r.setAttribute("class",i),s&&(r.onload=s),r.type="text/jascript",e&&(r.src=e,r.async=n,r.crossOrigin=o),window&&window.NONCE_ID&&(r.nonce=window.NONCE_ID),r}(e,t,o,void0,void0,(()=>i(!0)));r.crossOrigin=void0,r.onerror=s,n.prepend(r)}))}(t,n,i,o)),s,r)}catch(e){g("FailedtodownloadStaticJS",,{scriptId:n,scriptSrc:t},l.Alert)}}))}({id:"display-sdk",src:"acdn.adnxs.com/ast/ast.js",container:document.head,retryDelayMs:200,retryNumber:5})}))}()}();if(matchMedia("(prefers-color-scheme:dark)").matches){consts=document.createElement("style");document.head.appendChild(s);s.type="text/css";s.appendChild(document.createTextNode("body{background:#}"));}const_clientSettings=JSON.parse(document.head.dataset.clientSettings);functionpreloadConfigIDB(){consto=window.indexedDB;if(!o)return;conste="Configurations_12",n="IndexedDB-"+e+".",r=window._appTimings||(window._appTimings={});r[n+"open-Start"]=performance.now(),window._idbConfigLookup={};consti=window._idbConfigLookup;lett,s;window._idbConfigReadPromise=newPromise((o,e)=>{t=o,s=e}),window._idbConfigOpenPromise=(()=>{try{constd=o.open("wwConfigs",1);returnnewPromise((o,c)=>{d.onerror=(()=>{c(newError("ConfigIDBpreloadopenfailure:"+d.error))}),d.onsuccess=(()=>{r[n+"open-End"]=performance.now();constc=d.result;o(c),r[n+"getAllObjects-Start"]=performance.now();consta=c.transaction(e,"readonly").objectStore(e).openCursor();a.onsuccess=function(){consto=this.result;o?(i[o.key]=o.value,o.continue()):(r[n+"getAllObjects-End"]=performance.now(),t())},a.onerror=(()=>{s(newError("ConfigIDBpreloadreadfailure"))})}),d.onupgradeneeded=(()=>{d.result.createObjectStore(e)})})}catch(o){returnPromise.reject(newError("ConfigIDBpreloadopenfailure:"+o))}})()}preloadConfigIDB();functionappendScript(url,async,defer){lets=document.createElement("script");s.type="text/jascript";s.src=url;if(async){s.async=true;}if(defer){s.defer=true;}s.onerror=()=>onErrorHandler(s.src);s.nonce="";s.crossOrigin="anonymous";document.body.appendChild(s);}

Sitio:MSN 香港 | 首頁Reporte

Si hay una infracción del sitio, haga clic en InformarReporte

Información recomendada

Sitio recomendado