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

搜索 | 用户支持

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

详细了解

Middle click on link prevents auto scroll

  • 9 个回答
  • 5 人有此问题
  • 3 次查看
  • 最后回复者为 Arccosine

more options

I'm most likely the minority based on search results, but I use auto scroll quite a bit and find it frustrating that middle clicking on a link will prevent auto scroll. Sites with clickable backgrounds for instance, is where this becomes painfully obvious, since you'll get a new tab pop up with whatever was being advertised instead of scrolling the page!

Disabling the middle click for opening new links is fine with me if that solves the problem, since I instead drag links using an add-on for additional control/functionality anyway. I just haven't found a way to do that... only to control whether the tab opens in the foreground or the background.

What I believe would probably work best by default, would be if auto scroll got enabled if the middle mouse button is held and the cursor moves beyond a certain threshold before the button is released, regardless of whether you click on a link or not. If it didn't pass the threshold when the middle button is released it'll open the link in a new tab, providing of course that one is clicked.

If anybody knows of a way to accomplish this via about:config, an add-on or whatever, that would be awesome. Thanks!

I'm most likely the minority based on search results, but I use auto scroll quite a bit and find it frustrating that middle clicking on a link will prevent auto scroll. Sites with clickable backgrounds for instance, is where this becomes painfully obvious, since you'll get a new tab pop up with whatever was being advertised instead of scrolling the page! Disabling the middle click for opening new links is fine with me if that solves the problem, since I instead drag links using an add-on for additional control/functionality anyway. I just haven't found a way to do that... only to control whether the tab opens in the foreground or the background. What I believe would probably work best by default, would be if auto scroll got enabled if the middle mouse button is held and the cursor moves beyond a certain threshold before the button is released, regardless of whether you click on a link or not. If it didn't pass the threshold when the middle button is released it'll open the link in a new tab, providing of course that one is clicked. If anybody knows of a way to accomplish this via about:config, an add-on or whatever, that would be awesome. Thanks!

所有回复 (9)

more options

Hi,

I've heard that this addon does the trick : https://addons.mozilla.org/en-US/firefox/addon/tabbrowser-preferences

Hope this helps!

Curtis

more options

Thanks for the suggestion Curtis. It didn't help me in this case, but I appreciate the effort.

more options

Try setting these to false in about:config: middlemouse.openNewWindow browser.tabs.opentabfor.middleclick

Worth a try!

Curtis

more options

Definitely worth a try! No luck though. I even tried with all of my add-ons disabled after noticing some other entries with 'middle' listed, like this one for Screen Grab... extensions.screengrab.buttonClickMiddleGeneral. At least now I know that it's not caused by any of the add-ons that I'm using.

more options

How about these three?


user_pref("browser.tabs.opentabfor.middleclick", false);

user_pref("middlemouse.openNewWindow", false);
user_pref("middlemouse.contentLoadURL", false);

Curtis

more options

Tried multiple combinations of those (including setting all of them to false) with add-ons disabled, but the only noticeable change was that links opened in new windows rather than new tabs.

Thanks again for the help Curtis. Don't worry too much about it though. It's only mildly annoying for me and really after all these years I'm used to it! Just figured that it was about time that I actually asked about it.

more options

I'll keep looking!

more options

You would have to disable the middle-click for links.

Maybe Tab Mix Plus can do that.

more options

I've found (atleast in Ubuntu 13.10) that changing general.autoScroll to true works.