Get requested URL from Browser
I'm new to Java and would like to listen for changes happening in the URL field of Internet Explorer, Chrome, Firefox or Safari.
Reason: I am running a website called bonuspoints.ch. Users get points if they are buying a product over our website. But many users forget to log in before they buy something at the shop. So our affiliate id is not transfered and we are unable to give the points to the user. This is why I would like to create an app that checks the browser URL and asks the user to add the affiliate id so that he will receive points for his purchase.
Does anybody know a way how to do it in Java? I know it's possible at least for IE using the COM Object in C#. But I would prefer Java as it has to run on different OS.
Thanks for your help.