关于meta
我刚开始学习html,今天学了一些关于meta的点。请教一个问题。这个是一个国外的电商网站:www.lightinthebox.com
我复制了他们网页代码的前一部分,如下:
我刚开始学web development,前八九行还勉强能看懂。可再往后的一大堆就信心受挫了。这些究竟是什么呢?我以后会接触这些吗?看着似乎不像是人类一个一个敲上去的。这些都怎样解释呢?
谢谢。
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<title>
LightInTheBox - Global Online Shopping for Dresses, Home & Garden, Electronics, Wedding Apparel
</title>
<meta name="ROBOTS" content="ALL" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"XAYCV1ZADQQGVVJWAA==",licenseKey:"bd90ac8dc9",applicationID:"5761347"};window.NREUM||(NREUM={}),__nr_require=function(t,n,e){function r(e){if(!n){var o=n={exports:{}};t.call(o.exports,function(n){var o=t;return r(o||n)},o,o.exports)}return n.exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<e.length;o++)r(e);return r}({1:,2:)}catch(d){}}return"function"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,n,e){this.message=t||"Uncaught error with no additional information",this.sourceURL=n,this.line=e}function o(t,n){var e=n?null:c.now();i("err",)}var i=t("handle"),a=t(22),s=t("ee"),c=t("loader"),f=t("gos"),u=window.onerror,d=!1,l="nr@seenError",p=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(9),t(8),"addEventListener"in window&&t(5),c.xhrWrappable&&t(10),d=!0)}s.on("fn-start",function(t,n,e){d&&(p+=1)}),s.on("fn-err",function(t,n,e){d&&!e&&(f(e,l,function(){return!0}),this.thrown=!0,o(e))}),s.on("fn-end",function(){d&&!this.thrown&&p>0&&(p-=1)}),s.on("internal-error",function(t){i("ierr",)})},{}],3:,4:;e instanceof x&&(this.bstStart=y.now())}),o.on(w,function(t,n){var e=t;e instanceof x&&i("bst",)}),a.on(m,function(t,n,e){this.bstStart=y.now(),this.bstType=e}),a.on(w,function(t,n){i(v,)}),s.on(m,function(){this.bstStart=y.now()}),s.on(w,function(t,n){i(v,)}),o.on(g+p,function(t){this.time=y.now(),this.startPath=location.pathname+location.hash}),o.on(g+h,function(t){i("bstHist",)}),f in window.performance&&(window.performance["c"+c]?window.performance(u,function(t){i(d,),window.performance["c"+c]()},!1):window.performance("webkit"+u,function(t){i(d,),window.performance["webkitC"+c]()},!1)),document("scroll",r,{passive:!0}),document("keypress",r,!1),document("click",r,!1)}},{}],5:,"-",i)}function i(t,n){return t}var a=t("ee").get("events"),s=t("wrap-function")(a,!0),c=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";n.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,n){var e=t,r=c(e,"nr@wrapped",function(){function t(){if("function"==typeof e.handleEvent)return e.handleEvent.apply(e,arguments)}var n={object:t,"function":e};return n?s(n,"fn-",null,n.name||"anonymous"):e});this.wrapped=t=r}),a.on(d+"-start",function(t){t=this.wrapped||t})},{}],6:;"function"==typeof r&&(t=function(){var t=i(arguments),n={};o.emit(e+"before-start",,n);var a;n&&n.dt&&(a=n.dt);var s=r.apply(this,t);return o.emit(e+"start",,s),s.then(function(t){return o.emit(e+"end",,s),t},function(t){throw o.emit(e+"end",,s),t})})}var o=t("ee").get("fetch"),i=t(22),a=t(21);n.exports=o;var s=window,c="fetch-",f=c+"body-",u=["arrayBuffer","blob","json","text","formData"],d=s.Request,l=s.Response,p=s.fetch,h="prototype",m="nr@context";d&&l&&p&&(a(u,function(t,n){r(d,n,f),r(l,n,f)}),r(s,"fetch",c),o.on(c+"end",function(t,n){var e=this;if(n){var r=n.headers.get("content-length");null!==r&&(e.rxSize=r),o.emit(c+"done",,e)}else o.emit(c+"done",,e)}))},{}],7:,"-")},{}],8:,"raf-"),r.on("raf-start",function(t){t=o(t,"fn-")})},{}],9:=a(t,"fn-",null,e)}function o(t,n,e){this.method=e,this.timerDuration=isNaN(t)?0:+t,t=a(t,"fn-",this,e)}var i=t("ee").get("timer"),a=t("wrap-function")(i),s="setTimeout",c="setInterval",f="clearTimeout",u="-start",d="-";n.exports=i,a.inPlace(window,,s+d),a.inPlace(window,,c+d),a.inPlace(window,,f+d),i.on(c+u,r),i.on(s+u,o)},{}],10:,"fn-",s)}function o(){var t=this,n=u.context(t);t.readyState>3&&!n.resolved&&(n.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,g,"fn-",s)}function i(t){y.push(t),h&&(b?b.then(a):w?w(a):(E=-E,O.data=E))}function a(){for(var t=0;t<y.length;t++)r([],y);y.length&&(y=[])}function s(t,n){return n}function c(t,n){for(var e in t)n=t;return n}t(5);var f=t("ee"),u=f.get("xhr"),d=t("wrap-function")(u),l=NREUM.o,p=l.XHR,h=l.MO,m=l.PR,w=l.SI,v="readystatechange",g=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],y=[];n.exports=u;var x=window.XMLHttpRequest=function(t){var n=new p(t);try{u.emit("new-xhr",,n),n.addEventListener(v,o,!1)}catch(e){try{u.emit("internal-error",)}catch(r){}}return n};if(c(p,x),x.prototype=p.prototype,d.inPlace(x.prototype,["open","send"],"-xhr-",s),u.on("send-xhr-start",function(t,n){r(t,n),i(n)}),u.on("open-xhr-start",r),h){var b=m&&m.resolve();if(!w&&!m){var E=1,O=document.createTextNode(E);new h(a).observe(O,{characterData:!0})}}else f.on("fn-end",function(t){t&&t.type===v||a()})},{}],11:[function(t,n,e){function r(t){if(!i(t))return null;var n=window.NREUM;if(!n.loader_config)return null;var e=(n.loader_config.accountID||"").toString()||null,r=(n.loader_config.agentID||"").toString()||null,s=(n.loader_config.trustKey||"").toString()||null;if(!e||!r)return null;var
本帖最后由 liuzhengyuan 于 2020-7-30 15:38 编辑
JavaScript 代码
小甲鱼老师之后会教的
貌似是源代码中的 换行 被人为的消除了 源代码应该不是这样,只是解析成了这样吧? 这是编译过后的代码。。应该是用webpack打包工具之类的打包过后的,变量名,空格全没了。所以此代码不值得研究
页:
[1]