We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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.