extension ExtPose

Localhost detector

Description from extension meta

Detects if you are accessing localhost or production and respectively shows prominent red banner only on localhost.

Image from store Localhost detector
Description from store It checks the following in the URL and adds the red banner: 1. "localhost" 2. "" 3. "local." 4. ".local" 5. "staging." 6. ".stg" 7. "dev." 8. "test." 9. ".test" Let me know, if you want to add any other string that should match and show the red banner.

Latest reviews

  • (2019-04-12) Marcel Powolny: Simple and useful.
  • (2019-02-04) Herbert Smith: Extensão TOP, procurei bastante e não encontrei, quando achei aqui não acreditei de primeira, mas funciona perfeitamente para localhost com ou sem porta! Parabéns ao criador.
  • (2018-03-15) Ovidijus Sobutas: Works only by reading url, so no way to know if you're on localhost when using virtual hosts.
  • (2018-01-24) Patrick Man: Love this one! So nice to have a big bright visual cue to distinguish local experimental development from breaking things on the live server *grin*

Latest issues

  • (2020-01-15, v:0.3) Chef Works: ok
  • (2018-09-14, v:0.2) Sylvain Adveris: Prise en compte du httpd-vhosts.
    Bonjour, Le soucis c'est que la plupart du temps on utilise les vhosts pour changer l'url et donc pas "localhost". Il faudrai que ca détect vraiment si on est en local ou pas. Pas juste comparer l'url à la liste.
  • (2018-01-24, v:0.2) Patrick Man: Any way to manually edit strings it searches for?
    Is there a config or ini file that can be edited to choose which strings it checks against? Thanks!


161 history
4.25 (4 votes)
Last update / version
2019-04-25 / 0.3
Listing languages