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!

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Javascript void links open in new blank tab while in SSB / App Mode

  • 5 respostas
  • 1 tem este problema
  • 23 visualizações
  • Última resposta por abush

more options

Possible bug report: I'm using SSB / App Mode for https://outlook.office.com. While in SSB mode, when clicking on links with HREF="javascript:void(0);" the javascript action executes correctly in the SSB window but Firefox also opens up a new blank tab in the main Firefox window.

(Expected behaviour is no new tab/window opened. Expected behaviour happens when accessing the same site in a regular Firefox tab/window.)

I realise SSB is stlil in development so might not be a fix for this?

Possible bug report: I'm using SSB / App Mode for https://outlook.office.com. While in SSB mode, when clicking on links with HREF="javascript:void(0);" the javascript action executes correctly in the SSB window but Firefox also opens up a new blank tab in the main Firefox window. (Expected behaviour is no new tab/window opened. Expected behaviour happens when accessing the same site in a regular Firefox tab/window.) I realise SSB is stlil in development so might not be a fix for this?

Todas as respostas (5)

more options

Does this also happen if you open the Outlook website via a desktop shortcut with the "--ssb url" command line switch and no other Firefox windows open ?

more options

I've tried that, but can't test it as I've encountered another issue. Both the default SSB desktop shortcut created by Firefox, plus an additional one I created with the --ssb url command switch you recommended, will not load the website unless another Firefox window is already open. If other Firefox windows are closed, both desktop shortcuts open up an empty SSB window with the relevant window title, but the content within the window never loads.

more options

So I worked out that some add-ons were preventing the SSB Outlook window from loading, if the main Firefox window was not already open. I disabled all add-ons and was able to open the Outlook website with the "--ssb url" switch.

cor-el said

Does this also happen if you open the Outlook website via a desktop shortcut with the "--ssb url" command line switch and no other Firefox windows open ?

The same issue with javascript void links still happened.

Modificado por abush a

more options

I think that they give up with this SSB feature.

See bug 1682593.

more options

Oh OK thanks for that, I didn't realise. I guess the bugs are here to stay.