PageSourceSearch

https://jl.gov.cn/images/jiucuo.js

js jl.gov.cn collected 2026-10-02 02:46:07 UTC 1,176 bytes, 34 lines download raw bytes

1//在页面增加一个放置图标的区块
2if(!document.getElementById('_span_jiucuo'))
3	document.write("<span id='_span_jiucuo'></span>");
4
5//获取放置图标的区块
6var span_msg = document.getElementById("_span_jiucuo");
7
8//获取站点标识码
9var sitecode = document.getElementById("_jiucuo_").attributes["sitecode"].value;
10//生成纠错图标及点击链接
11span_msg.innerHTML = "<img onclick=\"Link('" + sitecode + "')\" style='margin:0;border:0;cursor: pointer;' src='https://zfwzgl.www.gov.cn/exposure/images/jiucuo.png?v="+sitecode+"' loading='lazy'/>";
12
13//点击图标
14function Link(site_code) {
15	//获取该站点需要纠错页面的url地址
16	var url = getCurrUrl();
17	//跳转至纠错系统填写页面 
18	window.open("https://zfwzgl.www.gov.cn/exposure/jiucuo.html?site_code=" + site_code + "&url=" + encodeURIComponent(url));
19}
20//获取该站点需要纠错页面的url地址
21function getCurrUrl() {
22	var url = "";
23	if (parent !== window) {
24		try {
25			url = window.top.location.href;
26		} catch (e) {
27			url = window.top.document.referrer;
28		}
29	}
30	if (url.length == 0)
31		url = document.location.href;
32
33	return url;
34}

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.