How to avoid new tab/new window on mouse wheel middle button click?
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
การตอบกลับทั้งหมด (1)
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