AsciiJakob / NoDistractions

Simple, bloat-free website blocker with a focus on intuitiveness
https://addons.mozilla.org/en-US/firefox/addon/nodistractions-website-blocker/
MIT License
3 stars 1 forks source link

Remember last enabled status setting #10

Closed tuurep closed 2 months ago

tuurep commented 2 months ago

Commented out the "enable on browser startup" setting related stuff, because these settings can't coexist, example:

Doesn't make sense when last status was false (disabled)

So we'll have to rethink if we want to keep the use case of enableOnStartup = true in some form.

AsciiJakob commented 2 months ago

Btw, I just realized you may be able to run npx eslint . to see if there are any eslint warnings before commiting, seeing as your editor doesn't support eslint - or well at least not out of the box.

AsciiJakob commented 2 months ago

Works well. Fix the semicolon issue and i'll merge!

tuurep commented 2 months ago

Alright, finished! Thanks

Btw, I just realized you may be able to run npx eslint .

Yes this works, great