How about the browser window itself? That's what the rest of the Unfocus JS code does:
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator);
var browserWindow = wm.getMostRecentWindow("navigator:browser");
How about the browser window itself? That's what the rest of the Unfocus JS code does:
var wm = Components. classes[ "@mozilla. org/appshell/ window- mediator; 1"]
. getService( Components. interfaces. nsIWindowMediat or); tWindow( "navigator: browser" );
var browserWindow = wm.getMostRecen
browserWind ow.focus( );