Makes the YouTube music volume slider exponential so it's easier to select lower volumes.
Bunlar bu scriptin güncellenmiş kod versiyonlarıdır. Bütün versiyonları göster.
just improved the source code documentation.
- Use another method to get rid of calculation inaccuracy so the volume bar does not jitter.- Increase default exponent to the same value that pulseaudio uses as by feedback of Barteks2x.
YouTube changed the volume slider a bit again and the manipulation broke the volume slider when dragging it. In this new version, I manipulate the low level Browser API instead of YouTubes API, so this script could work on every website that uses HTML audio/video. There still seem to be some rounding errors when dragging the volume slider, but it mostly works.
I manipulated the api a little more consistently which has the following effects:- The volume slider now works with the mouse wheel again- The volume seems to be correctly stored between session now- The lowest volume setting (5%) now manipulates to 1%, not 0%