Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ubershmekel/default-scrollbar
Fix the sites that try to change your scrollbar by deleting the scrollbar CSS rules every few seconds
https://github.com/ubershmekel/default-scrollbar
Last synced: 5 days ago
JSON representation
Fix the sites that try to change your scrollbar by deleting the scrollbar CSS rules every few seconds
- Host: GitHub
- URL: https://github.com/ubershmekel/default-scrollbar
- Owner: ubershmekel
- License: mit
- Created: 2020-11-09T17:10:22.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T05:11:44.000Z (over 2 years ago)
- Last Synced: 2024-08-01T16:44:26.069Z (3 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# default-scrollbar
Get your default scrollbar back!
This extension fixes the custom scrollbars that some sites have by deleting scrollbar CSS rules.
# Development
## How it works
Based on the answer here https://superuser.com/questions/380629/is-there-a-way-to-disable-custom-webkit-scrollbars/1585452#1585452
I just run it in a setInterval.
## To regenerate icons
```
SIZE=48 ffmpeg -i wheel_128.png -vf scale=$SIZE:$SIZE wheel_$SIZE.png
SIZE=32 ffmpeg -i wheel_128.png -vf scale=$SIZE:$SIZE wheel_$SIZE.png
SIZE=16 ffmpeg -i wheel_128.png -vf scale=$SIZE:$SIZE wheel_$SIZE.png
```## Chrome extension
I followed this tutorial: https://developer.chrome.com/extensions/getstarted
# License
MIT