Hello,

I have the following code which belongs to Mozilla browser Plugin:
var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator);

var brWindow = windowMediator.getMostRecentWindow("navigator:browser");
var doc = brWindow.content.document;

I need suggestions to write similar code for Google Chrome Plugin.

Regards,
Johan Schmidt.