NiTroGen Posted September 5, 2007 Share Posted September 5, 2007 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 More sharing options...
Richard Robertson Posted September 5, 2007 Share Posted September 5, 2007 You could filter the html as soon as the page loads. Link to comment Share on other sites More sharing options...
NiTroGen Posted September 6, 2007 Author Share Posted September 6, 2007 (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 September 6, 2007 by NiTroGen Link to comment Share on other sites More sharing options...
NiTroGen Posted September 6, 2007 Author Share Posted September 6, 2007 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 pageRegWrite($regkey,$regvaluename,"REG_SZ",$RegOldValue)Still thinking about how to disable popup...... Link to comment Share on other sites More sharing options...
Affe Posted September 14, 2007 Share Posted September 14, 2007 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] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now