You would need an extension for your browser (such as “Tampermonkey” or “Violentmonkey”) that then lets you run scripts like this one on the site.
If you are hoping to edit classical music on MusicBrainz a fair bit I very much suggest looking into userscripts.
More generally, this might be of some use: The Classical Editor Toolbox