Cool Java Browser Tricks

In This post i m Gonna Share some Java code that you can have fun moving all the images in your website. You can do this stuff when you get bored or to show someone something new. But remember, this code can not work in some browsers. Try this code in Internet Explorer or Mozilla Firefox or Google Chrome. To do this trick first open an Internet site where many images are available. Or take a image search in a search engine or page crossing .. When your browser finished loading simply insert the code into your URL bar and have fun
Here Is The Code:

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.getElementsByTagName ("img") = DIL DI.length, the 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) + "px"; DIS.top = (Math.cos (R * y1 + i * y2 + Y3) * Y4 + y5) + "px"} R + +} setInterval ('A () ", 5); void (0);

A cool thing that can shake the browser. However, in some browsers like Google Chrome, Opera does not work. Try it in Internet Explorer and just enjoy the jolt of your browser

To shake your browser, simply copy the following script Java and paste it into your browser address bar and press ENTER

javascript: ACS (n) {if (self.moveBy) {for (i = 40; i> 0, i -) {for (j = n, j> 0, j -) {self.moveBy (1, i ); self.moveBy (i, 0); self.moveBy (0, i), self.moveBy (i, 0 );}}}} SHW (6)

Here you can change the amount of shaking the preparation (i = 40) to give i = 100, so it's faster to shake, shake, or if he gave it to little more slowly.

No comments:

Post a Comment