kokyo Posted August 30, 2007 Share Posted August 30, 2007 I want to load a website, revise it to avoid a pop-up window by giving it a "true" value, and then save it in my computer ready to use. However I meet a problem: I have to revise all links in the website, for example, from "images/open.gif" to a complete link like "http://....../images/open.gif", how can I know the complete link. Thanks a lot. Link to comment Share on other sites More sharing options...
mikehunt114 Posted August 31, 2007 Share Posted August 31, 2007 Have you tried using Dale's IE functions? _IECreate/_IEAttach and _IENavigate will load your page. _IEDocReadHTMLwill get the source, and _IEDocWriteHTML can rewrite it for you. _IELinkGetCollection will let you cycle through all the links in the webpage. Try these out and post back with some code if you have any problems. IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] 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