pdf / kdeconnect-chrome-extension

A browser extension to send pages and content from your browser to connected KDE Connect devices.
https://chrome.google.com/webstore/detail/kde-connect/ofmplbbfigookafjahpeepbggpofdhbo
MIT License
233 stars 29 forks source link

Firefox support #10

Closed Mte90 closed 7 years ago

Mte90 commented 7 years ago

Also Firefox support the Native messaging API and the rest of api of webextensions so I think that a port will be easy :-)

pdf commented 7 years ago

I've taken a look, and there are some incompatibilities. Some are easy enough (if annoying) to work around, but the major one is that Firefox's async extension API calls use promises, where as Chrome's use callbacks. This means refactoring most of the plugin code and adding a polyfill for Chrome make it work on both.

I will take a look at sorting this out, no promises (puns!) on timeline though.

pdf commented 7 years ago

Submitted and awaiting approval: https://addons.mozilla.org/en-US/firefox/addon/kde_connect/

You will want the latest release of the native host for Firefox installation support.

If you do install it once it's approved, please let me know of any issues.

pdf commented 7 years ago

Took a while to get a reviewer due to the use of native host, but it should be live now if you'd like to try it out.

Mte90 commented 7 years ago

Installed :-D