Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How to disable spacebar scrolling/pagedown?

  • 4 ответа
  • 2 имеют эту проблему
  • 685 просмотров
  • Последний ответ от Omnimode

more options

Now that keyconfig extension is no longer compatible with the recent browser version. Is there anyway to disable spacebar as pagedown to prevent it from scrolling?

Now that keyconfig extension is no longer compatible with the recent browser version. Is there anyway to disable spacebar as pagedown to prevent it from scrolling?

Выбранное решение

I created a user script which I think prevents this. A user script is a snippet of code that is run in the context of the web page. You can apply userscripts using any of these extensions (you only need one):

The script:

https://greasyfork.org/en/scripts/38545-prevent-spacebar-doing-page-down

Прочитайте этот ответ в контексте 👍 1

Все ответы (4)

more options

Sounds more like a keyboard problem then a Browser issue. A working Browser will not do what your saying.

more options

WestEnd said

Sounds more like a keyboard problem then a Browser issue. A working Browser will not do what your saying.

Hi WestEnd, if you click on an empty area of a page, not in a form field, the space bar works like Page Down, and Shift+Spacebar works like Page Up. At least that's what I see on Windows 7.

more options

Выбранное решение

I created a user script which I think prevents this. A user script is a snippet of code that is run in the context of the web page. You can apply userscripts using any of these extensions (you only need one):

The script:

https://greasyfork.org/en/scripts/38545-prevent-spacebar-doing-page-down

more options

jscher2000 said

I created a user script which I think prevents this. A user script is a snippet of code that is run in the context of the web page. You can apply userscripts using any of these extensions (you only need one): The script: https://greasyfork.org/en/scripts/38545-prevent-spacebar-doing-page-down

Thanks for giving me an idea. I changed it to (key.keyCode === 32) for it to work though.