Quote from
ziebzie on April 30, 2022, 12:14 pm
Not sure it is only my problem, but when i want to test my app in browser, VNWeb creates every time a new tab.
It annoys me a lot, becouse closing it all the time or after 20 testing is hell. Sure, i can close whole browser, but still it is very anoying.
Soo...
I create solution.
I know, its not a huge discovery, and maybe there is another simple way.
But here it is, for those who did not know and those who have weak nerves.
$(window).blur(function(){
Exit("");
});
This is java, so i simply putted it in JavaScript Subroutine and call it on start-up event.
It close your app when you minimalize or change tab\window.
Dont forget to delete this from your final product, becouse it may cause another person to lose their mind ;)
Not sure it is only my problem, but when i want to test my app in browser, VNWeb creates every time a new tab.
It annoys me a lot, becouse closing it all the time or after 20 testing is hell. Sure, i can close whole browser, but still it is very anoying.
Soo...
I create solution.
I know, its not a huge discovery, and maybe there is another simple way.
But here it is, for those who did not know and those who have weak nerves.
$(window).blur(function(){
Exit("");
});
This is java, so i simply putted it in JavaScript Subroutine and call it on start-up event.
It close your app when you minimalize or change tab\window.
Dont forget to delete this from your final product, becouse it may cause another person to lose their mind ;)
Uploaded files:- You need to login to have access to uploads.
luishp has reacted to this post.