Is there any way to add a javascript link in a Moodle custom menu? Specifically, I want to restart a User Tour from a menu rather than from the link in the footer.
It's hacky, but if you wanted to do it without a plugin / with existing settings, you could apply the javascript in the settings in Site administration > Appearance> Additional HTML (probably additionalhtmlfooter).