Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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)
};