Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i want to catch all the url's of all tabs in a mozilla browser.
can any one guide how to do it.
for example: gmail.com, Facebook.com, yahoo mail.com,what ever may be the site i want to read that URL and want to store in my buffer.
Posted
Updated 18-Oct-11 18:16pm
v2
Comments
Richard MacCutchan 18-Oct-11 6:09am    
Catch how? Your question is tagged as C++, please explain further what your program is trying to do.
anil03006 19-Oct-11 0:18am    
I have to get the URL and save it in a buffer, the program should be in C or C++
Thanks.
Mohibur Rashid 19-Oct-11 0:12am    
How about write a simple adds on to catch all the tabs??

1 solution

You would need to get the Window handle of the browser, and then find some way to extract the URLs from each tab. Assuming each tab is a Window then you can enumerate the child windows and check each one in turn. See here[^] for the various API calls to enumerate windows.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900