开发者

Looping over all tabs in IE 8

Question: I want to loop over all open tabs in Internet Exporer (for all open IE windows) and save the URL in a text file. How can I do that ? I have wi开发者_Go百科ndows 7 32 bit and IE 8.

Code for Firefox/Google chrome would also be welcome.


If you're doing it via raw window handles: use FindWindowEx() to get the toplevel IE window, then EnumChildWindows() to get the tabs. They each have the WindowClass "IEFrame" (I think the toplevel window does as well.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜