I am developing a web application with JAVA using eclipse, but I need it to only be able to open in one browser tab, and if the user opens the application in another tab I need an error or warning message to be indicated.
How can I achieve it? Thanks for your help.
I have tried to include js code in my index.xthml, but it has not worked for me
New contributor
Bryan Josue Alberto Elena is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.