-
-
Notifications
You must be signed in to change notification settings - Fork 30
Provide Firefox version of Gitcoin Chrome Extension #1
Comments
this is a great idea. if anyone wants to fund a bounty for it or dev it, i'm all 👂 s |
is this easy to do? |
funding this now. requirements:
if anyone feels like the issue is underpriced leave a comment and we can work it out |
This issue now has a funding of 0.05 ETH (39.7 USD) attached to it.
|
I suppose not all functions are compatible with Firefox, see compatibility report based on: https://www.extensiontest.com/test/b105f3f0-e5b8-11e7-8ba1-af95702cad20
|
http://bits.owocki.com/1e1z0o0f2E0a/Screen%20Shot%202017-12-20%20at%205.06.36%20PM.png i get a 404 based upon the result you posted, it seems that theres a few things we'll have to update :) |
Finally got some time to deal with this... And uploaded it to mozilla addon |
@gasolin thank you! https://addons.mozilla.org/en-US/firefox/addon/gitcoin/ returns a 404 for me. is it live yet? i'd love to review the listing before it's live. can you give me permissions to manage the extension on addons.mozilla.org ? |
Is the bounty still live for 'providing a script' or similar instead of just porting? Tried claiming this or one of the other extension bounties but somehow always ran out of gas or something else... for one of the bounties metamask suggested 200 $ equiv in gas ... if anything I would want to earn ether, not spend the little that I have in metamask atm... I wouldn't mind waiting a bit longer until it is included, but is it somehow still possible to pay at most 1$/1€ equivalent or not? |
@owocki 0.10 is drawn from reviewer because of the origin code inject JS via I also saw some issues but may not block this work:
Could fix them when the main file arch is settled |
probably good to fix this
i could go either way on this. what do you think? |
|
strangely... when i install this extension, it doesnt show up in the menu bar... so im not sure how to test it http://bits.owocki.com/3x0v3k443N2U/Screen%20Recording%202017-12-22%20at%2011.29%20AM.mov |
Mmmh, seems to work fine for me. Maybe just some loading error or not added automatically? If you go to 'customize' is it there? |
It should shows in the menu bar... |
probably good to fix this
i could go either way on this. what do you think? I think these 2 issues are not directly related to this issue and does not block publish the addon. So its better to file separate issues to solve them. |
hmm now i can't install it from the add on store because of this error . http://bits.owocki.com/2v3c2n0j101R/Screen%20Shot%202017-12-26%20at%205.23.25%20PM.png |
ahh yes there it is! disregard the above |
@gasolin i just got this email from firefox dir http://bits.owocki.com/263U2M1q043e/Screen%20Shot%202017-12-26%20at%207.08.36%20PM.png |
@rafaelfragosom I guess the major porting work will be related to Firefox https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Chrome_incompatibilities , since the patch applied webextension-polyfill, you can help extend |
@rafaelfragosom PR 25 landed the basis structure which support npm script You can base on current master branch and add new browser build script without wait for the firefox addon support |
from mozilla
|
That is caused by Firefox addon has a more strict policy for using innerHTML. We should remove jquery.append and construct the DOM with I'll file separate bugs for those improvements |
Ooh I should link related bugs to this issue
|
@owocki I think I fixed this issue. checkout my PR. |
Here is the extension working on Firefox. https://addons.mozilla.org/en-US/firefox/addon/kenneth-nicholson/ |
cc @owocki. Great work @KennethAshley you're an animal 🦁!!! |
@vs77bb thanks dude. Let me know if you see anything that needs fixing. |
@KennethAshley nice work, the tag in page shows correctly, though due to api incompatibility, the gitcoin badge in toolbar is not linked.
I'm occupied in other works, feel free to continue the good progress. I'll be happy to help review the PR. |
just installed via the mozilla adds on link that @KennethAshley posted above... the only issue i see:
|
@owocki yea i gotta look into this issue. Meta mask works after awhile but not initially. |
Hi all, I downloaded the extension and tried to install it to FF. It seems like it's working. Is the problem specifically on not finding metamask now? @owocki @KennethAshley |
that was the problem i experienced.. yes... perhaps it doesnt matter too much though since metamask / web3 is not really used in the extension too much (although down the line we'd love to do inline web3 tx's in the extension) |
IIRC; the interaction between the extension and metamask was pretty kludgey... there are different execution instances in the main chrome window and the browser window, and in order to get them to talk to each other i had to do some really hacky stuff.. the more i think about it.. the more i think we might want to just remove the metamask functionality for now.. all it does is give you your ETH balance and your current ETH address ( http://bits.owocki.com/1Y070D251Y2L/Screen%20Shot%202018-03-05%20at%203.33.59%20PM.png ) which i dont think is value add enough to hold up the rest of the ticket |
@KennethAshley what do you think about just removing the metamask warning for firefox and 🚢 ing it? |
@owocki Yea ill get that done today! |
lmk ! |
Update on this? |
Firefox now provide web extension API which is similar to Chrome
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension
And MetaMask already provided the Firefox extension
https://addons.mozilla.org/en-US/firefox/addon/ether-metamask/?src=api
The text was updated successfully, but these errors were encountered: