I’ve edited the PrintRiver
plugin to open the tiddlers of my choice in a new window as normal. After hitting a button in this window, the browser will ask to cancel or save as PDF. After following either of these two options, I’ve managed to trigger the deletion of those tiddlers in the open window, and also to close it.
What I can’t figure out is whether there is a way to delete those tiddlers also when clicking the “Close” button in the browser’s window. Right now, clicking it does not delete the tiddlers, although it is of course closing the open window.
Any ideas? Would it be something navigator-related?