Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i 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.

Læs mere

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

  • 3 svar
  • 2 har dette problem
  • 1 visning
  • Seneste svar af 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?

Alle svar (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)
};