• Featured

    Windows 8 Could Have Nine Different Backgrounds and Editions

  • Featured

    Don't miss these 10 Things if you are going for Picnic.

  • Articles

    iPhone 6 Will Look Like

  • Articles

    Solar Powered UAVs To Replace Satellites

  • Showing posts with label JAVASCRIPT. Show all posts
    Showing posts with label JAVASCRIPT. Show all posts

    Wednesday, 21 December 2011

    Transform the web page into the eaditable mode

    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0


    This JavaScript code lets you modify any web page in real-time; and with Firefox, you can even save the modified web pages to your computer. You can do many funny things with the simple JavaScript above, such as: faking the screen capture of some proof, faking some hot news for April Fool’s Day… quickly.

    Transform the web page into the eaditable mode

    Posted at  Wednesday, December 21, 2011  |  in  JAVASCRIPT  |  Read More»

    Transform the web page into the eaditable mode

    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0


    This JavaScript code lets you modify any web page in real-time; and with Firefox, you can even save the modified web pages to your computer. You can do many funny things with the simple JavaScript above, such as: faking the screen capture of some proof, faking some hot news for April Fool’s Day… quickly.

    THE BIG WHEEL

    This piece of code pulls off all the images from your web page and rotates them in a circle.
    Really makes any page go naked (without its images). The best place to test is a website with many images. (Google Images for an example)

    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; 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);

    If you look carefully in the above code, its rotating the HTML “img” tag. Just replace it with “a” or “p” and watch some links or text rotate instead of images.

    THE BIG WHEEL

    Posted at  Wednesday, December 21, 2011  |  in  JAVASCRIPT  |  Read More»

    THE BIG WHEEL

    This piece of code pulls off all the images from your web page and rotates them in a circle.
    Really makes any page go naked (without its images). The best place to test is a website with many images. (Google Images for an example)

    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; 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);

    If you look carefully in the above code, its rotating the HTML “img” tag. Just replace it with “a” or “p” and watch some links or text rotate instead of images.

    1. Pictures flying as a snake around the mouse pointer
    Just paste the JavaScript below into the address bar of any browser then press Enter, it makes all pictures on the current web page fly around like a snake when you move the pointer.
    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; var DI= document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i In the above JavaScript, you can change document.getElementsByTagName("img") to any HTML tag that you want to apply.

    Here’s some another versions of this effect: 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

    Pictures flying as a snake around the mouse pointer

    Posted at  Wednesday, December 21, 2011  |  in  JAVASCRIPT  |  Read More»

    1. Pictures flying as a snake around the mouse pointer
    Just paste the JavaScript below into the address bar of any browser then press Enter, it makes all pictures on the current web page fly around like a snake when you move the pointer.
    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; var DI= document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i In the above JavaScript, you can change document.getElementsByTagName("img") to any HTML tag that you want to apply.

    Here’s some another versions of this effect: 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

    FINDING SPOOF WEBSITES

    There are times when you are not sure that the website that you are visiting is authentic. Use this code whenever in doubt :-

    javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");

    FINDING SPOOF WEBSITES

    Posted at  Wednesday, December 21, 2011  |  in  JAVASCRIPT  |  Read More»

    FINDING SPOOF WEBSITES

    There are times when you are not sure that the website that you are visiting is authentic. Use this code whenever in doubt :-

    javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");

    THE CALCULATOR

    In case you are not in a mood to use the standard windows calculator and want your browser to do the dirty job for you, use this code.

    javascript: alert(34343+3434-222);

    THE CALCULATOR

    Posted at  Wednesday, December 21, 2011  |  in  JAVASCRIPT  |  Read More»

    THE CALCULATOR

    In case you are not in a mood to use the standard windows calculator and want your browser to do the dirty job for you, use this code.

    javascript: alert(34343+3434-222);

    THE CALCULATOR

    In case you are not in a mood to use the standard windows calculator and want your browser to do the dirty job for you, use this code.

    javascript: alert(34343+3434-222);

    THE CALCULATOR

    Posted at  Wednesday, December 21, 2011  |  in  JAVASCRIPT  |  Read More»

    THE CALCULATOR

    In case you are not in a mood to use the standard windows calculator and want your browser to do the dirty job for you, use this code.

    javascript: alert(34343+3434-222);

    Proudly Powered by Blogger.
    back to top