davidhampgonsalves / Live-RSS-Bookmarks

Chrome extension that adds Firefox like RSS/Atom handling
https://davidhampgonsalves.com/13-years-of-foxish/
MIT License
46 stars 9 forks source link

Port Foxish live RSS Chome extension to Mozilla Firefox #6

Closed MurzNN closed 6 years ago

MurzNN commented 6 years ago

New Firefox versions will drop Live Bookmarks feature, as described here: https://bugzilla.mozilla.org/show_bug.cgi?id=1477667

So, can you port your Foxish live RSS extension to Mozilla Firefox WebExtensions API?

If no, can you describe missing API features, that block porting?

ali1234 commented 6 years ago

I am already working on this. See #5.

There doesn't seem to be any missing API which would block porting, however, the code of this extension is quite old and uses exclusively Chrome-specific and APIs which are not available in Firefox and often are deprecated. Lots of code will need to be rewritten to make it work, but it should be possible. In fact core functions already work - the bookmarks can be synced at least once if you add the feed through the options page. The feed detector and browser action do not work though.

Also the options page will need different CSS to work properly in FF.

davidhampgonsalves commented 6 years ago

I probably won't port this to FF but if I was going to I would start from scratch. This code is quite old and was written at a time when callbacks were the only method of async programing in JS.

Also most of the code in this extension is designed to minimise bookmark actions (add, move, remove) due to Chrome's usage caps. If Firefox doesn't have such caps then most of the existing logic wouldn't be helpful.

nt1m commented 6 years ago

Here's a mostly re-written version of this add-on for Firefox: https://github.com/nt1m/livemarks I've published it on the add-ons website: https://addons.mozilla.org/firefox/addon/livemarks/