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

Latest Version

Version
0.3
Update
April 25, 2019
Size
37.79KiB
Developer
Category
Users
266
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
See more

Localhost detector Extension

It checks the following in the URL and adds the red banner:
1. \"localhost\"
2. \"127.0.0.1\"
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.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Localhost detector", "description": "Detects if you are accessing localhost or production and respectively shows prominent red banner only on localhost.", "version": "0.3", "icons": { "128": "icon.png" }, "content_scripts": [ { "js": ["jquery.min.js", "local.js"], "css": ["local.css"], "matches": [ "*://*/*" ], "run_at": "document_end" } ]}
Read more

Similar Extensions

icon

Am I working on localhost? Extension · Developer Tools 266 0 ★ 38.95KiB

icon

Localhost Automate Extension · Developer Tools 266 12 ★ 85.98KiB

icon

Server Status Extension · Developer Tools 266 10 ★ 341KiB

icon

IP & Downlink Utility Extension · Productivity 266 0 ★ 245KiB

icon

Switch environment Extension · Developer Tools 266 4 ★ 43.0KiB

icon

Link Router Extension · Productivity 266 4 ★ 29.05KiB

icon

LL Developer Tools Extension · Developer Tools 266 1 ★ 98.88KiB

icon

localhost Extension · Developer Tools 266 0 ★ 21.1KiB

icon

Lavaca Developer Tools Extension · Developer Tools 266 0 ★ 10.42MiB

icon

Input hidden Monitor Extension · Developer Tools 266 0 ★ 36.05KiB

icon

LocoHost Extension · Developer Tools 266 3 ★ 117KiB

icon

C-Strip Extension · Developer Tools 266 2 ★ 8.62KiB

icon

Scripter debugger extension Extension · Developer Tools 266 2 ★ 1.04MiB

icon

Libraries.io | GitHub Companion Extension · Productivity 266 3 ★ 1.31MiB

icon

Admin tools Extension · Developer Tools 266 1 ★ 62.79KiB

icon

DOM-JSON Tree Matcher Extension · Developer Tools 266 0 ★ 18.58KiB

icon

Not my department Extension · Developer Tools 266 1 ★ 1.44MiB

icon

LiveScriptConsole Extension · Developer Tools 266 2 ★ 388KiB

icon

DOM to JSON Selector Extension · Developer Tools 266 0 ★ 48.55KiB

icon

HTML5 Debugger Extension · Developer Tools 266 1 ★ 9.01KiB

icon

Developer search tool Extension · Productivity 266 4 ★ 123KiB

icon

Dev Playground Extension · Developer Tools 266 2 ★ 288KiB

icon

Policy Control Extension · Productivity 266 3 ★ 48.47KiB

icon

Developer pages Extension · Developer Tools 266 5 ★ 7.09KiB

User reviews

icon

Sheldon Hull (ID: 0000003407da72fc) Voted 3 ★ - Updated 05/22/2023 I like the idea. Unfortunately, there are sites that have dev in them that this triggers on, like `dev.azure.com` for example. This means I have the banner popup in places it shouldn't be. Without any ability to customize the matching I had to uninstall. It's a cool idea though!

icon

Lec “Lecpo” Pol (ID: 0000001d4f3de190) Voted 5 ★ - Updated 04/12/2019 Simple and useful.

icon

Herbert Smith (ID: 0000006ebdc9c030) Voted 5 ★ - Updated 02/04/2019 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.

icon

Ovidijus Sobutas (ID: 00000065df7428c2) Voted 2 ★ - Updated 03/15/2018 Works only by reading url, so no way to know if you're on localhost when using virtual hosts.

icon

Patrick Man (ID: 000000d1e26838dd) Voted 5 ★ - Updated 01/24/2018 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*