Created
March 30, 2012 15:01
-
-
Save neonux/2252143 to your computer and use it in GitHub Desktop.
Get the Scratchpad window from the Scratchpad itself
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
// open one (and only) Scratchpad in chrome/browser context, then: | |
let scratchpadWindow = Services.wm.getEnumerator("devtools:scratchpad").getNext(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment