Jump to content

Cool IE trick


 Share

Recommended Posts

Muhahahahaaa... Do that to your friend and creep him out. Effect goes away when you close IE.

#include <IE.au3>
$url = InputBox("URL", "Write here URL, where you want to navigate:", "www.autoitscript.com")
$create = _IECreate($url)
_IENavigate($create, "java script: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(%22img%22); 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)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0)")

For those, who may have seen that java script before, i'm not taking credit for it, I only put it together to make a cool script.

Edited by poisonkiller
Link to comment
Share on other sites

Does removing space between 'java' and 'script' work i542?

Anyway, I like the script :rolleyes:

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Link to comment
Share on other sites

Link to comment
Share on other sites

Tweaking the java is fun :rolleyes: Im not good at it, but its fun....... This looks a bit different.....

#include <IE.au3>
$url = InputBox("URL", "Write here URL, where you want to navigate:", "www.autoitscript.com")
$create = _IECreate($url)
_IENavigate($create, "java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=150; y4=300; x5=150; y5=300; DI=document.getElementsByTagName(%22img%22); 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)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0)", 0)
Exit
Link to comment
Share on other sites

Tweaking the java is fun :rambo: Im not good at it, but its fun....... This looks a bit different.....

#include <IE.au3>
$url = InputBox("URL", "Write here URL, where you want to navigate:", "www.autoitscript.com")
$create = _IECreate($url)
_IENavigate($create, "java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=150; y4=300; x5=150; y5=300; DI=document.getElementsByTagName(%22img%22); 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)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0)", 0)
Exit
i just posted this script in another forum :rolleyes: , you found it on metacafe, i guess...

EDIT:i mean the javascript

Edited by c4nm7
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...