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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.