This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Prevent site to change mouse behavior

  • 3 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 4 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย jscher2000 - Support Volunteer

more options

Some sites override a middle mouse click on a link and treat it as a left click. Therefore, instead of opening the link on a new tab, it opens on the same tab

How to stop that ?


(Please don't ask for a example site, because the only one I remember right now is a very NSFW)

Some sites override a middle mouse click on a link and treat it as a left click. Therefore, instead of opening the link on a new tab, it opens on the same tab How to stop that ? (Please don't ask for a example site, because the only one I remember right now is a very NSFW)

เปลี่ยนแปลงโดย LucasBS เมื่อ

การตอบกลับทั้งหมด (3)

more options

I think that's rare: usually the middle-click works reliably and only the Ctrl+left-click is overridden (typically by a script attached to the link).

Does right-click > Open Link in New Tab work, or have the same problem?

If there's no built-in solution, you might be able to find an extension or Greasemonkey user script that strips the script handler off of the links.

more options

The site also abducts the right click menu (opens the link)

What script would you suggest ?

- The add-on "Right to click" breaks many functionalities (like hover action) - The add-on "Controle de scripts" (the most popular out there) does nothing

And of course, Mozilla, doing their part on ruining my day, made the unexplainably stupid decision of removing script controls from the "content" page on the FF options, since FF26

more options

I don't have an immediate suggestion since various sites use different techniques.

And the advanced script settings were removed in Firefox 23, not Firefox 26. For corresponding entries in about:config, see: https://support.mozilla.org/questions/967108#answer-464407