Close Browser Tab or Window

32 views
Skip to first unread message

TonyM

unread,
Jun 21, 2019, 10:47:09 PM6/21/19
to TiddlyWiki
Folks,

While building a user login and out process I would like to create a button that saves the wiki and closes the tab/window it is in.

tm-open-external-window and tm-open-window


Exist but there does not seem to be their counterpart. I understand there are javascript commands that allow this.

Is there already a solution for this, or or could someone make a widget to permit this?

  • An added feature may be if the window has a target name to close it only if that window is named.
  • Or Open a new window with address then close the current one, allowing a chain of tiddlywikis.
Thanks in advance
Regards
Tony
Reply all
Reply to author
Forward
0 new messages