Jump to content

About "Open New Window"


Recommended Posts

My autoit browser (using IE COM) is almost to its completion but i have some questions about it.

1. When i right click a link on my browser and click "Open in New Window", is there any method

to make it open in our browser instead of IE?

2. We will add a popup blocker for our browser but the problem is, all pop-ups are shown in IE window

after doing some test with http://www.popuptest.com/.

I haven't seen any autoit web browser that have these functionalities.

First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]
Link to comment
Share on other sites

You could try registering an IE event like BeforeNavigate2. But there are very good security reasons why IE shouldn't allow you to intercept links to another potentially malicious app like that, and I believe you'll find it much harder than that.

:blink:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

#Region Set Up Script
$IEEventObject = ObjEvent($oIE[GetTab()], "IEEvent_", "DWebBrowserEvents")
#EndRegion Set Up Script

I already have IEEvent_BeforeNavigate to display formatted url before loading, IEEvent_CommandStateChange($Command, $Value) to determine back and forward actions,IEEvent_NavigateComplete($NewURL) to display formatted url after loading, IEEvent_StatusTextChange($Text) for loading status, and IEEvent_TitleChange($NewTitle)change title corresponding to the loaded page.

Are there any IEEvent_ that responds to new window?

First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]
Link to comment
Share on other sites

Here's the list of IE events. If you've already coded for all those other events, you've probably been there already.

:blink:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...