View Single Post
Old 03-15-2013, 03:02 PM   #37
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 698
Karma: 1545625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Quote:
Originally Posted by jnjitkoff View Post
Excellent. Thank you. This makes getting in and out of the state even easier.

One followup question: is there a good way to execute a command when a WAF is terminating? (reshowing the titlebar is a nice touch)
I'm facing the same problem.
You could use

Code:
kindle.appmgr.onunload = function() { };
or the stock

Code:
window.onunload = function() { };
As regards me, I need something a bit more complicated as I have mutiple HTMLs (and the first solution seem to work only in the landing page) and some other problems here and there.
silver18 is offline   Reply With Quote