Max-Github / FireFoxInvertColors

A simple addon that will invert a web page colors.
GNU General Public License v3.0
56 stars 15 forks source link

Invert colors on a tab-per-tab basis #31

Open geajack opened 5 years ago

geajack commented 5 years ago

Nice add-on. However, currently pushing the button inverts colors across the entire browser, but to me this functionality makes much more sense on a tab-per-tab basis, since different websites open in different tabs probably have different color schemes. I would recommend a very simple implementation:

  1. Each tab is either inverted or non-inverted, and maintains that state even if within that tab the user navigates to a different page or a different domain.
  2. All tabs start in the un-inverted state (even if it's a tab that the user opened from an inverted tab).

Would a pull requests with this behavior be accepted?

Max-Github commented 5 years ago

Currently you can inter the current tab only using the Alt+R. This will not affect other tabs nor the global state.

Alt+Shift+R will invert tabs globally.

Ricocotam commented 5 years ago

The invert mode on tabs does not seem to be tab-related but page-related. If you click on a link, you have to redo the alt+r step. It could be nice to have a "remember this website" button too !

Thanks for this add-on !