Is there a programatic way (ie -remote) to close all tabs?
Hi,
I'm refreshing a kiosk system that was built around a pre-tabbed browsing version of Mozilla, now using Firefox12.
The one step from the old system I'm having trouble reimplementing is returning the browser to the default state of one tab open to the home page after a period of inactivity.
The old version calls -remote openURL to reload the home page. Thanks to this forum (https://support.mozilla.org/en-US/questions/926745) I can open the home page in the active tab rather than opening a new tab every time, but I still need to close all other tab programitically, can this be done or does that require GUI interaction?
jproulx দ্বারা পরিমিত
All Replies (1)
I don't think there's a command-line way to close tabs or windows. You could either kill the Firefox process and start a new one, or you could write a simple Firefox add-on to do the work. An existing add-on like Reset Kiosk might help.