Notify user they are leaving website when using on click event open link

0
I’d like to have some sort of popup that notifies users that they are navigating off the application when they click on a button that navigates to website outside of the application. How can I do this?   Thanks!
asked
3 answers
2

Hi Daniel,

One way to do this would be to have that initial button instead open a popup page with your desired message (e.g. “You will now be redirected to a page outside this application.”) and then have that popup have a confirmation button (e.g. “Okay”) and have that button instead open the outside link.

answered
2

Same as pgadmin does when you have a query-tab open with a query you modified:

There is a widget for that: https://appstore.home.mendix.com/link/app/78474/Bizzomate/Bizzomate-LeaveAction , like Ronald says in his answer to this question.

answered
0

What do you want to achieve? Or what is your problem description?

Personally, getting a popup while leaving a website is really frustrating, not user friendly and does not help to keep the user on page.

answered