前端面试题

网友投稿 684 2022-05-29

标四级标题的是答案

内容

写“Hello World”的正确javascript 语法是()

“B. ““Hello World”””

“C. response.write(”“Hello World”")"

“D. (”“Hello World”")"

JS特性不包括()

A.解释性

B.用于客户端

C.基于对象

下列JS的判断语句中()是正确的

B.if(i=0)

C.if i==0 then

D.if i=0 then

下列JavaScript的循环语句中()是正确的

A.if(i<10;i++)

B.for(i=0;i<10)

C.for i=1 to 10

下列的哪一个表达式将返回假

A.!(3<=1)

C.(“a”==”a”)&&(“c”!=”d”)

D.(2<3)||(3<2)

下列选项中,()不是网页中的事件

A.onclick

B.onmouseover

C.onsubmit

“有语句“var x=0;while(____) x+=2;”,要使while 循环体执行10 次,空白处的循环判定

式应写为:”

A.x<10

B. x<=10

D.x<=20

“JS 语句

var a1=10;

var a2=20;

alert(“a1+a2=”+a1+a2)

将显示()结果”

A.a1+a2=30

C.a1+a2=a1+a2

将字串s中的所有字母变为小写字母的方法是()

A.s.toSmallCase()

C.s.toUpperCase()

D.s.toUpperChars()

“以下()表达式产生一个0~7 之间(含0,7)的随机整数.”

A.Math.floor(Math.random()*6)

B.Math.floor(Math.random()*7)

D.Math.ceil(Math.random()*8)

产生当前日期的方法是()

A.Now();

B.Date()

D.new Now()

“如果想在网页显示后,动态地改变网页的标题()”

A.是不可能的

B.通过document.write(“新的标题内容”)

D.通过document.changeTitle(“新的标题内容”)

HTML文档的树状结构中,()标签为文档的根节点,位于结构中的最顶层。

B.

C.

D.</p><p>在HTML 页面中,CSS 样式的属性名为background-image 对应的style 对象的属性名是()</p><p>A.background</p><p>C.image</p><p>D.background</p><p>在HTML 文档对象模型中,history 对象的()用于加载历史列表中的下一个URL 页面。</p><p>A.next()</p><p>B.back()</p><p>D.go(-1)</p><p>在Javascript中要改变页面文档的背景色,需要修改document 对象的()属性。</p><p>A.backColor</p><p>C.bgColor</p><p>D.background</p><p>在HTML页面中,不能与onChange事件处理程序相关联的表单元素有()</p><p>A.文本框</p><p>B.复选框</p><p>C.列表框</p><p>在HTML页面上编写Javascript 代码时,应编写在()标签中间。</p><p>A.和</p><p>C. 和</p><p>D. 和</p><p>编写Javascript 函数实现网页背景色选择器,下列选项中正确的是()</p><p>“A.function change(color){</p><p>window.backgroundColor=color;}”</p><p>document.backgroundColor=color;}"</p><p>“C. function change(color){</p><p>body.backgroundColor=color;}”</p><p>“D. function change(color){</p><p>form.backgroundColor=color;}”</p><p>在Javascript中,可以使用Date对象的()方法返回一个月中的每一天。</p><p>B.getYear</p><p>C.getMonth</p><p>D.getTime</p><p>在Javascript中,对于浏览器对象的层次关系理解正确的是()(选择二项)</p><p>B.document 对象包含location 对象和history 对象</p><p>C.location 对象包含history</p><p>“在HTML页面中包含一个按钮控件mybutton,如果要实现点击该按钮时调用已定义的</p><p>Javascript 函数compute,要编写的HTML代码是()”</p><p>A.<input name=”mybutton” type=”button” onBlur=”compute()”value=”计算”></p><p>B.<input name=”mybutton” type=”button” onFocus=”compute()”value=”计算”></p><p>C.<input name=”mybutton” type=”button” onClick=”function compute()”value=”计算”></p><p>“分析下面的Javascript 代码段,输出结果是()</p><p>var mystring=”I am a student”;</p><p>var a=mystring.substring(9,13);</p><p>document.write(a);”</p><p>A.stud</p><p>B.tuden</p><p>D.udent</p><p>“Javascript中制作图片代替按钮的提交效果需要手动提交方法submit(),以下调用正确的</p><p>是()”</p><p>A.submit();</p><p>B.myform.submit()</p><p>D.window.myform.submit();</p><p>“在HTML 页面中包含如下所示代码,则编写Javascript 函数判断是否按下键盘上的回车</p><p>键正确的编码是()”</p><p>“A. function myKeyDown(){</p><p>if (window.keyCode</p><p>13)</p><p>alert(“你按下了回车键”);"</p><p>"B. function myKeyDown(){</p><p>if (document.keyCode</p><p>13)</p><p>alert(“你按下了回车键”);”</p><p>if (event.keyCode</p><p>13)</p><p>alert(“你按下了回车键”);"</p><p>"D. function myKeyDown(){</p><p>if (keyCode</p><p>13)</p><p>alert(“你按下了回车键”);"</p><p>"如果在HTML 页面中包含如下图片标签,则选项中的()语句能够实现隐藏该图片的</p><p>功能。<img id=”pic” src=”Sunset.jpg” width=”400” height=”300”>"</p><p>A.document.getElementById(“pic”).style.display=”visible”;</p><p>B.document.getElementById(“pic”).style.display=”disvisible”;</p><p>C.document.getElementById(“pic”).style.display=”block”;</p><p>"如果在HTML 页面中包含如下图片标签,则在下划线处添加()代码能够实现隐藏该</p><p>图片的功能。</p><p><img id=”pic” src=”Sunset.jpg” width=”400” height=”300” ____________ >"</p><p>A. style=”display:visible”;</p><p>B. style=”display:disvisible”;</p><p>C. style=”display:block”;</p><p>“下列选项中,()段HTML代码所表示的“返回”链接能够正确实现IE工具栏中“后</p><p>退”按钮的功能。(选择二项)”</p><p>B.<a href=”javascript:location.back()”>返回</a></p><p>C. <a href=”javascript: location go(-1)”>返回</a></p><p>“在HTML文档中包含如下超链接,要实现当鼠标移入该链接时,超链接文本大小变为</p><p>30px,选项中的编码正确的是()”</p><p>A.<a href=”#” onmouseover=”this.style.fontsize=30px”>注册</a></p><p>B.<a href=”#” onmouseout=”this.style.fontsize=30px”>注册</a></p><p>D.<a href=”#” onmouseout=”this.style.fontSize=30px”>注册</a></p><p>“在HTML页面上,当按下键盘上的任意一个键时都会触发Javascript的()事件”</p><p>A.onFocus</p><p>B.onBlur</p><p>C.onSubmit</p><p>“在HTML页面中,定义了如下所示的Javascript函数,则正确调用该函数的HTML代码是()(选择二项)function compute(op){</p><p>alert(op);</p><p>}”</p><p>C.<input name=”c” type=”button” onclick=”compute(“*”)” value=”*”></p><p>D.<input name=”d” type=”button” onclick=”compute(/ )” value=”/”></p><p>"在HTML 页面上包含如下创建层的语句,那么编写Javascript 语句实现显示该层的语句</p><p>错误的是()</p><p><body> <div id=”imageLayer” style=”display:none;”> <img src=”images/Sunset.jpg” width=”200” height=”100”></div> </body> <html>"</p><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>A. document.getElementsByTagName(“div”)[0].style.display=”block”</p><p>B.document.getElementById(“imageLayer”).style.display=”block”;</p><p>C.document.querySelectorAll(“#imageLayer”)[0].style.display=”block”;</p><p>“分析下面的Javascript代码段,输出结果是()var s1=parseInt(“101 中学”);</p><p>document.write(s1);”</p><p>A.NaN</p><p>B.101中学</p><p>D.出现脚本错误</p><p>“在HTML中点击图片”previous.gif”上的超级链接后页面将加载历史列表中的上一个</p><p>URL页面。代码如下所示,应在下划线处填入()”</p><p>B. “history.go(1)”</p><p>C. “history.go(-1)”</p><p>D. “javascript:history.go(1)”</p><p>“在HTML页面上包含如下所示的层对象,则javascript语句</p><p>document.getElementById(“info”).innerHTML的值是()</p><p>请填写</p><p>请填写</p><p>C.id=”info”style=”display:block”</p><p>D.</p><p>请填写</p><p>以下哪条语句会产生运行错误()</p><p>B.var obj = [ ];</p><p>C.var obj = { };</p><p>D.var obj =/ /;</p><p>“空字符串(”""")也是字符串常量。"</p><p>错</p><p>“使用单引号对(’ ')表示字符常量,而使用双引号对(”" “”)表示字符串常量。"</p><p>错</p><p>在定义JavaScript变量时,一定要指出变量名和值。</p><p>对</p><p>用var定义一个变量后,如果没有赋予任何值,那么它的值是空值,即null。</p><p>对</p><p>JavaScript规定在使用任何变量之前必须先使用var声明它。</p><p>对</p><p>“在使用var x=1声明变量x之后,赋值语句x=”“今天天气真好”“将出错。”</p><p>对</p><p>表达式的类型只取决于运算符,与操作数无关。</p><p>对</p><p>“如果有定义var a=true,b;那么allb的结果为true。”</p><p>错</p><p>"在 HTML 页面中有如下结构的代码:</p><p><div id=""header""> <h3> <span>全国信息化工程师NACG专业人才测评工程</span> </h3> <ul> <li>一</li> <li>二</li> <li>三</li> <li>四</li> </ul> </div></p><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><p>11</p><p>请问下列选项()所示 jQuery 代码,不能够让汉字“四”的颜色变成红色。(选一项)"</p><p>“A、 $(”"#header ul li:eq(3)"").css("“color”","“red”");"</p><p>“B、 $(”"#header li:eq(3)"").css("“color”","“red”");"</p><p>“C、 $(”"#header li:last"").css("“color”","“red”");"</p><p>在jQuery中,函数()能够实现元素显示和隐藏的互换。</p><p>A、hide()</p><p>B、show()</p><p>D、fade()</p><p>在 jQuery 中,下列关于文档就绪函数的写法错误的是()</p><p>“A、 $(document).ready(function() {</p><p>});”</p><p>“B、 $(function() {</p><p>});”</p><p>});"</p><p>“D、 $().ready(function() {</p><p>});”</p><p>在jquery中指定一个类,如果存在就执行删除功能,如果不存在就执行添加功能,下面哪一个是可以直接完成该功能的?</p><p>A、removeClass( )</p><p>B、deleteClass( )</p><p>D、addClass( )</p><p>在jquery中,如果想要获取当前窗口的宽度值,下面哪个是实现该功能的?</p><p>B、width(val)</p><p>C、width</p><p>D、innerWidth()</p><p>在jquery中想要实现通过远程http get请求载入信息功能,可以使用以下哪种方法</p><p>A、$.ajax()</p><p>B、load(url)</p><p>D、$.getScript(url)</p><p>以下jquery对象方法中,使用了事件委托的是( )</p><p>A、bind</p><p>B、mousedown</p><p>C、change</p><p>在jquery中,如何选择使用myClass类的css的所有元素( )</p><p>“B、KaTeX parse error: Expected 'EOF', got '#' at position 4: (""#̲myClass"") " C、{*}</p><p>“D、${”“myClass””}"</p><p>"以下jQuery代码运行后,对应的HTML代码变为( )</p><p>HTML代码:<p>你好</p></p><p>jQuery代码:$(“p”).append(“<b>Hello word!</b>”);"</p><p>A. <p>你好</p><b>Hello word!</b></p><p>C. <b>Hello word!</b><p>你好</p></p><p>D. <p><b>Hello word!</b>你好</p></p><p>window.onload必须等到页面内包括图片的所有元素加载完毕后才能执行</p><p>错</p><p>HTML web前端</p><p> <strong>版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。</strong> </p></div> <div class="article_footer clear"> <div class="fr tag">标签:<a href="https://www.huoban.com/news/tags-1610.html">前端</a> <a href="https://www.huoban.com/news/tags-1212.html">面试题</a> </div> <div class="bdsharebuttonbox fl share"> <div class="share-widget fl"> <div class="social-share" data-sites="wechat,weibo, qq, qzone"></div> </div> </div> </div> <!-- 广告位ad4 --> <div class="post-navigation clear"> <div class="post-previous fl"> <span>上一篇:</span><a href="https://www.huoban.com/news/post/5190.html">非常实用的Ubuntu系统快捷键</a> </div> <div class="post-next fr"> <span>下一篇:</span><a href="https://www.huoban.com/news/post/5192.html">深信服与华为联合推出基于TaiShan服务器的超融合云计算解决方案</a> </div> </div> </div> <div class="related_article"> <div class="box_title clear"> <span><i class="icon fa fa-paper-plane"></i>相关文章</span> </div> <div class="related_list clear"> <article class="fl"> <div class="related_img"><a href="https://www.huoban.com/news/post/45808.html"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/n/NDU4MDg.jpg"></a></div> <div class="related_detail"> <h3><a href="https://www.huoban.com/news/post/45808.html" title="前端开发的核心技术是什么(web前端核心技术)">前端开发的核心技术是什么(web前端核心技术)</a></h3> <div class="meta"> <span><i class="fa fa-eye"></i>684</span> <span><i class="fa fa-clock-o"></i>2022-05-29</span> </div> </div> </article> <article class="fl"> <div class="related_img"><a href="https://www.huoban.com/news/post/44893.html"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/n/NDQ4OTM.jpg"></a></div> <div class="related_detail"> <h3><a href="https://www.huoban.com/news/post/44893.html" title="HTML5前端包括什么技术">HTML5前端包括什么技术</a></h3> <div class="meta"> <span><i class="fa fa-eye"></i>684</span> <span><i class="fa fa-clock-o"></i>2022-05-29</span> </div> </div> </article> <article class="fl"> <div class="related_img"><a href="https://www.huoban.com/news/post/19445.html"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/m/MTk0NDU.jpg"></a></div> <div class="related_detail"> <h3><a href="https://www.huoban.com/news/post/19445.html" title="python面试题【黑铁 IV】(python面试题基础)">python面试题【黑铁 IV】(python面试题基础)</a></h3> <div class="meta"> <span><i class="fa fa-eye"></i>684</span> <span><i class="fa fa-clock-o"></i>2022-05-29</span> </div> </div> </article> </div> </div> <!--<p class="comment-disable sb br mb"><i class="iconfont icon-cry"></i>抱歉,评论功能暂时关闭!</p>--> </div> </div> <div class="sidebar"> <div id="推荐文章" class="part clear 推荐文章"> <div class="top"> <h3 class="title">推荐文章</h3> </div> <div class="side 推荐文章"><ul><ul class="hot_posts"> <li><h4><a href="https://www.huoban.com/news/post/132763.html" title="企业生产管理是什么,企业生产管理软件">企业生产管理是什么,企业生产管理软件</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/136160.html" title="盘点进销存软件排行榜前十名">进盘点进销存软件排行榜前十名</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/132779.html" title="进销存系统哪个简单好用?进销存系统优点">进销存系统哪个简单好用?进销存系统优点</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/133648.html" title="工厂生产管理(工厂生产管理流程及制度)">工厂生产管理(工厂生产管理流程及制度)</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/132780.html" title="生产管理软件,机械制造业生产管理,制造业生产过程管理软件">生产管理软件,机械制造业生产管理,制造业生产过程管理软件</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/132776.html" title="进销存软件和ERP有什么区别?进销存与erp软件理解">进销存软件和ERP有什么区别?进销存与erp软件理解</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/132974.html" title="进销存如何进行库存管理">进销存如何进行库存管理</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/132269.html" title="excel销售订单管理系统(销售订单录入系统)">如何利用excel制作销售订单管理系统?</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/136946.html" title="数据库订单管理系统有哪些功能?数据库订单管理系统怎么设计?">数据库订单管理系统有哪些功能?数据库订单管理系统怎么设计?</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/132312.html" title="数据库订单管理系统(订单系统数据流图)">什么是数据库管理系统?</a></h4></li></ul></ul></div> </div> <div id="divPrevious" class="part clear previous"> <div class="top"> <h3 class="title">最近发表</h3> </div> <div class="side divPrevious"><ul><li><a title="Excel四舍五入设置方法" href="https://www.huoban.com/news/post/154984.html">Excel四舍五入设置方法</a></li> <li><a title="Excel表格乘法计算方法详解" href="https://www.huoban.com/news/post/154983.html">Excel表格乘法计算方法详解</a></li> <li><a title="如何设置Excel行间距以提高阅读清晰度" href="https://www.huoban.com/news/post/154982.html">如何设置Excel行间距以提高阅读清晰度</a></li> <li><a title="Excel怎么画折线图,详细教程带你轻松实现" href="https://www.huoban.com/news/post/154981.html">Excel怎么画折线图,详细教程带你轻松实现</a></li> <li><a title="Excel表格怎么画斜线" href="https://www.huoban.com/news/post/154980.html">Excel表格怎么画斜线</a></li> <li><a title="Excel如何固定表头" href="https://www.huoban.com/news/post/154979.html">Excel如何固定表头</a></li> <li><a title="Excel中如何计算年龄" href="https://www.huoban.com/news/post/154978.html">Excel中如何计算年龄</a></li> <li><a title="要取消Excel密码,这里有几种简单又有效的方法!" href="https://www.huoban.com/news/post/154977.html">要取消Excel密码,这里有几种简单又有效的方法!</a></li> <li><a title="Excel如何设置行高" href="https://www.huoban.com/news/post/154976.html">Excel如何设置行高</a></li> <li><a title="Excel教程,如何使用Excel函数计数进行数据统计" href="https://www.huoban.com/news/post/154975.html">Excel教程,如何使用Excel函数计数进行数据统计</a></li> </ul></div> </div> <div id="sidebar_ad" class="part clear sidebar_ad"> <div class="part sidebar_ad"><div class="active"><a href='https://mrhnug.r.huobanbot.com/wxwork/pub/landings/426?app_id=1960&company_id=54&corp_id=wwbd4b7b6e7b0ccdaa&app_company_id=1' target='_blank'><img style='width:100%;height:100%' src='https://www.huoban.com/news/zb_users/upload/2023/08/erwei3.jpg'></a><br> <a href='https://www.huoban.com/crm.html?utm=jiasouadv' target='_blank'><img style='width:100%;height:100%' src='https://www.huoban.com/news/zb_users/upload/2023/03/20230321171645167939020583758.png'></a><br> </div></div> </div> <div id="hot_posts" class="part clear hot_posts"> <div class="top"> <h3 class="title">热评文章</h3> </div> <ul class="hot_posts"><li><h4><a href="https://www.huoban.com/news/post/104011.html" title="零代码开发是什么?2022低代码平台排行榜">零代码开发是什么?2022低代码平台排行榜</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/131019.html" title="智能进销存库存管理系统(智慧进销存)">智能进销存库存管理系统(智慧进销存)</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/73907.html" title="在线文档哪家强?8款在线文档编辑软件推荐">在线文档哪家强?8款在线文档编辑软件推荐</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/102663.html" title="WPS2016怎么绘制简单的价格表?">WPS2016怎么绘制简单的价格表?</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/148830.html" title="定制订单管理系统(为特定需求定制的订单管理系统)">定制订单管理系统(为特定需求定制的订单管理系统)</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/35776.html" title="什么是在线文档?怎么发在线文档">什么是在线文档?怎么发在线文档</a></h4></li></ul> </div> <div id="divLinkage" class="part clear link"> <div class="top"> <h3 class="title">友情链接</h3> </div> <div class="side divLinkage"><ul><li class="link-item"><a href="https://www.huoban.com/" target="_blank" title="伙伴云">伙伴云</a></li><li class="link-item"><a href="https://www.huoban.com/news/category-19.html" title="进销存管理">进销存管理</a></li><li class="link-item"><a href="https://www.huoban.com/news/category-3.html" title="低代码">低代码</a></li><li class="link-item"><a href="https://www.huoban.com/news/tags-12.html" target="_blank" title="Excel表格">Excel表格</a></li></ul></div> </div> </div> </div> </section> </div> <footer class="p-footer"> <div class="contant_box"> <div class="discover_tmt"> <h5 class="">伙伴云</h5> <div class="text_box"> <a href="https://jiasou.cn/" title="2B数字化营销SEO">加搜toBSEO</a> <a href="https://www.eulee.cn/article/" title="三维数据引擎">产业元宇宙资讯</a> <a href="https://www.weiling.cn/info/" title="客户营销管理资讯中心">卫瓴CRM资讯</a> <a href="https://www.zkj.com/news/" title="外呼系统新闻资讯中心">外呼系统资讯</a> <a href="https://www.transfertech.cn/news/" title="3D工业相机资讯">3D工业相机资讯</a> <a href="https://www.xinfushe.com/article/" title="灵活用工资讯">灵活用工资讯</a> <a href="http://www.weihusm.com/" title="阿伟常识网">阿伟常识网</a> <a href="http://www.ruishiqiba.com/" title="懂球帝旅游网">懂球帝旅游网</a> </div> </div> <div class="collaboration_box"> </div> <div class="we_img_box clear"> <div class="img_box"> <img src="https://www.huoban.com/news/zb_users/theme/zblog5_news/image/ewm.png" alt="" class="hover_tmt"> </div> </div> </div> <p class="info"> <a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow">京ICP备12038259号</a> <span> <a href="#"></a></span> </p> </footer> <div id="backtop" class="backtop"> <div class="bt-box top"> <i class="fa fa-angle-up fa-2x"></i> </div> </div> <script charset="UTF-8" src="https://www.huoban.com/assets/js/sensorsdata.1.22.2.min.js"></script> <script charset="UTF-8"> var sensors = window['sensorsDataAnalytic201505']; sensors.init({ server_url: 'https://saapi.huoban.com/sa?project=production', heatmap:{scroll_notice_map:'not_collect'}, use_client_time:true, send_type:'beacon' }); sensors.quick('autoTrack'); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?6444c045836d6bf27124085a4f62c2a8"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (()=>{const e="https://analyze.jiasou.cc/api/v1/page_view/report/",n="9fe06d4884e0461caaa1de5651164d43";let t=null;const o=new Proxy({},{get:(e,n)=>localStorage.getItem(window.btoa(n)),set:(e,n,t)=>!!t&&(localStorage.setItem(window.btoa(n),t),!0)});new Promise((t=>{if(o.fingerprint)t();else{const a=function(){var e={};if(e.userAgent=navigator.userAgent||"",e.plugins=[],navigator.plugins&&navigator.plugins.length>0)for(var n=0;n<navigator.plugins.length;n++){var t={name:navigator.plugins[n].name||"",filename:navigator.plugins[n].filename||"",description:navigator.plugins[n].description||""};e.plugins.push(t)}e.languages=navigator.languages||[navigator.language||""],e.timezone=(new Date).getTimezoneOffset(),e.screenResolution={width:window.screen.width||0,height:window.screen.height||0,pixelDepth:window.screen.pixelDepth||0,colorDepth:window.screen.colorDepth||0};var o=document.createElement("canvas").getContext("2d"),a=[],i=["monospace","sans-serif","serif"];for(n=0;n<i.length;n++){var r=i[n];o.font="12px "+r,o.measureText("abcdefghijklmnopqrstuvwxyz0123456789").width>0&&a.push(r)}return e.fonts=a,e.cookieEnabled=navigator.cookieEnabled||!1,e.localStorage=void 0!==window.localStorage,e.sessionStorage=void 0!==window.sessionStorage,e.doNotTrack="1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack,e}();fetch(`${e}u/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:n,f:window.btoa(JSON.stringify(a))})}).then((e=>{console.debug("browser fingerprint sent"),200===e.status&&e.json().then((e=>{console.debug("browser fingerprint received",e),o.fingerprint=e.fp,t()}))}))}})).then((()=>{e&&o.fingerprint&&fetch(e+`?${new URLSearchParams({token:n}).toString()}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({c:window.btoa(JSON.stringify({u:o.fingerprint,l:window.location.href,r:document.referrer}))})}).then((e=>{200==e.status&&e.json().then((e=>{e.track_id&&(t=e.track_id)}))}))})),window.addEventListener("beforeunload",(async n=>{t&&fetch(e+`?${new URLSearchParams({track_id:t}).toString()}`,{method:"GET",headers:{"Content-Type":"text/plain"},keepalive:!0}),n.returnValue=""}))})(); </script><script language="javascript" src="https://www.huoban.com/news/zb_users/plugin/ZF_ad/js/index.js?id=422"></script> <script language="javascript" src="https://www.huoban.com/news/zb_users/plugin/ZF_ad/js/ZF_ad__cookie.js"></script> </body> </html> <!--168.98 ms , 18 queries , 3667kb memory , 0 error-->