Giter Site home page Giter Site logo

env-guard's Introduction

env-guard

Build Status Coverage Status MIT Licence

No more mistakes while messing around 'production like' environments.

Env-Guard is a chrome extension that lets you modify some parts of your chrome tabs. By doing so, you can easily identify whether you should be extra careful or just do whatever you want in your app.

Motivation:

The chances that you ever needed to log-in into the production instance of your app to either fix some urgent problem or maybe to investigate something are pretty high. So, it's very likely that in a normal day at work you have multiple tabs of your app open and... as we all know sh** happens.

You thought you were browsing on the development instance of your app, where you are the "boss". So you deleted and changed bunch of stuff only to later realize that you were actually in the production instance. Oops!

Scope:

The focus of this extension is to help developers, testers managers and IT people in general. You are of course more than welcome to use this extension if you are not none of these people!. I just want to let it clear that the features here will always have this in mind. If you need a tool to maintain your chrome tabs in a more generic way, you should definitely check this one out (inspired me on writing mine) Tab Modifier

Features:

  • Change the tab's Title
  • Change the tab's favicon

Usage:

Refer to the Usage Wiki Page for detailed usage documentation.

License

Licensed under MIT

env-guard's People

Contributors

burgi0101 avatar joaopgrassi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

env-guard's Issues

Actions buttons have no tooltip

Feature request/nice to have:
As a first user I was hovering over the (now I realize, copy icon) and no info showed up.
Would be nice to see a tooltip saying: Duplicate rule or something.

Export/Import rules

I nice feature would be to export and import rules. This way we can share the rules with the team.
Perhaps a backing store to (github?) to store/share the rules with team members could also work well.

Extension crashes on Chrome version 64.0.3282.119

The extension was working normally on Chrome version: 63.0.3239. Today after upgrading to the latest build 64.0.3282.119 the extension gets disabled/corrupted whenever you navigate to the rule details page.
Following the instructions here, the log file contains this relevant information:

[13628:2040:0131/002153.817:INFO:CONSOLE(98)] "[object Object]", source: chrome-extension://bkdgflcldnnnapblkhphbgpggdiikppg/js/tabManager.js (98) [13628:9932:0131/002153.843:VERBOSE1:network_delegate.cc(30)] NetworkDelegate::NotifyBeforeURLRequest: chrome-extension://hldheamjpbaceigalkfkjogkfofankpp/assets/default-icons.json [13628:9932:0131/002153.843:VERBOSE1:network_delegate.cc(30)] NetworkDelegate::NotifyBeforeURLRequest: chrome-extension://hldheamjpbaceigalkfkjogkfofankpp/assets/default-icons.json [13628:9932:0131/002153.843:VERBOSE1:network_delegate.cc(30)] NetworkDelegate::NotifyBeforeURLRequest: chrome-extension://hldheamjpbaceigalkfkjogkfofankpp/assets/default-icons.json [13628:9932:0131/002153.909:VERBOSE1:network_delegate.cc(30)] NetworkDelegate::NotifyBeforeURLRequest: chrome-extension://hldheamjpbaceigalkfkjogkfofankpp/assets/ [13628:9932:0131/002153.909:VERBOSE1:network_delegate.cc(30)] NetworkDelegate::NotifyBeforeURLRequest: chrome-extension://hldheamjpbaceigalkfkjogkfofankpp/assets/ [13628:9932:0131/002153.909:VERBOSE1:network_delegate.cc(30)] NetworkDelegate::NotifyBeforeURLRequest: chrome-extension://hldheamjpbaceigalkfkjogkfofankpp/assets/ [13628:9932:0131/002153.912:VERBOSE1:content_verify_job.cc(230)] job failed for hldheamjpbaceigalkfkjogkfofankpp assets reason:2 [13628:2040:0131/002153.912:VERBOSE1:content_verifier.cc(144)] VerifyFailed hldheamjpbaceigalkfkjogkfofankpp reason:2 [7132:7924:0131/002153.941:VERBOSE1:script_context.cc(120)] Destroyed context for extension

So, it's something related to the content verification that Chrome does on the files to make sure the files from the chrome store weren't tempered with on the user's machine, but there's some bugs on this feature that can cause the extension to be disabled this: See this StackOverflow similar issue

Icon stays after rule is removed.

I removed a rule and after refreshing the target page, the title went back to original.
The icon stayed the red icon I had chosen with Env-Guard though. Is it possible to also clear the icon?

I used the StartsWith rule.

The site doesn't have an favicon, perhaps that's why this one doesn't go away.

Color pick for banner

Would be nice if I could have a color picker for selecting the banner colors. Currently I need to get the hex color code.

Add e2e tests

The extension is lacking e2e tests. Specially e2e tests that actually test the installed extension. There were some problems that arose only with the installed packages, like race conditions with favicons on site.

Possibility to disable Rules.

As a user I want to sometimes disable a rule. Maybe I'm doing some tests or changing the site and the rule is interfering with my work.
Having the disable rule feature, enables me work on my stuff without having to delete the rule.

  • Have a "Disable Rule" button on the dashboard
  • Have a "Disable Rule" button on the Rule details page
  • Once a Rule is disabled, show some visual identification
  • Change the "Disable Rule" to "Re-enable Rule" to disabled rules

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.