Sign in to follow this  
Followers 0
NiTroGen

Disable pop up and Image download in an Embedded IE Window

5 posts in this topic

I don't have good sleep because of these few problem.

1) How to disable pop up windows in an IE window created by _IECreateEmbedded?

2) How to disable images download in the IE window created by _IECreateEmbedded?

**I really don't want to touch the global setting of IE. Any COM expert can suggest me some tricks?

Share this post


Link to post
Share on other sites



You could filter the html as soon as the page loads.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks for your suggestions

The problem is

1) The page runs javascript, downloading the file using inetget isn't a good idea

2) I want to disable the images download to speed up the loading speed, filtering the page after loading of full images lose its meaning.

3) Some annoying popups are generated by javascript, however, I need some information generated by javascript as well. Therefore, I can't disable javascript.

Edited by NiTroGen

Share this post


Link to post
Share on other sites

Temporary solution to disable images

$regkey="HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main"

$regvaluename="Display Inline Images"

$RegOldValue=RegRead($regkey,$regvaluename)

RegWrite($regkey,$regvaluename,"REG_SZ","no")

;Create IE, Naviage at least one page

RegWrite($regkey,$regvaluename,"REG_SZ",$RegOldValue)

Still thinking about how to disable popup......

Share this post


Link to post
Share on other sites

I'm looking for the same help here. Sometimes a web site requires authentication in order to view the site, and I want to just skip over those...


[center][/center]

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