Files
ext-amnp/content.js
Sophia Atkinson 89c26b2fd1 Changed up redundant code, and fixed the pause bug
The issue with the 5 min pause bug was that the pause function was not properly resetting the state of the artwork, So it would say its not playing, while showing the artwork as if it was playing.

And the redundant code was just a few lines that were repeated in multiple places, so I consolidated them into a single function to improve maintainability.

Who made Javascript? Why is it so hard. 😭
2025-06-23 13:57:41 -07:00

6.1 KiB