搜尋 Mozilla 技術支援網站

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

了解更多

Why when i right-click on a link goes direct to the page instead of giving me menu to allow open in new tab

  • 1 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 blurker

more options

On certain webpage like, only certain links dont allow right click menu but open link in same tab window instead. Ctrl leftclick or middle button act the same.

Example is this webpage: https://ceddit.com/r/news/ Links on the right side of webpage act that way: /r/inthenews /r/worldnews /r/politics new comments

Links on the left work as they should. (right click opens menu, middle button/ctrl leftclick open link in new tab)

"about:config" and setting "dom.event.contextmenu.enabled" to "false" also doesnt fix the problem

setting "clicking options open links in a new window" in reddit preferences also doesnt change behavior

On certain webpage like, only certain links dont allow right click menu but open link in same tab window instead. Ctrl leftclick or middle button act the same. Example is this webpage: https://ceddit.com/r/news/ Links on the right side of webpage act that way: /r/inthenews /r/worldnews /r/politics new comments Links on the left work as they should. (right click opens menu, middle button/ctrl leftclick open link in new tab) "about:config" and setting "dom.event.contextmenu.enabled" to "false" also doesnt fix the problem setting "clicking options open links in a new window" in reddit preferences also doesnt change behavior

所有回覆 (1)

more options

Uh seems that you have to be logged into reddit for this link to work properly.

Also here are example links html:

Link from left that works normally: <a id="ember723" class="ember-view active" href="/r/news">/r/news</a> Link from right that no matter how you click on it open link in new window: <a href="/r/inthenews?hl">/r/inthenews</a>