Improvements to the gerrit-switch extension

+ Replace tabs with activeTab to reduce the number of permissions
  needed by the extension.
+ Redirect to the GWT UI version of a URL if a PolyGerrit URL is
  pasted but the user doesn’t have PolyGerrit turned on.

Bug: Issue 3959
Bug: Issue 3924
Change-Id: I3b642d99a2a55bfa8242b678d86c8dcc11bc50c1
2 files changed
tree: f1b04eadcc60eab25d48e18a32247216dd560e93
  1. background.js
  2. content.js
  3. icon_19.png
  4. icon_38.png
  5. icon_active_19.png
  6. icon_active_38.png
  7. LICENSE
  8. manifest.json
  9. README.md
README.md

gerrit-switch

Chrome extension used to toggle PolyGerrit UI in Gerrit