Skip to content

Avoid disaster in production with this Chrome plug-in. It was designed to prevent errors when working with multiple tabs of the same application, but in different environments.

carlos-ds/mistake

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 

What does Mistake do?

Display a custom message at the top of any webpage that meets the criteria you define.

Why would I want to do such a thing?

Have you ever worked having multiple tabs of the same application open, but in different environments? Then you know how easy it is to live everyone's worst nightmare: screwing things up in production.

After yet another near miss, I decided to take matters into my own hands and design this plug-in. Now, when I'm in production, at least I'm significantly reducing the odds of making a Mistake.

Installation

  • Download this repository and unpack the contents
  • Open Google Chrome
  • Menu -> More tools -> Extensions -> Toggle developer mode
  • Click "Load unpacked" and select the folder on your local drive that contains this repository. Mistake should now be visible in your list of extensions.
  • To pin Mistake, click on the extensions icon next to the menu icon (3 dots) and click on the pin icon next to "Mistake".
  • To open the options page and add a new rule, click on the Mistake icon ("M") and click "Options".

How does it work?

When you add a new rule to the options page and save, the details of that rule are saved to local sync storage. Sync storage means you can also access any saved rules on any other Chrome browser which you are logged into.

When you navigate to a new page in any tab, the extension will check if the URL matches with one of the rules that you have saved. If it does, your message is prepended to the body tag.

Learn more about Chrome extensions at https://developer.chrome.com/home.

About

Avoid disaster in production with this Chrome plug-in. It was designed to prevent errors when working with multiple tabs of the same application, but in different environments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published