stevehanson / domain-switcher-chrome

Domain Switcher extension for Google Chrome
https://chrome.google.com/webstore/detail/domain-switcher/lbehdhpgigdlinfkidifkbhjnaglfojc
Other
21 stars 15 forks source link

Adding visuals for the current domain #3

Closed Yerlix closed 9 years ago

Yerlix commented 9 years ago

Hi

I'm trying to add a visual so it's clear on which domain I'm working. At the moment I'm trying to add a color somewhere. My first attempt was to give the address bar a background color, which won't work after some research.

Now I want to try to add the visual to the DOM itself, but I don't know how I should start. I was thinking about using a content script for this, but maybe I'm making things too complicated.

I've successfully added a color for each domain: screen shot 2015-03-17 at 18 50 01

But I don't know how to go to the next step.

This is a jump in the dark for me now. My first contact with creating/editing a Chrome Extension so all help and/or explanation is welcome.

Yerlix commented 9 years ago

I've tried a bit myself and I've come up with a bar.

More info can be found in a pull request.