Forum Stats

  • 3,855,314 Users
  • 2,264,499 Discussions


Adding css and script injection to other pages?

Venkata Rahul S
Venkata Rahul S Member Posts: 37 Blue Ribbon
edited Jan 19, 2022 10:28AM in Oracle JET

I intend to add script and css injection to a page, other than index.html.

I use oauth for logging in and the post login call back is a home.html, wwhere the actual OJet implementation kicks off. Any ideas on how to add css and script injection to more pages than just the index.html?

I looked up the oraclejet-build.js file. This does contain a placeholder for injection, but I am looking for an example script to be added here.

Also, is there a way to change the default page from index.html to a different one, say login.html? Can I modify the server script to make the server pick a different default webpage?

Thanks in advance



Best Answer