Video Element Rate Controller Re-dux

Add keyboard shortcuts that will increase/decrease the playback rate for video elements.

Dette er versioner af dette script, hvor koden er blevet opdateret. Vis alle versioner.

  • v2.4 01.06.2023

    Commented out the console logging

  • v2.3 01.06.2023

    Removed all references to Enhancer for YouTube, since they now have a listener for onPlaybackRateChanged, so any changes made using this extension will automatically sync for them; this also fixes an error that could occur since I hadn't updated the elements in a long time.
    That'll also offer a moderate speedup, since it'll no longer scan for the existence of said extension's footprints at the start.
    That also conveniently allowed me to remove one menu item.
    I also renamed the other two menu items to no longer have the extension name in them, since that's a bit overkill.
    Removed reliance on the Big library to fix floating point issues. Now it is done using the parseFloat and toFixed combination similar to how Enhancer for YouTube does it.

  • v2.2 20.04.2019 Added a keyboard shortcut to reset the playback speed to 1; said key is currently set to backslash '\'. Currently working on adding a menu command to change the keyboard shortcuts. Also, linted the code.
  • v2.1 11.08.2018 Copied in an older version with the last update. This is the new one.
  • v2.0 11.08.2018 Added a configuration menu for the adjustment rate, the display timeout, and the Enhancer for YouTube extension usage variables; fixed a few things; improved the code flow; and tried to auto detect for the extention (currently doesn't seem possible for security reasons).
  • v1.1 05.08.2018 Just changed the info
  • v1.0 05.08.2018