Jump to content

Disable pop up and Image download in an Embedded IE Window


NiTroGen
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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
Link to comment
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......

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...