I would like to know how do I close the current browser window using javascript or any other language that enables this.
I have already seen the window.close () function but it does not work for my case because it only closes what was opened through window.open ().
I thank you for your help.
26/11/2018 - Coming back here to update
Many thanks for the beautiful help I had here and for the beautiful negative feedback in the question and for the markup as duplicated hahahaha (remembering that the similar questions are very old, which is not useful at the moment), without the beautiful help of the community I have developed a solution for what I needed :)