“The webpage you are viewing is trying to close the window. Do you want to close this window?”
then you should try to use these two lines of code:
window.open(”, ‘_self’, ”);
At my project it helped me.
..:: I LIKE SHAREPOINT ::..
The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.