Closed shreyasminocha closed 5 years ago
Welp, porting the extension to FF would have been super simple had Chrome's APIs (the CSP modifications in src/background.js) not been a part of the code. I don't know much about Firefox development/APIs.
It'd be great if you could contribute if you a thing or two about FF add-ons. :smile:
Thanks!
Looks like FF ≥45 supports onHeadersReceived
. Moreover, FF supports the chrome
namespace as well (although it's not part of the spec).
Let me try to file a PR :)
Moreover, FF supports the
chrome
namespace as well (although it's not part of the spec).
Interesting. That's pretty generous of Firefox.
Let me try to file a PR :)
Great :+1:
Porting to Edge (supports webRequest.onHeadersReceived
) and Opera (also supports supports webRequest.onHeadersReceived
).
That's great, I'll look into those browsers too, thanks!
Meanwhile, testing the add-on on FF on my machine, I'm getting the following error:
How should I proceed?
Strange, I cannot reproduce. I'm running Firefox Quantum 64.0 (64-bit). Which version are you running?
Firefox Quantum 65.0 (64-bit) on Linux. Just so we are on the same page, I am testing the add-on on about:debugging
, yeah?
I was too quick to call it off: the add-on is working alright, regardless of that error :sweat_smile:.
I'll package and submit the add-on for FF tonight.
Cheers!
I was testing via web-ext
, but great that it worked. Cheers!
Hey @shreyasminocha! This has come way too late, but finally: https://addons.mozilla.org/en-US/firefox/addon/asciinema-player-for-github/
Apologies for the delay :sweat_smile:
Hey, that's great. Thanks!
Would it be possible to build a firefox add-on from this code?