Skip to content

pressing like causes infinite async loop of solvepuzzle method #1153

@8bit-meiko

Description

@8bit-meiko

Have you tried to find similar issues (open or recently closed)?

  • Yes, this issue is not a duplicate

Browser

firefox

Browser Version

138.0.4

Extension or Userscript?

Extension

Extension/Userscript Version

3.0.0.18

Video link where you see the problem

https://www.youtube.com/watch?v=8X2dL1d_C8s

What happened?

when i press like on any uploaded video, the plugin performs the solvepuzzle method, but it infinite loops and causes high single thread cpu usage as it does not stop by itself.

attached are 2 screenshots of my about:performance breakdown whats happening.

Image Image

initially i got fooled by thinking the extention has a cryptominer baked in (blaming myself for jumping to conclusions and not diving into the root cause)

what should be happening: the solvepuzzle method to not repeat infinitely.

How to reproduce/recreate?

press like on any video, see the extention's cpu usage go up on a single thread by the infinite loop.

other extentions that i run (affecting youtube) for transparency: ublock origin, dark reader and nuxify.

Will you be available for follow-up questions to help developers diagnose & fix the issue?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions