学习总结
(1)task4主要是前后端基础及交互(前端、flask、后端请求逻辑)。
(2)Web前端 网页:由文字、图像、超链接、音频、视频以及Flash等元素构成;Web标准有三层结构,分别是结构(HTML)、表现(CSS)和行为(JS)。结构类似人的身体, 表现类似人的着装, 行为类似人的行为动作。
(3)可以参考《南昌大学—网页设计与开发》和《北林—web前端开发》课程。
(4)Vue:可以自底向上逐层应用,其核心库只关注图层,还便于与第三方库或有项目整合,完全能够为复杂的单页应用提供驱动。
文章目录
学习总结
零、云端全栈介绍
一、Web前端
1.1 什么是Web
1.2 Web 标准构成
1.2.1 HTML(超文本标记语言)
(1)超文本的含义
(2)语法骨架格式
(3)HTML的发展
1.2.2 CSS(CSS样式表or层叠样式表)
(1)CSS 规则
(2)语法格式
(3)CSS的三种写法
1.2.3 JS(JavaScript脚本语言)
(1)JS的组成
(2)书写位置
Reference
零、云端全栈介绍
在python体系下的云端全栈的架构图如下,在我们的新闻推荐系统中使用的后端web框架是flask。
一、Web前端
Web前端网页主要由文字、图像和超链接等元素构成。当然,除了这些元素,网页中还可以包含音频、视频以及Flash等。
1.1 什么是Web
Web(World Wide Web)即全球广域网,也称为万维网,它是一种基于超文本和HTTP的、全球性的、动态交互的、跨平台的分布式图形信息系统。
是建立在Internet上的一种网络服务,
为浏览者在Internet上查找和浏览信息提供了图形化的、易于访问的直观界面
,其中的文档及超级链接将Internet上的信息节点组织成一个互为关联的网状结构。
Web前端主要是通HTML,CSSJS,ajax,DOM等前端技术,实现网站在客服端的正确显示及交互功能。
1.2 Web 标准构成
主要包括结构(Structure)、表现(Presentation)和行为(Behavior)三个方面。
结构标准:结构用于对网页元素进行整理和分类,对于网页来说最重要的一部分 。通过对语义的分析,可以对其划分结构。具有了结构的内容,将更容易阅读.
表现标准:表现用于设置网页元素的版式、颜色、大小等外观样式,主要指的是CSS 。为了让网页能展现出灵活多样的显示效果.
行为标准:行为是指网页模型的定义及交互的编写 。使用户对网页进行操作,网页可以做出响应性的变化。
总的来说,
Web标准有三层结构,分别是结构(HTML)、表现(CSS)和行为(JS)。
结构类似人的身体, 表现类似人的着装, 行为类似人的行为动作
理想状态下,他们三层都是独立的, 放到不同的文件里面
1.2.1 HTML(超文本标记语言)
HTML 指的是超文本标记语言 (Hyper Text Markup Language)是用来描述网页的一种语言。
HTML
不是一种编程语言,而是一种标记语言
(markup language)
标记语言是一套标记标签 (markup tag)
超越文本限制:可以加入图片、声音、动画、多媒体等内容
超级链接文本:可以从一个文件跳转到另一个文件,与世界各地主机的文件连接。
我的第一个页面 一个一级标题
一个段落。
1
2
3
4
5
6
7
8
9
10
11
声明为 HTML5 文档
元素是 HTML 页面的根元素
元素包含了文档的元(meta)数据
定义网页编码格式
元素描述了文档的标题</p><p><body> 元素包含了可见的页面内容</p><p><h1> 元素定义一个标题</p><p><p> 元素定义一个段落</p><p>参考链接:</p><p>https://www.runoob.com/html/html-tutorial.html</p><p>https://www.w3school.com.cn/html/index.asp</p><p>• Web 1.0: HTML+CSS 基本的网页展示</p><p>• Web 2.0: Ajax+JS+XML 高效的数据表达</p><p>• Web 3.0: HTML5+CSS3 Web自适应和普适应用</p><p>1.2.2 CSS(CSS样式表or层叠样式表)</p><p>CSS(Cascading Style Sheets) ,通常称为CSS样式表或层叠样式表(级联样式表)</p><p>CSS主要用于设置 HTML页面中的文本内容(字体、大小、对齐方式等)、图片的外形(宽高、边框样式、边距等)以及版面的布局和外观显示样式。</p><p>CSS以HTML为基础,提供了丰富的功能,如字体、颜色、背景的控制及整体排版等,而且还可以针对不同的浏览器设置不同的样式。</p><p>选择器:需要改变样式的 HTML 元素。</p><p>声明:由一个属性和一个值组成。声明之间用分号结束。</p><p>属性:希望设置的样式属性。每个属性有一个值。属性和值用冒号分开。</p><p><标签名 style="属性1:属性值1; 属性2:属性值2; 属性3:属性值3;"> 内容 </标签名></p><p>1</p><p>例如:</p><p><style> /*选择器{属性:值;}*/ p { color:#06C; font-size:14px; } /*文字的颜色是 蓝色*/ h4 { color:#900; } h1 { color:#090; font-size:16px; } body { background:url(bg2.jpg); } </style></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>12</p><p>13</p><p>14</p><p>15</p><p>16</p><p>17</p><p>18</p><p>参考链接:</p><p>https://www.runoob.com/css/css-tutorial.html</p><p>https://www.w3school.com.cn/css/index.asp</p><p>行内模式:在标签的style属性中书写</p><p>(下图源自北理工慕课《python云端系统开发入门》)</p><p>页内模式:在HTML网页中使用独立的<style>标签书写</p><p>(下图源自北理工慕课《python云端系统开发入门》)</p><p>外部模式:单独在CSS文件中书写</p><p>其中的demo.css文件:</p><p>1.2.3 JS(JavaScript<a target="_blank" href="https://www.huoban.com/news/tags-4614.html"style="font-weight:bold;">脚本语言</a>)</p><p>JS (JavaScript)是 Web 的<a target="_blank" href="https://www.huoban.com/news/tags-2000.html"style="font-weight:bold;">编程语言</a>,是一种基于对象和事件驱动并具有相对安全性的客户端脚本语言。同时也是一种广泛用于客户端Web开发的脚本语言,常常用来给HTML网页添加动态效果,从而实现人机交互的网页</p><p>脚本语言不需要编译,在运行过程中由 js 解释器(js引擎)逐行来进行解释并执行</p><p>ECMAScript: 是由ECMA 国际( 原欧洲计算机制造商协会)进行标准化的一门编程语言,在万维网上应用广泛,它往往被称为 JavaScript或 JScript,但实际上后两者是 ECMAScript 语言的实现和扩展。</p><p>DOM:文档对象模型(DocumentObject Model,简称DOM),是W3C组织推荐的处理可扩展标记语言的标准编程接口。通过 DOM 提供的接口可以对页面上的各种元素进行操作(大小、位置、颜色等)</p><p>BOM:浏览器对象模型(Browser Object Model,简称BOM) 是指浏览器对象模型,它提供了独立于内容的、可以与浏览器窗口进行互动的对象结构。通过BOM可以操作浏览器窗口,比如弹出框、控制浏览器跳转、获取分辨率等。</p><p>1.行内式</p><p><input type="button" value="点我试试" onclick="alert('Hello World')" /></p><p>1</p><p>可以将单行或少量 JS 代码写在HTML标签的事件属性中(以 on 开头的属性),如:onclick;</p><p>可读性差, 在HTML中编写JS大量代码时,不方便阅读;</p><p>引号易错,引号多层嵌套匹配时,非常容易弄混;</p><p>2.内嵌式</p><p><script> alert('Hello World~!'); </script></p><p>1</p><p>2</p><p>3</p><p>可以将多行JS代码写到 script 标签中</p><p style="text-align:center"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/m/MTEzMDk.jpg" alt="【新闻推荐系统】(task4)前端基础" title="【新闻推荐系统】(task4)前端基础" /></p><p>3.外部JS文件</p><p><script src="myScript.js"></script></p><p>1</p><p>//myScript.js文件内容 function myFunction() { document.getElementById("demo").innerHTML="我的第一个 JavaScript 函数"; }</p><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>利于HTML页面代码结构化,把大段 JS代码独立到 HTML 页面之外,既美观,也方便文件级别的复用</p><p>引用外部 JS文件的 script 标签中间不可以写代码</p><p>适合于JS 代码量比较大的情况</p><p>参考链接:</p><p>https://www.runoob.com/js/js-tutorial.html</p><p>https://www.w3school.com.cn/js/index.asp</p><p>Reference</p><p>(1)datawhale notebook</p><p>(2)Vue全家桶介绍</p><p>HTML web前端 推荐系统</p><p>
<strong>版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。</strong>
</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-4614.html">脚本语言</a>
<a href="https://www.huoban.com/news/tags-4644.html">信息系统</a>
<a href="https://www.huoban.com/news/tags-2000.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/51981.html">如何在wps表中标记特定数字(wps怎么上角标数字)</a>
</div>
<div class="post-next fr">
<span>下一篇:</span><a href="https://www.huoban.com/news/post/133545.html">易语言<a target="_blank" href="https://www.huoban.com/news/tags-3485.html"style="font-weight:bold;">excel</a><a target="_blank" href="https://www.huoban.com/news/tags-766.html"style="font-weight:bold;">程序</a>下新建全局变量步骤介绍</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/11950.html"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/m/MTE5NTA.jpg"></a></div>
<div class="related_detail">
<h3><a href="https://www.huoban.com/news/post/11950.html" title="大数据解决方案">大数据解决方案</a></h3>
<div class="meta">
<span><i class="fa fa-eye"></i>618</span>
<span><i class="fa fa-clock-o"></i>2025-03-31</span>
</div>
</div>
</article>
<article class="fl">
<div class="related_img"><a href="https://www.huoban.com/news/post/14906.html"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/m/MTQ5MDY.jpg"></a></div>
<div class="related_detail">
<h3><a href="https://www.huoban.com/news/post/14906.html" title="iOS 开发者可以用这些 Swift 技巧简化代码">iOS 开发者可以用这些 Swift 技巧简化代码</a></h3>
<div class="meta">
<span><i class="fa fa-eye"></i>618</span>
<span><i class="fa fa-clock-o"></i>2025-03-31</span>
</div>
</div>
</article>
<article class="fl">
<div class="related_img"><a href="https://www.huoban.com/news/post/16772.html"><img src="https://www.huoban.com/news/zb_users/cache/ly_autoimg/m/MTY3NzI.jpg"></a></div>
<div class="related_detail">
<h3><a href="https://www.huoban.com/news/post/16772.html" title="【Python3网络爬虫开发实战】1.3.4-tesserocr的安装">【Python3网络爬虫开发实战】1.3.4-tesserocr的安装</a></h3>
<div class="meta">
<span><i class="fa fa-eye"></i>618</span>
<span><i class="fa fa-clock-o"></i>2025-03-31</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="提升软件开发与招投标效率的五个方法与技术方案" href="https://www.huoban.com/news/post/157788.html">提升软件开发与招投标效率的五个方法与技术方案</a></li>
<li><a title="提升软件开发效率与招投标质量的五个方法" href="https://www.huoban.com/news/post/157787.html">提升软件开发效率与招投标质量的五个方法</a></li>
<li><a title="提升软件开发与招投标效率:AI智写助手如何优化智能文档编写" href="https://www.huoban.com/news/post/157786.html">提升软件开发与招投标效率:AI智写助手如何优化智能文档编写</a></li>
<li><a title="提升软件开发与招投标效率:AI智写助手如何实现智能文档编写" href="https://www.huoban.com/news/post/157785.html">提升软件开发与招投标效率:AI智写助手如何实现智能文档编写</a></li>
<li><a title="提升软件开发与招投标文档编写效率的AI智写助手" href="https://www.huoban.com/news/post/157784.html">提升软件开发与招投标文档编写效率的AI智写助手</a></li>
<li><a title="网店运营的关键从订单管理到用户体验" href="https://www.huoban.com/news/post/157783.html">网店运营的关键从订单管理到用户体验</a></li>
<li><a title="选择适合你的库存盘点软件指南" href="https://www.huoban.com/news/post/157782.html">选择适合你的库存盘点软件指南</a></li>
<li><a title="电商ERP解决方案助力企业实现业务飞跃" href="https://www.huoban.com/news/post/157781.html">电商ERP解决方案助力企业实现业务飞跃</a></li>
<li><a title="云ERP:企业高效管理与数字化转型的利器" href="https://www.huoban.com/news/post/157780.html">云ERP:企业高效管理与数字化转型的利器</a></li>
<li><a title="销售报表分析的秘密,掌握数据让业绩飞跃" href="https://www.huoban.com/news/post/157779.html">销售报表分析的秘密,掌握数据让业绩飞跃</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 target="_blank" href="https://www.huoban.com/news/tags-14329.html"style="font-weight:bold;">进销存库存管理</a><a target="_blank" href="https://www.huoban.com/news/tags-56.html"style="font-weight:bold;">系统</a>(智慧进销存)">智能进销存库存管理系统(智慧进销存)</a></h4></li><li><h4><a href="https://www.huoban.com/news/post/73907.html" title="<a target="_blank" href="https://www.huoban.com/news/tags-14095.html"style="font-weight:bold;">在线文档</a>哪家强?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><li class="link-item"><a href="http://www.lvyuanlin.net/" title="海威行">海威行</a></li><li class="link-item"><a href="https://www.finclip.com/news/" title="FinClip">FinClip</a></li></ul></div>
</div> </div>
</div>
</section>
</div>
<footer class="p-footer">
<div class="contant_box">
<div class="discover_tmt">
<h5 class="" style="font-size: 1px; color: white;">伙伴云</h5>
<div class="text_box">
<a href="https://www.jiasou.cn/article/" title="toB数字化营销SEO" style="font-size: 1px; color: white;">加搜toBSEO</a>
<a href="https://www.finclip.com/news/category-1.html" title="小程序工具" style="font-size: 1px; color: white;">前端框架</a>
<a href="https://www.jia-ai.com/info/" title="小红书营销攻略" style="font-size: 1px; color: white;">小红书营销攻略</a>
<a href="https://www.yanyin.tech/cms/" title="生物研究资讯" style="font-size: 1px; color: white;">生物研究资讯</a>
<a href="https://www.finclip.com/news/" title="FinClip 技术文档" style="font-size: 1px; color: white;">小程序容器帮助中心</a>
<a href="https://www.finclip.com/news/article/" title="小程序开发行业洞察" style="font-size: 1px; color: white;">小程序开发行业洞察</a>
<a href="https://www.foneplatform.com/jscms/" title="全面预算管理资讯" style="font-size: 1px; color: white;">全面预算管理资讯</a>
<a href="https://www.weiling.cn/article/" title="企微SCRM客户管理干货" style="font-size: 1px; color: white;">企微SCRM客户管理干货</a>
<a href="https://www.marketup.cn/info/" title="营销管理系统资讯" style="font-size: 1px; color: white;">营销管理系统资讯</a>
<a href="https://www.transfertech.cn/news/" title="制造行业新闻动态" style="font-size: 1px; color: white;">制造行业新闻动态</a>
<a href="https://www.i2cool.com.cn/tideflow/" title="无电制冷行业资讯" style="font-size: 1px; color: #22292D;">无电制冷行业资讯</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=932"></script>
<script language="javascript" src="https://www.huoban.com/news/zb_users/plugin/ZF_ad/js/ZF_ad__cookie.js"></script>
</body>
</html>
<!--61.26 ms , 18 queries , 3682kb memory , 0 error-->