How to disable spacebar scrolling? (READ DESCRIPTION FIRST)

Channel:
Subscribers:
316
Published on ● Video Link: https://www.youtube.com/watch?v=qJhh3thWOjg



Category:
Guide
Duration: 0:24
6,808 views
30


#SpacebarScrolling #Tempormonkey #Chrome

First, you have to install Tampermonkey from Chrome web store:
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo

And then download the script here.
https://cdn.discordapp.com/attachments/554307849812049979/1104943410370064404/Disable_Spacebar_Scrolling.js

And just follow what I did in my video.

If there's a number next to tampermonkey's icon, then it means the script is working properly. If not, you might have to refresh the page, or check if the "// @match" and "// @exclude" in the header are used correctly

Reminder:
There's a known issue that the script will stop spacebar from working in Youtube comment textbox. It's because the script only allows spacebar when you're interacting with HTML default text areas. However, on Youtube, the entire application is a CSS object on its own, so it's really difficult to find the exact comment textbox you're interacting with. Therefore I suggest adding this line in the header to stop the script from running on youtube and remove the space between "youtube." and "com":
"// @exclude https://*youtube. com/*"

Reminder 2.0:
It's also known that the script doesn't work on Opera. The reason for that is there are a few functions that I'm afraid might not work on Opera, and that is "document.body.dispatchEvent()" at line 19 and "document.addEventListener()" at line 40. I'm not sure if there's an alternative way because I'm not familiar with JavaScript. If you know how to fix this, please let me know!

Feel free to make a comment whenever you get into a trouble with the script!

You may also contact me by joining my server https://discord.gg/gCAXkhevsY and then DMing me @tataowo, my DMs are always open!