06-03-2023, 09:21 PM
(06-03-2023, 08:21 PM)dbox Wrote:(06-03-2023, 07:04 PM)RhoSigma Wrote: Nice addition and clean optic implementation.
One thing, annoying me (maybe only me), once you've started a QBJS program and then leaving the thread either by clicking a link, browser favorite shortcut or browser back button, the browser pops up a "Do you really wanna leave the page" (Firefox). It happens also when the program has finished or was stopped. I would understand it to happen as long as a program is still running, but not after it has finished or was stopped again, maybe this could be changed. However, no rush, it's probably just my perfectionism comming into my way here.
That was put in place to try to help folks not lose their edits by accidently navigating away from the page before they meant to.
In the embedded context on the forum though, yeah, that will get annoying. I think what I will do is put together a quick patch that will detect whether it is embedded and, if so, disable that popup from triggering.
Ok, the update is in place. This prompt should go away point forward. If you still see the prompt on pages you've visited before, you might need to right click in the QBJS window and select "Reload Frame" to make sure the browser is loading the latest version.