I have to develop a console application that would monitor and list all the events fired by browsers: Internet Explorer 8, Mozilla Firefox and Google Chrome.
What topics need to be studied? Can you help me in some ways?
I have to develop a console application that would monitor and list all the events fired by browsers: Internet Explorer 8, Mozilla Firefox and Google Chrome.
What topics need to be studied? Can you help me in some ways?
Firebug does this for Mozilla Firefox and had an extension for IE7+ too. Look at the sources for that, since it's Open Source.
If it is Google Chrome or Mozilla Firefox, I'm pretty much sure you could listen to the events by installing your plug-in/extension in the browser. Doing this is pretty easy in these browsers.
I'm assuming Chrome for the moment,
chrome.tabs.onSelectedChanged(function(){..}); //This will listen to tab-selection related events..
chrome.tabs.onCreate(function(){..}); //This will get fired when a new tab is opened..
By writing a plug-in for the browser I'm sure you can listen to hundred more such events!
For Google Chrome refer to: Link
For Mozilla Firefox refer to: Link
For Internet Explorer, I believe there is no central place to learn stuff, but I'm sure you will get loads of pages offering you the tutorial. Just google it out! :P
Actually building a console application is kind of difficult; unless you are able to get the HANDLE to the browser, listen for messages passed, catch those event and stuffs like that! If you could tell us what exactly you are trying to do, maybe we can help you! :)
I hope this resolves your query.