Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

How can I use -remote openURL without opening a new tab?

  • 1 răspuns
  • 1 are această problemă
  • 10 vizualizări
  • Ultimul răspuns de philipp

more options

I have a web based kiosk which I built a very long time ago (before tabbed browsing) which uses periodic calls to:

firefox -remote 'openURL(http://start.csail.mit.edu/mit-museum)'

to reset the kiosk to the home page (the function relies on free form web browsing not a single pointed app that can just periodically reload)

On modern firefoxes (working with 12 now) this call always opens a new tab. What I'd like to do is close all existing tabs but one and return that one to the home page.

Is there a way to do this with a '-remote' call or do I need to kill and restart the browser?

I have a web based kiosk which I built a very long time ago (before tabbed browsing) which uses periodic calls to: firefox -remote 'openURL(http://start.csail.mit.edu/mit-museum)' to reset the kiosk to the home page (the function relies on free form web browsing not a single pointed app that can just periodically reload) On modern firefoxes (working with 12 now) this call always opens a new tab. What I'd like to do is close all existing tabs but one and return that one to the home page. Is there a way to do this with a '-remote' call or do I need to kill and restart the browser?

Soluție aleasă

in about:conifg try setting "browser.link.open_newwindow.override.external" to 1

edit: sorry, didn't read your question thoroughly, the above will only open an external url in the current tab but not reset the session

Citește acest răspuns în context 👍 1

Toate răspunsurile (1)

more options

Soluție aleasă

in about:conifg try setting "browser.link.open_newwindow.override.external" to 1

edit: sorry, didn't read your question thoroughly, the above will only open an external url in the current tab but not reset the session

Modificat în de philipp