PageSourceSearch

https://lingyuzhao.top/js/heat_marking.js

js lingyuzhao.top collected 2026-10-06 13:16:02 UTC 825 bytes, 27 lines download raw bytes

1/*
2    <span class="heat_marking_span" title="浏览量">
3        <span class="hot_image"></span>
4        <span class="hot_value">2034</span>
5    </span>
6 */
7
8/**
9 * 获取到热度标签数据
10 * @param value 标签中的数值
11 * @return {HTMLSpanElement} 热度数据元素
12 */
13function getHotSpanElement(value) {
14    const span1 = document.createElement("span");
15    const span2 = document.createElement("span");
16    const span3 = document.createElement("span");
17    span1.className = 'heat_marking_span';
18    span2.className = 'hot_image';
19    span2.style.color = '#ff8800'
20    span2.innerText = ''
21    span3.className = 'hot_value';
22    span3.innerText = convertUnit(value)
23    span3.style.color = '#777777'
24    span1.appendChild(span2)
25    span1.appendChild(span3)
26    return span1;
27}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.