Sign in to follow this  
Followers 0
hearurscream

Internet Explorer

2 posts in this topic

When I run this program:

#include <IE.au3>
Global $oIE
hotkeyset("{ESC}", "end")
dim $img[23]
$img[0]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%23%2D%5B%274%0A"
$img[1]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2D%5B0%20%0A"
$img[2]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2D%5B%24%20%0A"
$img[3]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2D%5B%28%20%0A"
$img[4]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2D%5B%2C%20%0A"
$img[5]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%23%2D%5B%2F2%0A"
$img[6]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%23%2D%5B%2F1%0A"
$img[7]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%21%2D0%20%20%0A"
$img[8]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2D%3B%40%20%0A"
$img[9]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2CK%3C%20%0A"
$img[10]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2C%5B%2C%20%0A"
$img[11]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2C%5B%28%20%0A"
$img[12]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2C%5B0%20%0A"
$img[13]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2C%5B4%20%0A"
$img[14]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%23%2D%5B%2B%3D%0A"
$img[15]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2D%5BD%20%0A"
$img[16]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%23%2D%5B%2F4%0A"
$img[17]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2F%5BD%20%0A"
$img[18]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2C%3B0%20%0A"
$img[19]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%23%2D%5B%2F%3C%0A"
$img[20]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2C%5B8%20%0A"
$img[21]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%22%2F%5B%3C%20%0A"
$img[22]="http://mafialife.com/mafialife/work/index.cfm?job=favors&banner_id=%21%2FP%20%20%0A"
$oIE=_IEcreate($img[0],0,0,1,-1)
while 1
For $i=0 to 20
    _IEnavigate($oIE,$img[$i+1])
    if winexists("Windows Internet Explorer", "The webpage") Then
    winsetontop("Windows Internet Explorer", "The webpage",1)
    send("n")
    EndIf
    _ieloadwait($oIE)
Next
sleep(1000*60*57)
WEnd

func end()
    _IEQuit($oIE)
    Exit
EndFunc

The web pages want to close themselves because of the security Javascript. A popup comes up asking me if i want to close the webpage. The popup isn't listed on the taskbar, and it doesn't work if I check if it exists and then kill it. Is there another way to do this? or am I SOL

P.S. the program will only work if you are logged into MafiaLife.


Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

When I run this program:

The web pages want to close themselves because of the security Javascript. A popup comes up asking me if i want to close the webpage. The popup isn't listed on the taskbar, and it doesn't work if I check if it exists and then kill it. Is there another way to do this? or am I SOL

P.S. the program will only work if you are logged into MafiaLife.

I don't know if it will work or not, but take a look at AdLibEnable().

Also have you tried using the Window Information Tool to obtain some more detailed information about the window?

I hope this helps some,

JS

Edited by JSThePatriot

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
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
Sign in to follow this  
Followers 0