Technical documentation - Inserting custom javascript
It is possible to insert custom JavaScript in the application. js files added with this method is executed on each page load after application’s own js.
Configuration
Custom java script files are configured in profile.config. Insert the following in the root of profile.config of a site. It is possible to add several tags to refer several js files.
<CustomJSUrl>whatever.js</CustomJSUrl>
<CustomJSUrl>whatever2.js</CustomJSUrl>
Place your custom js in the site folder:
C:\inetpub\wwwroot\AssertWeb\App_Data\Site\whatever.js
C:\inetpub\wwwroot\AssertWeb\App_Data\Site\whatever2.js
Custom javascript are executed at the end of the application’s javascripts.