Tries to deliver a smoother scrolling experience in Firefox
Works in any OS, and Firefox forks (Librewolf, Mullvad browser, etc)
Just copy this repository user.js
to your Firefox profile folder
How do you find you Firefox profile folder?
In the Firefox address bar type about:support
and click "Open Directory" in Profile Directory
If you use Arkenfox, Librewolf or Mullvad:
When privacy.resistFingerprinting
is set to True
, it will interfere with scrolling "smoothness" since it locks the framerate to 60hz.
This should only be noticeable in monitors with a higher refresh rate.*
The user.js by default sets it to false.
Check the Firefox Tweaks
folder in this repo
Shorter flexible spaces like this:
Smaller and less intrusive PiP icon that shows up in the upper left corner in videos:
(the first time the Pip icon shows up can be a bit bugged. Just click on it the first time and restart your browser)
To enable these changes, type about:support
in the firefox address bar and open the Profile Directory
Create a folder called chrome
, inside this folder create two files called userChrome.css
and userContent.css
.
Copy and paste the contents in the repo folder Firefox Tweaks/Chrome
to your respective files.
These are also available in the tweaks.js
file in the Firefox Tweaks
folder in this repo.
You can copy the contents you want from it and paste it into your user.js
in your profile folder.
You can also change these in about:config
:
Disable WebRTC (this leaks your IP address even if you use a VPN but some websites need it):
set media.peerconnection.enabled
to False
Disable ALT opening firefox menu:
set ui.key.menuAccessKeyFocuses
to False
Enable autoscrolling for Linux:
set general.autoScroll
to True
Make Firefox UI look bigger without using global scalling:
set layout.css.devPixelsPerPx
to 1.15
I made a profile to be used alongside imwheel for firefox.
This is for people that want to use imwheel in firefox in speed 2 only.
imwheel let's you change your scrolling speed in Linux, you'll need it if you feel like your scrolling speed is too slow.
Fedora:
sudo dnf install imwheel
Arch:
sudo pacman -S imwheel
Debian:
sudo apt-get install imwheel
wget https://github.com/Chillsmeit/SmoothScrollFirefox/raw/main/Linux_imwheel/imwheelSetGlobalSpeed.sh
Make it executable:
chmod +x imwheel.sh
Run the script:
./imwheel.sh
The example script will show a simple GUI with zenity to edit the multiplier you wanna add to your scroll speed.
For this profile to work correctly, please use speed 2.
If your OS supports adding apps/commands directly to the startup, just use that, if not, create a script in /etc/profile.d/
The command to run imwheel on startup would be: imwheel -kill -b "4 5"
(By adding -kill -b "4 5" in the end, it will start imwheel and only change the mousewheel. This way it won't interfere with the forward and backward buttons in your mouse)
If you want to change the scrolling speed on a per app basis instead, you can do the following:
touch .imwheelrc && nano .imwheelrc
Remove the contents that were created by the script (if you used it before) and add the Apps class like this instead:
This way, imwheel will only change the mouse speed to 2x on the specific Apps you chose.
"^(discord-screenaudio|discord|steam)$"
None, Up, Button4, 2
None, Down, Button5, 2
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L, Up, Shift_L|Button4
Shift_L, Down, Shift_L|Button5
To know the window class name in x11/Xorg you can type the following in terminal and then click the window you want:
xprop | grep WM_CLASS