PageSourceSearch

https://img.1234wu.com/p_inc/public.js

js 1234wu.com collected 2026-10-08 19:10:18 UTC 8,461 bytes, 287 lines download raw bytes

1var G_All_moshi=""
2var G_Newqt_Dir="/"
3var G_Newqt_countimg=document.createElement('img');
4var G_Newqt_countimg2=document.createElement('img');
5var G_Newqt_G_WebUrl="https://www.1234wu.com/"
6var G_Newqt_G_WEBNAME="123ÍøÖ·Ö®¼Ò"
7var G_Newqt_G_All_dhList_f=""
8var G_Newqt_G_lm_baidu="www_1234wu_com"
9var G_Newqt_G_lm_baidu_ch=""
10var G_Newqt_G_lm_google_s="partner-pub-0520467129961361:mibs8b9cu7d"
11var G_Newqt_G_lm_sogou_s=""
12var G_Newqt_G_lm_taobao2="www_1234wu_com"
13var G_Newqt_G_lm_xunlei="www_1234wu_com"
14var G_Newqt_G_lm_dangdang_s="www_1234wu_com"
15var G_Newqt_G_lm_amazon_s="www_1234wu_com"
16var G_Newqt_G_moban="skin16_4_20100527_4"
17var G_Newqt_G_lm_360buy="0"
18var G_Newqt_G_u_Cookies="a3KF50FJGDC93"
19
20function qtisSameSite(str)
21{
22    return (new RegExp("//" + document.location.host)).test(str);
23}
24
25
26function qtchickout(mid){//Ô­¿â
27	if ((G_All_moshi=="1") && ('' != mid.id) && (!isNaN(mid))){
28		 var url = G_Newqt_Dir+"qtunion/go.asp?to=" + mid +"&tof=a&ref="+document.referrer + "&t=" + (new Date()).getTime();
29		 G_Newqt_countimg.src= url;		
30	}
31}
32function qtchickout2(mid){//ÍøÖ·¿â
33	if ((G_All_moshi=="1") && ('' != mid.id) && (!isNaN(mid)) && (G_Newqt_G_All_dhList_f=="1")){
34		 var url = G_Newqt_Dir+"qtunion/go.asp?to=0&tof=a&sId=" +mid +"&ref="+document.referrer + "&t=" + (new Date()).getTime();
35		 G_Newqt_countimg.src= url;	
36	}
37}
38try{
39	if (G_All_moshi=="1" && ('' != document.referrer) && !qtisSameSite(document.referrer)){
40        G_Newqt_countimg.src = G_Newqt_Dir+"qtUnion/in.asp?ref=" + document.referrer;
41    }
42}
43catch(e){}
44
45try{
46	var G_Newqt_union_idstr=location.search
47	var G_Newqt_union_idpos=G_Newqt_union_idstr.indexOf ("?")
48	var G_Newqt_union_id=0
49	if (G_Newqt_union_idpos == 0) {
50		G_Newqt_union_id = G_Newqt_union_idstr.substr (1, G_Newqt_union_idstr.length)
51		var G_Newqt_union_id_z= /^\d+$/gi
52		if(G_Newqt_union_id_z.test(G_Newqt_union_id))
53			G_Newqt_countimg.src = G_Newqt_Dir+"qtUnion/Default.asp?a="+G_Newqt_union_id+"&p=index&t="+new Date().getTime();
54	}
55}
56catch(e){}
57
58//try{
59//	function G_Newqt_b(){
60//    	G_Newqt_countimg2.src = G_Newqt_Dir+"qtUnion/bangding.asp?t="+new Date().getTime() ;
61//	}
62//	setTimeout("G_Newqt_b()",10000)
63//}
64//catch(e){}
65
66//Óû§²Ù×÷
67var qTcms={
68	screenWidth:window.screen.width,
69	Dom:{
70		get:function(a){
71			return(typeof a=="object")?a:document.getElementById(a)
72		},
73		eles:function(b,a){
74			if(typeof(b)=="string"){
75				b=qTcms.Dom.get(b)
76			}
77			return b.getElementsByTagName(a)
78		},
79		show:function(a,b){
80			qTcms.Dom.get(a).style.display=(b==0?"":"block")
81		},
82		hide:function(a){
83			qTcms.Dom.get(a).style.display="none"
84		},
85		toggle:function(a){
86			var b=qTcms.Dom.get(a);b.style.display=="none"?b.style.display="block":b.style.display="none"
87		}
88	},	
89	Browser:{
90		ie:/msie/.test(window.navigator.userAgent.toLowerCase()),
91		ie6:/msie 6.0/.test(window.navigator.userAgent.toLowerCase()),
92		moz:/gecko/.test(window.navigator.userAgent.toLowerCase()),
93		opera:/opera/.test(window.navigator.userAgent.toLowerCase()),
94		safari:/safari/.test(window.navigator.userAgent.toLowerCase())
95	},
96	Cookie:{
97		set:function(b,d,a,e,c){
98			if(typeof a=="undefined"){
99				a=new Date(new Date().getTime()+1000*3600*24*30)
100			}
101			document.cookie=b+"="+escape(d)+((a)?"; expires="+a.toGMTString():"")+((e)?"; path="+e:"; path=/")+((c)?";domain="+c:"")},
102		get2:function(b){
103			var aCookie = document.cookie.split("; ")
104			for(var i=0; i < aCookie.length; i++){
105				var aCrumb = aCookie[i].split("=")
106				if(b == unescape(aCrumb[0]))	return unescape(aCrumb[1])
107			}
108			return null
109		},
110		get3:function(a,b){
111			if(a==null) return null
112			var aCookie = a.split("&")
113			for(var i=0; i < aCookie.length; i++){
114				var aCrumb = aCookie[i].split("=")
115				if(b == unescape(aCrumb[0]))	return unescape(aCrumb[1])
116			}
117			return null
118		},		
119		get:function(b){
120			var a=document.cookie.match(new RegExp("(^| )"+b+"=([^;]*)(;|$)"));
121			if(a!=null){
122				return unescape(a[2])
123			}
124			return null
125		},		
126		clear:function(a,c,b){
127			if(this.get(a)){
128				document.cookie=a+"="+((c)?"; path="+c:"; path=/")+((b)?"; domain="+b:"")+";expires=Fri, 02-Jan-1970 00:00:00 GMT"}
129		}
130	},
131	getStyle:function(b,a){
132		if(document.defaultView){
133			return document.defaultView.getComputedStyle(b,null).getPropertyValue(a)
134		}else{
135			a=a.replace(/\-([a-z])([a-z]?)/ig,function(e,d,c){return d.toUpperCase()+c.toLowerCase()});
136			return b.currentStyle[a]
137		}
138	},
139	getPosXY:function(c,d){
140		var b=d?d.slice(0):[0,c.offsetHeight-1],a;
141		do{
142			b[0]+=c.offsetLeft;
143			b[1]+=c.offsetTop;
144			c=c.offsetParent
145		}while(c);
146		return b
147	},
148	Ajax:function(c,j){
149		var h;
150		if(typeof XMLHttpRequest!=="undefined"){
151			h=new XMLHttpRequest()
152		}else{
153			var b=["Microsoft.XmlHttp","MSXML2.XmlHttp","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.5.0"];
154			for(var d=0,a=b.length;d<a;d++){
155				try{
156					h=new ActiveXObject(b[d]);
157					break
158				}catch(f){}
159			}
160		}
161		h.onreadystatechange=g;
162		function g(){
163			if(h.readyState<4){return}
164			if(h.status!==200){return}
165			if(h.readyState===4){j(h)}
166		}
167		h.open("GET",c,true);
168		h.send("")
169	},
170	AjaxPost:function(url,query,j){
171		var h;
172		if(typeof XMLHttpRequest!=="undefined"){
173			h=new XMLHttpRequest()
174		}else{
175			var b=["Microsoft.XmlHttp","MSXML2.XmlHttp","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.5.0"];
176			for(var d=0,a=b.length;d<a;d++){
177				try{
178					h=new ActiveXObject(b[d]);
179					break
180				}catch(f){}
181			}
182		}
183		h.onreadystatechange=g;
184		function g(){
185			if(h.readyState<4){return}
186			if(h.status!==200){return}
187			if(h.readyState===4){j(h)}
188		}
189		h.open("POST",url,true);
190		h.setRequestHeader("Content-Length",query.length);
191		h.setRequestHeader("Content-Type","application/x-www-form-urlencoded;");
192		h.send(query);
193	},	
194	JsLoader:function(d,a,e,c){
195		var b=document.createElement("script");
196		if(c){b.setAttribute("charset",c)}
197		else{b.setAttribute("charset","utf-8")}
198		b.setAttribute("type","text/javascript");
199		b.setAttribute("src",d);
200		b.id=a;
201		document.getElementsByTagName("head")[0].appendChild(b);
202		if(e){
203			if(qTcms.Browser.ie){
204				b.onreadystatechange=function(){
205					if(this.readyState=="loaded"||this.readyState=="complete"){
206						e()
207					}
208				}
209			}else{
210				if(qTcms.Browser.moz){b.onload=function(){e()}}
211				else{e()}
212			}
213		}
214	},
215	addFav:function(a){
216		if(document.all){
217			window.external.AddFavorite(location.href,a)
218		}else{
219			if(window.sidebar){
220				window.sidebar.addPanel(a,location.href,"")
221			}else{
222				if(window.opera&&window.print){return true}
223			}
224		}
225	},
226	setHomepage:function(c,a){
227		var b=location.pathname.replace("/","");
228		b=b.split(".")[0];
229		if(a){b=""}
230		if(qTcms.Browser.moz){
231			alert("É趨ʧ°Ü£¡¸Ã²Ù×÷²»Ö§³ÖFireFoxä¯ÀÀÆ÷£¡")
232		}else{
233			c.style.behavior="url(#default#homepage)";
234			if(b=="index"||b==""||b.indexOf("/")!==-1){
235				c.setHomePage(window.location.href)
236			}else{
237				c.setHomePage(window.location.href)
238			}
239		}
240	},
241	setHomepage1:function(e_obj) {
242		if (document.all) {
243			try {
244				document.body.style.behavior = 'url(#default#homepage)';
245				document.body.setHomePage(window.location);
246			} catch(e) {
247				try {
248					e_obj.style.behavior = 'url(#default#homepage)';
249					e_obj.setHomePage(window.location);
250				} catch(e) {
251					alert("ÄúµÄä¯ÀÀÆ÷²»Ö§³Ö×Ô¶¯ÉèÖÃÖ÷Ò³£¬ÇëʹÓÃä¯ÀÀÆ÷²Ëµ¥ÊÖ¶¯ÉèÖã¡")
252				}
253			}
254		} else if (window.sidebar) {
255			if (window.netscape) {
256				try {
257					netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
258				} catch(e) {
259					alert("ÄúµÄä¯ÀÀÆ÷²»Ö§³Ö×Ô¶¯ÉèÖÃÖ÷Ò³£¬ÇëʹÓÃä¯ÀÀÆ÷²Ëµ¥ÊÖ¶¯ÉèÖã¡")
260				}
261			} else {
262				try {
263					var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
264					prefs.setCharPref('browser.startup.homepage', window.location);
265					alert('ÉèÖóɹ¦');
266				} catch(e) {
267					alert("ÄúµÄä¯ÀÀÆ÷²»Ö§³Ö×Ô¶¯ÉèÖÃÖ÷Ò³£¬ÇëʹÓÃä¯ÀÀÆ÷²Ëµ¥ÊÖ¶¯ÉèÖã¡")
268				}
269			}
270		} else {
271			alert("ÄúµÄä¯ÀÀÆ÷²»Ö§³Ö×Ô¶¯ÉèÖÃÖ÷Ò³£¬ÇëʹÓÃä¯ÀÀÆ÷²Ëµ¥ÊÖ¶¯ÉèÖã¡")
272		}
273	},
274	U_GetUid:function(){
275		var id=0;
276		var soojs_id=qTcms.Cookie.get3(qTcms.Cookie.get(G_Newqt_G_u_Cookies),"soojs_id");
277		if(soojs_id==null) 
278			id=0;
279		else{
280			if(soojs_id=="")
281				id=0
282			else
283				id=soojs_id	
284		}
285		return id		
286	}
287};

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.