PageSourceSearch

https://chaoyang.gov.cn/js/float.js

js chaoyang.gov.cn collected 2026-10-02 16:30:25 UTC 982 bytes, 29 lines download raw bytes

1var floats =function(siteCode){
2	var str ='<link type="text/css" rel="stylesheet" href="/css/ad.css" />'
3	str+='<script type="text/javascript" src="https://www.chaoyang.gov.cn/js/floatingAd.js"></script>';
4	str+='<script type="text/javascript">';
5	str+='$.ajax({';
6	str+='url: "https://www.chaoyang.gov.cn/cms/floats/getfloatRoleApi.do?siteCode='+siteCode+'&data=' + new Date().getTime()+'",';
7	str+='type: "post",cache: false,async: true,';
8	str+='success: function(datas){';
9	str+='if("-1" != datas){';
10	str+='var data=eval("("+datas+")");';
11	str+='if(data.floats != ""){';
12	str+='var script = document.createElement("script");';
13	str+='script.type = "text/javascript";';
14	str+='try {script.appendChild(document.createTextNode(data.floats));} catch (ex) {script.text = data.floats;}';
15	str+='document.body.appendChild(script);';
16	str+='}}}});';
17	str+='</script>';
18	str+='';
19	document.write(str);
20};
21
22				
23					
24					
25						
26						
27						
28						
29					

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.