If you open a website in IE and enter the following magic code in your browser, you can modify and copy the page content at will!
Magic Code 1 Magic Code 1
Javascript: r = 0; X1 =. 1; Y1 =. 05; x2 =. 25; y2 =. 24; X3 = 1.6; Y3 =. 24; X4 = 300; Y4 = 200; X5 = 300; Y5 = 200; DI = document. images; Dil = di. length; function a () {for (I = 0; I-Dil; I ++) {Dis = di [I]. style; DIS. position = 'absolute '; DIS. left = math. sin (R * X1 + I * X2 + X3) * X4 + X5; DIS. top = math. cos (R * Y1 + I * y2 + Y3) * Y4 + Y5} r ++} setinterval ('a () ', 5 );
Void (0 );
Copy and paste the above Code into the URL bar of any page to run it. Then you will find that the images on the page will fly! It's amazing! By the way, if you want to stop, refresh the page.
Magic Code 2
Magic Code 2
Javascript: Document. Body. contenteditable = 'true'; document. designMode = 'on'; void 0
Enter the above line of code in the address bar, and press enter to find that the entire page can be edited at will. All content on a very short line of code page can be modified, just like editing in word. Websites that do not allow copying can be killed. If you reply, refresh the page.
After reading the above code, I know that it executes Javascript and starts with javascript: and ends with void (0!
You can write your own code if you know how it works!
More favorites
The fun and amazing use of JavaScript
Open a website with images and replace the address bar of IE with the following code:
Image effect 1
Javascript: r = 0; X1 =. 1; Y1 =. 05; x2 =. 25; y2 =. 24; X3 = 1.6; Y3 =. 24; X4 = 300; Y4 = 200; X5 = 300; Y5 = 200; DI = document. images; Dil = di. length; function a () {for (I = 0; I-Dil; I ++) {Dis = di [I]. style; DIS. position = 'absolute '; DIS. left = math. sin (R * X1 + I * X2 + X3) * X4 + X5; DIS. top = math. cos (R * Y1 + I * y2 + Y3) * Y4 + Y5} r ++} setinterval ('a () ', 5 );
Void (0 );
Image Effects 2
Javascript: I = y = 0; Z = V = 10; M = document. all; L = m. length; For (; I <L; I ++) {If (M (I ). tagname = 'A') {M (I ). style. display = 'none'} function g () {J = m (y); If (J. tagname = 'A') {P = J. style; p. display = 'inline'; p. position = 'absolute '; p. filter = 'progid: DXImageTransform. microsoft. matrix (sizingmethod = \ 'Auto
Expand \ ')'; n = J. Filters. Item (0); W = z * 1.5; r =. 05 * (Y % 2 )? Z:-z); C = math. cos (r); s = math. sin (r); If (W <1) {S = 0; W = 1; p. position = 'static '; y ++; Z = V} n. m11 = C * w; N. m12 =-S * w; N. m21 = S * w; N. m22 = C * w; Z --;} else {y ++; Z = V} setinterval ('G () ', 5); void (0 );
Image effects 3
Javascript: r = 0; X1 =. 2; Y1 =. 05; x2 =. 25; y2 =. 24; X3 = 1.6; Y3 =. 24; X4 = 300; Y4 = 200; X5 = 300; Y5 = 200; DI = document. images; Dil = di. length; function a () {for (I = 0; I-Dil; I ++) {Dis = di [I]. style; DIS. position = 'absolute '; DIS. left = math. sin (R * X1 + I * X2 + X3) * X4 + X5; DIS. top = math. cos (R * Y1 + I * y2 + Y3) * Y4 + Y5} r ++} setinterval ('a () ', 50 );
Void (0 );
Image effects 4
Javascript: r = 0; X1 =. 1; Y1 =. 05; x2 =. 25; y2 =. 24; X3 = 1.6; Y3 =. 24; X4 = 300; Y4 = 200; X5 = 300; Y5 = 200; DI = document. images; Dil = di. length; function a () {for (I = 0; I-Dil; I ++) {Dis = di [I]. style; DIS. position = 'absolute '; DIS. left = math. sin (R * X1 + I * X2 + X3) * X4 + X5; DIS. top = math. cos (R * Y1 + I * y2 + Y3) * Y4 + Y5} r ++} setinterval ('a () ', 5 );
Void (0 );