PageSourceSearch

https://www.miit.gov.cn/cms_files/webmiit/tplobject/gxbsy/fa11a2b7c7734d829b4ff5876840a96e/images/pdy_tyyr.js

js miit.gov.cn collected 2026-10-01 10:40:27 UTC 1,483 bytes, 51 lines download raw bytes

1$(function(){
2    $(".mnav a").first().text("首页");
3   
4	/*判断一级是否为一级*/
5	if($(".ctree_title h1 span").hasClass("no-one")){}else{
6		 $(".ctree_title h1").text($(".mnav a:eq(1)").text());
7	}
8	
9	/*判断左侧是否为外链*/
10	$(".ctree dl a").each(function(){
11		//console.log($(this).attr("href").indexOf(window.location.host));
12		if($(this).attr("href").indexOf("/") == 0 || $(this).attr("href").indexOf(window.location.host) != -1){}else{
13			$(this).attr("target","_blank");
14		}
15	});
16	
17	/*领导介绍跳转*/
18	$(".tsy-ldjs .ctree dl a:lt(2)").attr("taget","_blank");
19
20	if($(".ctree-3").text().trim().length > 0){
21		if($(".ctree-3 dd").hasClass("ctree3-p")){
22			$(".ctree dl a").each(function(){
23				if($(this).text()==$(".mnav a").last().text()){
24					$(this).parent("dt").addClass("curr");
25					$(this).parent("dt").after($(".ctree-3").html());
26				}
27			});
28		}else{
29			$(".ctree-3 a").each(function(){
30				if($(this).text()=="» "+$(".mnav a").last().text()){
31					$(this).addClass("on");
32				}else if($(this).text() == $(".mnav a").last().text()){
33					$(this).addClass("on");
34				}
35			});
36			$(".ctree dl a").each(function(){
37				if($(this).text()==$(".mnav a").last().prev().text()){
38					$(this).parent("dt").addClass("curr");
39					$(this).parent("dt").after($(".ctree-3").html());
40				}
41			});
42		}
43	}else{
44		$(".ctree dl a").each(function(){
45			if($(this).text()==$(".mnav a").last().text()){
46				$(this).parent("dt").addClass("curr");
47			}
48		});
49	}
50
51});

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.