»User: »Password:   Remember Me? 
Screen capture software Support Forum / FireShot Support / Enhancement and Feature Requests / Supporting eMusic Remote
Posted:  07 Feb 2008 20:08
Works nicely with eMusic Remote xullrunner app.  Made a slight update to the getTopWindow function and updated the install.rdf and chrome.manifest, would love to see FireShot officially support Remote.

Here is some more information and thanks:
http://code.google.com/p/emusicremote/wiki/Extension_Developer_FAQ

function getTopWindow()
{
    var mediator = Components.classes["@mozilla.org/appshell/window-mediator;1"]
                         .getService(Components.interfaces.nsIWindowMediator);
    if (mediator)
    {
        var wList = mediator.getZOrderDOMWindowEnumerator("navigator:browser", true);
      

        if (wList.hasMoreElements()) {
            return wList.getNext().getBrowser().contentWindow;
        } else {
            return top.getBrowser().contentWindow;
        }

    }
    else
        return top.getBrowser().contentWindow;
}
Posted:  09 Feb 2008 13:59
Hmm, you wrote you made some changes in the latest release (0.35). I've just downloaded it and can't see any changes..

What should I change in these files to support Remote successfully?