Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

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.

Learn More

How to avoid new tab/new window on mouse wheel middle button click?

  • 1 phendula
  • 1 inayo le ngxaki
  • 10 views
  • Impendulo yokugqibela ngu sureshbuzz

more options

When i am trying to click on scroll mouse middle button. It is opening new Tab. As per the existing solutions i modified browser.tabs.opentabfor.middleclick value to false.

After changing browser.tabs.opentabfor.middleclick value to false. IT is opening as new window. Check the event.which and used event.preventdefault/stopPropagation still it is opening new tab/window

Changed middlemouse.openNewWindow to false. Still no use.. Looking for the solution to avoid tabs on on mouse scroll click.

Thanks in Advance, Regards, Suresh

When i am trying to click on scroll mouse middle button. It is opening new Tab. As per the existing solutions i modified browser.tabs.opentabfor.middleclick value to false. After changing browser.tabs.opentabfor.middleclick value to false. IT is opening as new window. Check the event.which and used event.preventdefault/stopPropagation still it is opening new tab/window Changed middlemouse.openNewWindow to false. Still no use.. Looking for the solution to avoid tabs on on mouse scroll click. Thanks in Advance, Regards, Suresh

All Replies (1)

more options

sureshbuzz said

When i am trying to click on scroll mouse middle button. It is opening new Tab. As per the existing solutions i modified browser.tabs.opentabfor.middleclick value to false. After changing browser.tabs.opentabfor.middleclick value to false. IT is opening as new window. Implemented the code to check the event.which and used event.preventdefault/stopPropagation still it is opening new tab/window Changed middlemouse.openNewWindow to false. Still no use.. Looking for the solution to avoid tabs on mouse scroll click. Thanks in Advance, Regards, Suresh