So here's a working implementation for Firefox, which allows the import of a todo.txt.
It can't be done with a popup, because that one closes as soon as it looses focus (e.g. due to the file selector dialog). Thus the reference gets lost. A sidebar would be open nonetheless.
So here's a working implementation for Firefox, which allows the import of a todo.txt. It can't be done with a popup, because that one closes as soon as it looses focus (e.g. due to the file selector dialog). Thus the reference gets lost. A sidebar would be open nonetheless.
But Opera and Chrome don't support the
browser.sidebarAction.open()
API. Instead it looks like one would need to inject an iFrame.@dthigpen Do you prefer this way or would rather go with an extension page?