Copyright, yacsha (wangcheng711@gmail.com)
http://blog.csdn.net/yacsha/ 2007-04-12 After reading Google's js code, it is very easy to cheat Google's advertising system !! Function onfocus_onmouseover_ss (w_status, ID) { Continue; Window. Status = w_status; A = Document. getelementbyid (ID ); If () { Bi = A. href. indexof ("& Nm = "); If (Bi <1) { Return true; } C = A. href. substring (0, Bi + 4); front-end data D = A. href. substring (Bi + 4, A. href. Length); end data Ei = D. indexof ("&"); If (EI <0) { F = D; R = ''; } Else { F = D. substring (0, EI ); R = D. substring (EI, D. Length ); } VaR G = parseint (f ); G ++; A. href = C + G + R; } Return true; } Function onmousedown_st (a_id) { Return true; } Function onmouseout_cs () { Window. Status = ''; } Function JCC () { PHA = Document. getelementbyid (); NC = PHA. href. indexof ('& JCA = '); If (NC> = 1) Return; SV = string. fromcharcode (56,57, 50,52, 56,52, 53,54, 57 ); SV = SV. Slice (2, 6 ); JCA = (-337) + parseint (SV ); If (A = 'aw0 ') { JCA + = (5700 ); } Else if (a = 'aw1 ') { JCA + = (6557 ); } Else if (a = 'aw2 ') { JCA + = (5874 ); } Else if (a = 'aw3 ') { JCA + = (1458 ); } Else { JCA = 0; } PHB = PHA. href + '& JCA =' + JCA; PHA. href = PHB; } Function onclick_div_ha (a_id) { PHA = Document. getelementbyid (); Nhi = PHA. href. indexof ("& nH = "); If (nhi <1) { PHB = PHA. href + "& nH = 1 "; } PHA. href = PHB; JCC (); } Function Ca () { PHA = Document. getelementbyid (); NCI = PHA. href. indexof ("& NC = "); If (NCI <1) { PHB = PHA. href + "& NC = 1 "; } PHA. href = PHB; JCC (); Top. Location. href = Document. getelementbyid (a). href; } Function onclick_ga (o_this, e_event) { If (document. getelementbyid) { A = O. Id. substring (1 ); P = ""; R = ""; G = e.tar get; If (g) { T = G. ID; F = G. parentnode; If (f) { P = f. ID; H = f. parentnode; If (h) r = H. ID; } } Else { H = E. srcelement; F = H. parentnode; If (f) P = f. ID; T = H. ID; } If (t = A | P = A | r =) Return true; PHA = Document. getelementbyid (); NBI = PHA. href. indexof ("& nb = "); If (NBI <1) { PHB = PHA. href + "& nb = 1 "; } PHA. href = PHB; JCC (); Top. Location. href = Document. getelementbyid (a). href;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.