News for hackers. Stuff that matters.
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by TimTheTinker on Tuesday February 19, 2019 @01:24PM (#19201383)
I don't use Chrome anymore except for dev work. Any chance this could be released for Firefox?
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by pawannitj on Tuesday February 19, 2019 @01:41PM (#19201534)
I have recently learned to make chrome extension, will work on firefox once I get time.
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by chucksmash on Tuesday February 19, 2019 @02:16PM (#19201866)
It can likely be ported nearly directly.

Firefox supports a quite faithful port of the `chrome` object the Chrome extension APIs are namespaced under. The four extensions I've written in the past (generally internal-to-co) were all seamlessly supportable in both browsers once Firefox moved away from their old extension interface. There are some differences but Firefox keeps their additions/improvements they make contained to the `browser` namespace, which seem to be spec-driven[1] so maybe those changes will end up in Chrome some day too.

TL;DR: don't let worrying about compatibility prevent you from just trying to install and run the same code in FF to see what happens.

Also, is the source code for this publicly available? I was going to just check this myself, but I don't immediately see a GitHub link in this thread or at the linked page from FF for Android.

[1]: https://browserext.github.io/browserext/

Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by pawannitj on Tuesday February 19, 2019 @02:35PM (#19202006)
Thanks for pointers, will try firefox too. GitHub link is mentioned on extension page. https://github.com/pawanmaurya/imdb-ratings-on-netflix
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by Sohakes on Tuesday February 19, 2019 @04:27PM (#19202978)
I tried it on Firefox and it works fine! I just needed to change the value of <secret_key> to a key I created on their website (or else it fails silently, it would be cool to have some console message I think).
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by joshschreuder on Tuesday February 19, 2019 @06:09PM (#19203896)
Probably a little late as you've already shipped Chrome, but webextension-toolbox is a pretty neat little CLI tool to help write cross-platform extensions:

https://github.com/webextension-toolbox/webextension-toolbox

Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by pawannitj on Saturday February 23, 2019 @02:32PM (#19235054)
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by plorntus on Tuesday February 19, 2019 @01:40PM (#19201523)
Doesnt Firefox support chrome extensions now since it has been standardized?
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by jacobmischka on Tuesday February 19, 2019 @02:01PM (#19201736)
Mostly. There are some APIs that are supported by one platform and not the other, but the majority is shared. So there's a large chance this extension should just work mostly out of the box in Firefox. However, it still needs to be repackaged and released for each platform separately.
Re:Show HN: Chrome Extension to See IMDB Ratings Directly on... by gchamonlive on Tuesday February 19, 2019 @09:46PM (#19205149)
how about giving vivaldi a try? Its backend is chromium