為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 5 回覆
  • 1 有這個問題
  • 23 次檢視
  • 最近回覆由 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?

所有回覆 (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.

由 abush 於 修改

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.