Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Is there a programatic way (ie -remote) to close all tabs?

  • 1 απάντηση
  • 2 έχουν αυτό το πρόβλημα
  • 2 προβολές
  • Τελευταία απάντηση από Matt Brubeck

more options

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?

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

Όλες οι απαντήσεις (1)

more options

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.