Skip to content

OSS browser extension that changes the color of AWS' navbar depending on the region

License

Notifications You must be signed in to change notification settings

thehandsomezebra/aws-color-region-navbar-extension

 
 

Repository files navigation


AWS Navbar Region Color Extension

An OSS version of the "AWS console regions color" extension, a browser extension that changes the color of the AWS navbar depending on the region

Install

Reasons for the fork

  • Other extension is not open source
  • Other extension was broken by an update on AWS' side
  • Adds new regions that were missing
  • Adds support for Firefox
  • Uses a color picker instead of asking the user to input hex
  • Other extension requires a permission that lets it access your whole browsing history, this one doesn't

I believe that by making it open source it'll be possible to verify that the code doesn't do anything wrong such as exfiltrate data and if there's any further breakage people will be able to fix it by either contributing or forking it into a new version.

Philosophy

All the extension code is kept extremely simple in order to allow anyone to contribute easily, this means:

  • Uses no transpilation tools, only basic HTML and Javascript
  • Only include minimal number of files
  • Keep code extremely simple

Development

On Chrome:

  1. Open the Extension Management page by navigating to chrome://extensions.
  2. Enable Developer Mode by clicking the toggle switch next to Developer mode.
  3. Click the LOAD UNPACKED button and select the extension directory.

On Firefox:

  1. Open the Debugging page by navigating to about:debugging#/runtime/this-firefox.
  2. Click on the "Load Temporary Add-on..." button and select the extension directory.

License

MIT

Acknowledgements

  • Thanks to u/Geeno2 for coming up with the idea and building it.

Updates in my fork (u/thehandsomezebra):

  • This should work with the latest ribbon header (Jan 2024).
  • There's a sleep function to avoid nulls due to load times.
  • Added a starter block of code that's commented out at the bottom... If you want to modify and put more color-coding per-account. That's all DIY so fork and modify to your heart's content.
  • I also swapped the original defaults for US East 1 vs 2.. idk, because I felt like it.
  • Tested with Chrome only at this time.. but I think it should just work with firefox.

About

OSS browser extension that changes the color of AWS' navbar depending on the region

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.1%
  • JavaScript 38.9%