SebastianSimon / firefox-omni-tweaks

A script that disables the clickSelectsAll behavior of Firefox, and more.
MIT License
43 stars 8 forks source link

New fix option: Make keyboard controls for video seek by 5 seconds as opposed to 15 seconds #12

Closed SebastianSimon closed 3 years ago

SebastianSimon commented 3 years ago

Fixes Bugzilla Bug 1668692: Change seeking increment from 15s to 5s in the built-in video controls.

This is in chrome/toolkit/content/global/elements/videocontrols.js for normal videos and actors/PictureInPictureChild.jsm for picture-in-picture videos, and s/(newval = oldval [+-]) 15;/\1 5/ as the regex, though the exact increment will probably be user-controllable. However, for the first time, this needs to edit the global omni.ja file, not the browser/omni.ja! Also, this will be the first option to accept a specified value.