Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


blocking a pop up website (request)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Valvex
I post too much
Reputation: 0

Joined: 11 Jun 2007
Posts: 2447
Location: 127.0.0.1

PostPosted: Fri Feb 29, 2008 2:14 pm    Post subject: blocking a pop up website (request) Reply with quote

I am making a trainer for a game that when you are unable to login it opens a webpage which everyone thinks is annoying. the request to send the web page to open is done in flash so is there anyway of blocking it with a vb script or flash AS?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Feb 29, 2008 4:09 pm    Post subject: Reply with quote

If you are using the Internet Explorer control that comes with VB6 (or .NET should work the same way) you can block the popups that are being sent to you in the NewWindow2 event of the control. Which would be done doing:

Code:
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    Cancel = True
End Sub


This wont block all popups, things like javascript things can be bypassed and still popup too. You can look up disabling JavaScript but I personally have never done it myself. But this should block any basic popups.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Valvex
I post too much
Reputation: 0

Joined: 11 Jun 2007
Posts: 2447
Location: 127.0.0.1

PostPosted: Fri Feb 29, 2008 6:49 pm    Post subject: Reply with quote

Wiccaan wrote:
If you are using the Internet Explorer control that comes with VB6 (or .NET should work the same way) you can block the popups that are being sent to you in the NewWindow2 event of the control. Which would be done doing:

Code:
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    Cancel = True
End Sub


This wont block all popups, things like javascript things can be bypassed and still popup too. You can look up disabling JavaScript but I personally have never done it myself. But this should block any basic popups.

I am not using a web browser, I am using the Active X Shockwaveflash form
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites