Change menu captions and items through Ember - is there a JS-only solution?


(Anton) #1

Through Ember debugger for Google Chrome, I can see that the menu is controlled by Discourse.NavigationCategorysController.

Is there a way to hook somewhere by placing a JS code before the </body> tag and change captions of menu items and/or add more menu items?

I’ve tried hooking with js $(), but the changes do disappear as soon as I navigate with using menu links.