PageSourceSearch

https://www.tkww.hk/static/tkwwtemplate/v5/parts/pageFooter/index.js?template=202506261127

js tkww.hk collected 2026-10-01 10:36:52 UTC 900 bytes, 25 lines download raw bytes

1import Route from "../../../js/utils/route.js"
2import Util from "../../../js/utils/util.js"
3var routeQuery = Route.getQueryObject()
4let {from} = routeQuery
5var now = new Date();
6var nowTime = now.getFullYear();
7var nowTimeStr = '1997-'+nowTime+' '
8$(function(){
9  var u = navigator.userAgent,
10  app = navigator.appVersion;
11  var isAndroid = (window?.app_call?.DwhToAndroid!==undefined||window?.app_call?.HtmlToAndroid!==undefined); //android终端或者uc浏览器
12  var isiOS = !Util.isNull(window?.webkit?.messageHandlers?.HtmlToIos?.postMessage); //ios终端
13  var isApp = isAndroid || isiOS
14  if(isApp){
15    $(".page-footer,.page-footer-box").remove()
16    return
17  }
18  function initPageFooter(){
19    $(".page-footer-year").append(nowTimeStr);
20    if(window.top.location.href.indexOf("/canyou")===-1)return
21    $(".page-footer").hide()
22    $(".page-footer-canyou").show()
23  }
24  initPageFooter()
25})

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.