关于 "on-discourse" javascript 用于为各页面设置自定义JS的反馈?

I think you want to put your code in an initializer rather than in a head. Look at the developer guide and see how you can put your JS in separate files.

1 个赞