Unicode characters userscript

I have submitted some code on the main version, to add Multiplication Sign, Wave Dash and Corner Brackets:

And also on extradev version, to allow navigation in 2D (handling up and down arrow keys).
And also the same Multiplication Sign, and CJK Wave Dash and Corner Brackets, but in CJK category (not a country), so it looks a little bit strange, sorry.

Maybe you would come with an idea, before I start making your script going in weird directions:


Alternatively, instead of at the end and/or in a separate CJK category:

  • I can put the Wave Dash with the other dashes (EN, EM) and
  • I can put the Corner Brackets with the other surrounding same meaning punctuations, like Double Quotes

Our I can put them in a JP category, where they are most used for MB, I think.

Waiting for advice. :wink:

Update: I have updated the 2 code proposals.

Hi @jesus2099 , hi all.

I have to check the commits, but using ‘JP’ as code is the right way. You should now see a Japan flag for your section ^^ (hopefully, or maybe I didn’t pushed that change, can’t remember).

Also I think it’s time to write what I hope to do with the future version.

First, a new look for the menu. Mainly only the chars displayed, plus a description and magnifying when moving the mouse over the char. That will allow having more chars displayed at once.

But there’s also a ‘hidden’ plan. I want to propose optional ‘language packs’ (this is why I introduced the country code) that would be downloaded directly from the repository, with periodic check for update. Diacritics, Greek and even your new JP pack would be optional by the end.

This would be done using a configuration menu (not yet implemented).

The config menu would also add some more functions, as:

  • Add or hide chars to a language pack
  • Create custom language pack
  • Save and restore configuration

As you can see, there’s a lot to do to achieve what I want to propose. Will be a long journey…

Next step for me, write the full ToDo list, with priorities. Hopefully this weekend…

Cheers. Smeulf.

5 Likes

@jesus2099 I committed you PRs, and fixed the pack name for JP in extradev. You may want to update your repository and try

Btw, there’s some glitches in 2D navigation, for up and down now, but it’s really better than it was :wink: Fixing this won’t be my first priority, I want to start with the settings window for additional language pack.

Then I have to take care about language updates, and I want to rework some pieces of the code.

After that, I may rework the menu a bit (it’s ugly IMO). And finally the rest of the settings: hide/add characters, save/restore, and so on.

Cheers. Smeulf.

3 Likes

I didn’t see the whole discussion about the extradev branch, and created a PR against master this morning with some small changes to make it work in Safari as well and update the look of the menu to be more MB-ish.

1 Like

Hello Sirs,

I noticed some issues on apostrophe since some time:

I import a release from Discogs, apply the script then when I press the “Guess case” from MBz it switch back the apostrophe to basic straight one (" ’ " to " ’ ").

Any idea?

ex:

What is your version of the script?
I don’t have this behaviour.

Oh sorry, maybe I’m confusing with the other Bookmarklet/Userscript to guess Unicode punctuation of titles script!

This error sounds like MusicBrainz userscripts tips and tricks - #2 by jesus2099 but I cannot test this script at there moment, I’m on mobile (cannot type Ctrl+m).

Actually you are right

I was indeed referring to this script Bookmarklet/Userscript to guess Unicode punctuation of titles - #35 by kellnerd but post wrongly here :slightly_smiling_face:

Will restest after updating as indeed for the Bookmarklet the updates are not automatic compare to other scripts

Maybe you installed the bookmarklet version.
If you use the Install button or the usual Raw link, it should later auto-update, as a userscript.

Confirmed, no more issue with the xxxmonkey version.

Thanks

1 Like