1 # This file creates VimFx’s status panel, similar to the “URL popup” shown when
2 # hovering or focusing links.
4 utils = require('./utils')
6 injectStatusPanel = (browser) ->
7 window = browser.ownerGlobal
9 statusPanel = window.document.createElement('statuspanel')
10 utils.setAttributes(statusPanel, {
16 window.gBrowser.getBrowserContainer(browser).appendChild(statusPanel)
17 module.onShutdown(-> statusPanel.remove())