-
Notifications
You must be signed in to change notification settings - Fork 16
Feature firefox #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature firefox #48
Conversation
…because Firefox does not support it yet
… does not support it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow. Great work! Few things:
- In the future, it'd be easier to review these PRs if their repo was this one, not a fork. That way reviewers don't have to clone and
npm install
all the dependencies in a temporary directive. That said, are there pain points that are solved on your end by having the PR come from your own repo? - I can't figure out how to get CORs working with FireFox. See screenshot: https://cl.ly/3q0E0B2o2647 The plugin doesn't load any content in FF until we get this fixed. I've tried mounting both the dev and the prod builds of the add on, and neither of them work locally. They both should, yes?
Regarding item 2 by the way, if I'm having this problem, other contributors are going to too. Let's plan on updating the README with instructions on how to get this setup. Want the barriers to entry to be as low as possible! (Documentation doesn't have to be in the PR we end up merging, per se, just sometime soon.) |
1- Yeah, from now on I'll do PRs on the main repository. Note: @martynchamberlin please, let me know if this solves the problem if so I'll update the readme with this. :) |
@wistcc That now makes the errors go away in the console but I'm still seeing just this: https://cl.ly/1O090j1P0Z2I Here's what the Inspector looks like. That JavaScript file just isn't doing anything for some reason. https://cl.ly/3V0r1l2T090M |
@martynchamberlin just in the case we are not on the same page, please make sure you are doing this: 1- 2- On FF go to 3- On FF go to Now you should have the extension working correctly as you can see here: Note: you can click on debug to see the extension's console. |
@wistcc You'll probably get a notification about wistcc#1, but in case you don't, now you do. :) Please look it over and merge into this PR if you like what you see. To be honest, at this point knowing what I now know about Firefox's add-on specs, I have no idea how this extension has been working for you in Firefox without my PR. Super weird. |
Move everything to HTTPS
@martynchamberlin As I said, from now on I'll do any contribution directly to the main repository, now is pretty obvious is the best way to go. I suppose this should be an issue to be created, shouldn't it? |
@wistcc Sure! |
This PR also closes #51 @martynchamberlin please let me know if you want to add something more to the readme. |
@@ -52,3 +62,4 @@ Huge thanks to all of these people and all of this software: | |||
[Rish](https://github.com/rish) | |||
[Martyn Chamberlin](https://github.com/martynchamberlin) | |||
[Jhen-Jie Hong](https://github.com/jhen0409/react-chrome-extension-boilerplate) | |||
[Winner Crespo](https://github.com/wistcc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this. You've earned it!
npm run devFirefox | ||
``` | ||
|
||
Load the extension [doing this steps](https://github.com/ChessCom/browser-extension/pull/48#issuecomment-264218199). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "this steps" to "these steps", please.
@martynchamberlin comments addresed! :) |
Tidy up Webpack files
Refactor everything the right way
Oh, I should have tested it. :( |
@wistcc Ha, no worries. I've merged this PR! Will ping you when the add-on is available for FireFox! |
This PR is related to issue #46