How to attach didInsertElement from outside of an Ember application?


I’m trying to customize the Discourse forum “the right way”. I want to add more menu items and/or change the captions of the existing menu items.

Discourse admin settings allows us to add a custom JavaScript to be executed before the </body> tag.

Is there a way to hook on Ember VIEW from outside and perform additional actions every time it is re-rendered?