Greasy Fork is available in English.

Youtube Player perf

Optimizes animation calls for lower GPU/CPU consumption

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

  • v0.7 09.08.2023

    Update internal function references (Automatic reference detection coming soon:tm:)

  • v0.6 04.08.2023

    YouTube updated their code (again). I'll figure out a way to make this somehow automatically live patch the code some time

  • v0.5 04.08.2023
    • Fixed broken update (YouTube updated their code)
    • Chapter counting algorithm broke (again, YouTube now defers chapter loading)
    • Now updates the bar when mouse is hovering directly over the scrubber (the red bar)
    • Improve updates by caching scale operations of 0 and 1 (when there are a lot of chapters, it does less updates, making the perf boost even more)
  • v0.4-beta 29.07.2023

    beta release for chapter rendering fix

  • v0.3 28.07.2023

    Whoops, forgot @run-at

  • v0.2 28.07.2023

    ## v0.2

    Updated because YouTube updated their codebase (this script taps into non-apis unlike YouTube CPU tamer). Expect changes like these to happen frequently

    ## v0.1

    Created

  • v0.1 23.07.2023