dthigpen / todotxt-extension

A keyboard driven to-do list extension with the todo.txt methodology in mind.
GNU General Public License v3.0
2 stars 1 forks source link

Implement Import via sidebar. Refs #2 #5

Open Ryuno-Ki opened 5 years ago

Ryuno-Ki commented 5 years ago

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?