lafkpages / XL-Replit

Extra features for the Replit website.
https://xl-replit.lafkpages.tech
17 stars 8 forks source link

Mozilla Firefox Support #10

Open DillonB07 opened 1 year ago

DillonB07 commented 1 year ago

Support for the extension on Mozilla Firefox would be great!

I will work on this and make a PR when it is done.

lafkpages commented 1 year ago

Does Firefox support Chrome extensions without much change in code? Or would we have to make this twice, once for each browser?

DillonB07 commented 1 year ago

Very similar, you should be able to use the same codebase.

On 6 Jan 2023, at 08:56, LuisAFK @.***> wrote:

Does Firefox support Chrome extensions without much change in code? Or would we have to make this twice, once for each browser?

— Reply to this email directly, view it on GitHub https://github.com/lafkpages/XL-Replit/issues/10#issuecomment-1373362900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAPGD3ZFCY654Z7PW7XW5DWQ7M2XANCNFSM6AAAAAATREEDDQ. You are receiving this because you authored the thread.

Tulip-0333 commented 1 year ago

Oh so that's the reason I'm not able to use this, I'm on Firefox!

DillonB07 commented 1 year ago

Yep, you need a Chromium based browser currently. Hopefully I’ll get around to making it for Firefox in the next few weeks, but it’s low priority, I’ve got a lot of other things I need to do first!

On 27 Jan 2023, at 09:38, Tulip @.***> wrote:

Oh so that's the reason I'm not able to use this, I'm on Firefox!

— Reply to this email directly, view it on GitHub https://github.com/lafkpages/XL-Replit/issues/10#issuecomment-1406253104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAPGD3SN5IQZEP2YCSSRATWUOJSBANCNFSM6AAAAAATREEDDQ. You are receiving this because you authored the thread.

lafkpages commented 1 year ago

I tried loading this extension on Firefox and it worked with no changes in my code. I have merged no PRs for Firefox support, and I'm still using chrome and it works perfectly on Firefox. The only thing I had to change for full Firefox support was to not use the :has() selector, as it's not enabled by default on Firefox.

DillonB07 commented 1 year ago

@LuisAFK what version of FireFox are you using? When I tried to use the extension on FF with no changes, the popup was really wide and none of the functionality worked. This wasn’t due to my settings as I tried it in a private browsing window.

On 8 Apr 2023, at 14:19, LuisAFK @.***> wrote:

I tried loading this extension on Firefox and it worked with no changes in my code. I have merged no PRs for Firefox support, and I'm still using chrome and it works perfectly on Firefox. The only thing I had to change for full Firefox support was to not use the :has() selector, as it's not enabled by default on Firefox.

— Reply to this email directly, view it on GitHub https://github.com/lafkpages/XL-Replit/issues/10#issuecomment-1500890551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUAPGD7NUKR6O77OIEF5LCDXAFQWZANCNFSM6AAAAAATREEDDQ. You are receiving this because you authored the thread.

lafkpages commented 1 year ago

As we saw in VC, you have to give the extension permissions to "Always allow on replit.com". My Firefox version is 111.0.1 (64-bit).