IE8 BHO tab problem
Posted
by simil
on Stack Overflow
See other posts from Stack Overflow
or by simil
Published on 2010-05-13T05:55:16Z
Indexed on
2010/05/18
6:21 UTC
Read the original article
Hit count: 363
I am developing an IE8 BHO in C#. One of the functions of the BHO is to maintain a list of website pairs visited by the user. I add the pair (url1, url2) to the list if the user visits url2 by clicking on a link present at url1. I will be using this info to show the ie history in a nice way as opposed to the default behaviour of showing a long list of visited websites (something along the lines of the Firefox addon Voyage ). In my BHO, I am currently using the BeforeNavigate2 event to find the URL the user is going to visit. This works fine as long as the page is opened in the same tab. But, how to find if the user opens the link in a new tab/new window? Is there a way (other than IPC) in which we can find the url from which the user came from?
Thanks,
simil
© Stack Overflow or respective owner