-
-
Save Cauterite/e3c8dce1f4f6973ce30b43fe7ac11eac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mainWindow = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor) | |
.getInterface(Components.interfaces.nsIWebNavigation) | |
.QueryInterface(Components.interfaces.nsIDocShellTreeItem) | |
.rootTreeItem | |
.QueryInterface(Components.interfaces.nsIInterfaceRequestor) | |
.getInterface(Components.interfaces.nsIDOMWindow); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment