How can I add JavaScripit (&lt;script&gt;) into the <head> tag of my login page?

Michał Wiland December 10, 2018

I need to add JavaScripit (<script>) into the <head> tag of my login page. Can someone please provide some tutorial how it can be done?

It should be like this:

<head>...........

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<script>
   //some action
</script>

..........</head>

 

1 answer

0 votes
Amith Mathur {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2018

Hi @Michał Wiland

Yes, you can customize the Confluence login page. You need to edit the login.vm file. This file content contains a mixture of HTML and Velocity. See Velocity Template Overview. You can review this page for the details. 

Thanks,
Amith Mathur

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events