Works in Windows, Linux and MacOS (Linux users, if you use imwheel, scroll down)
This repo contains modified user.js
scrolling profiles in the Profiles
.
These should also work in Librewolf and Mullvad Browser since they're firefox forks.
Just copy the code of the profile you want and paste it in your user.js
To find where your user.js
is, type about:support
in firefox and open the "Profile Directory"
Note:
If you use arkenfox and have privacy.resistFingerprinting
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.
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 this repo 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:
rpm -i imwheel
Arch:
pacman -S imwheel
Debian:
sudo apt-get install imwheel
wget https://github.com/Chillsmeit/SmoothScrollFirefox/raw/main/imwheel/imwheel.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 double 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