Changes sharp chords into flat chords on the site Ultimate Guitar. Most useful in the context of transposition.
This implementation is a fork from https://github.com/hongjes1/UGChordstoFlats.
Actually, it has been competely rewritten; the visible differences are:
- rewrite only the sharped chords (the original implementation was also rewriting B into Cb for instance)
- deactivate chord diagrams to prevent chord reset (on mouse over)
- works with all chord names, without limitation; the only assumption is that the '#' is the second character (second character after '/' for bass notes)
For Firefox: https://addons.mozilla.org/en-US/firefox/addon/ug-chords-to-flats/
For Chrome: https://chrome.google.com/webstore/detail/ug-chords-to-flats/denhegbijdfbckdmjjmjbcfdhjogadlh
When viewing a chord tab on the UG web site, simply click the "bUG" button at the right of the address bar, then the "b" (flat) button that appears, that will rewrite sharp chords into flat chords.
- Open a tab's page.
- Open the javascript console:
Chrome: CTRL+SHIFT+J (Mac: COMMAND+OPTION+J)
Firefox: CTRL+SHIFT+K (Mac: COMMAND+OPTION+K)
other browsers: search the web for "open console <browser>" - Copy/paste the code from UGChordsToFlats.js into the console, then press ENTER.
Note: the chord diagrams are deactivated, because the code that displays them also resets the chord names.