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

搜索 | 用户支持

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

详细了解

I want to always be able to page down using space bar, but some web pages seem to disable this.

  • 3 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I often use the space bar to page down in web pages rather than scrolling with the mouse or arrow keys, but in the last few months I've encountered a number of pages that don't seem to allow this browser feature to work. For instance, space bar doesn't page down on https://medium.com/about-work/65d4740f7a2f, although it works fine on mozilla.org and nearly all other sites. The problem is specific to particular pages, so I think it's unlikely to be an add-on problem, and it's certainly not that I've turned on caret browsing. As far as I've tested, the arrow keys still work to scroll such pages, and the mouse always works, so it seems as if space bar has been specifically disabled. (Generally the pages on which space doesn't work seem to be specialized for phones, judging by layout and font size.) Is it possible to reject whatever code is disabling my browser so that my space bar always works?

I often use the space bar to page down in web pages rather than scrolling with the mouse or arrow keys, but in the last few months I've encountered a number of pages that don't seem to allow this browser feature to work. For instance, space bar doesn't page down on https://medium.com/about-work/65d4740f7a2f, although it works fine on mozilla.org and nearly all other sites. The problem is specific to particular pages, so I think it's unlikely to be an add-on problem, and it's certainly not that I've turned on caret browsing. As far as I've tested, the arrow keys still work to scroll such pages, and the mouse always works, so it seems as if space bar has been specifically disabled. (Generally the pages on which space doesn't work seem to be specialized for phones, judging by layout and font size.) Is it possible to reject whatever code is disabling my browser so that my space bar always works?

所有回复 (3)

more options

Hi jinian,

Well there isn't any specific settings regarding the keyboard access of the scripts running on websites but there is an alternate solution for it.

By disabling JavaScript on any particular domain, this functionality didn't came bundled with firefox however you can install an addon that can help you achieve this.

Always remember if you ever want to customize the behavior of your firefox try looking up for an addon, there are lakhs of them here: https://addons.mozilla.org/

Cheers!

more options

Another possibility would be a userscript. A userscript is generally written to work on a particular site, although it also can be made to work globally on all pages.

To run a userscript, you require either the Greasemonkey extension or the Scriptish extension.

And somebody to write the script! You can propose a new userscript to the community and see whether anyone is willing to create it for you.

Ideas and Script Requests forum: http://userscripts.org/forums/2

(I searched briefly on userscripts.org but didn't see a script for this purpose posted there. Please be careful in testing scripts from the site as many recently posted scripts mess with your Facebook account when you visit FB.)

more options

I see this function prototype that references to keyCode 32, but I don't know enough to check if this is the code that causes this and how to disable/circumvent this.

z.Hq.prototype.nc = function(a) {
  return 32 == a.keyCode ? ((0,z.Op)((0,z.pq)(this.Yv ? [z.tq, z.uq] : z.uq), this.o()), a.preventDefault(), z.m) : z.s
};

z.hq = function() {
  z.Y.call(this)
};