Lucid-Toys / chrome-lucid

✍️ A chrome extension for replacing your new tab page with a very simple notepad.
https://chrome.google.com/webstore/detail/lucid/achogfadpkcepkepcpegehpiiioihmik?hl=en
82 stars 21 forks source link

Porting to Firefox WebExtension #8

Closed bost-ty closed 4 years ago

bost-ty commented 4 years ago

Hi Dan,

Mostly minor tweaks are needed in manifest.json and in override.js to work with Firefox.

I don't know how to note the changes in an issue (learning!), but I've uploaded the complete, semi-functional project to a repository at https://github.com/bost-ty/firefox-lucid.

Hope this is helpful. The major issues I'm having still are noted in the Readme. I did update override.css to suit some preferences and some rough media queries (rough improvements for how I use the extension).

Primarily, something in Firefox causes an issue (maybe anti-fingerprinting or other privacy flags I have in place...) with local timezone and prefers-color-scheme. A small options menu might be a workaround to set those variables.

Hope the code is interesting!

--bost-ty

bost-ty commented 4 years ago

Submitted and accepted by Firefox! Here's the page if anyone wants to try it or can solve the issues mentioned above.

daneden commented 4 years ago

Nice work @bost-ty! And thank you for sharing/credit :)