0

I'm creating a web application in blazor server, the user should be able to close the browser by pressing a button. Is it possible and what is the best way to do it?

I already tried using IJSRuntime and close() but this approach doesn't work because the application is not started via open().

The target browser will be Ivanti Velocity

TsalOreh
  • 3
  • 3
  • Does this answer your question? [How to close current tab in a browser window?](https://stackoverflow.com/questions/2076299/how-to-close-current-tab-in-a-browser-window) – Axekan Apr 17 '23 at 15:56
  • No, I don't believe there's an all browser solution to close the window, so there is no best way of doing it. – MrC aka Shaun Curtis Apr 17 '23 at 16:38

0 Answers0