Can you create a pop up warning message in confluence cloud

i am looking to create a pop up message when a link is clicked on confluence page.

the message will say the following content is confidential do you want to proceed Yes or NO option.

if yes it goes forward it No doesnt open the link is this possible

Hi Osman,

you may enforce opening such pop-up message by adding the link as an inline macro. See https://developer.atlassian.com/cloud/confluence/modules/static-content-macro/. This inline macro will attach a JavaScript function that opens a pop-up message that you define.

Please let me know if it helped you.

Vojtěch Schlemmer [MoroSystems, s.r.o., Czech Republic]