ylecuyer / envify

Colorify tabs with current env
https://addons.mozilla.org/en-US/firefox/addon/envify/
40 stars 5 forks source link

Pre-defined default rule for *.test #8

Open jnachtigall opened 6 years ago

jnachtigall commented 6 years ago

The .test gTLD is a reserved name by IETF for testing (or development) purposes.

So this domain name is exactly for the testing purpose (and is also not routed on the internet) and I personally always use it for staging/testing sites: https://en.wikipedia.org/wiki/.test

I think it would be great if there was a predefined rule that all *.test domains had a red or yellow color rule by default.

Then the add-on would work out of the box for me, because I use nothing else than *.test.

etiennewan commented 6 years ago

We set up a default environment to match mozilla in previous commits, but did not release a new version yet. We need to hurry and release an update. @ylecuyer I think a first default environment have to be something that can be immediately tested by everyone who install envify. This rule for *.test may be added as a second default rule, but can be added by the user very quickly too without hassle. So I am not sure this is a good idea. But these are my thoughts. @ylecuyer what do you think about it ?

ylecuyer commented 6 years ago

I'm not a fan of predefined settings. There is already the placeholder in the input to instruct people how to use the addon.

I will let this issue open to see if more people is interested in this feature and implement it if so.