Logarithmus Author


Thank you for the feedback! I'll investigate this issue. Please, use Github issues if you want to report any bugs in the future.

EDIT I've just found out that my script also breaks bandcamp.com: when I'm trying to play any album in my collection, it starts playing, but then immediately reloads the page.
I'm confused, how this little 4-liner could make this?

UPD I think that I've found the source of this issue. Some websites (ab)use <a> tag without href attribute to make buttons that execute some JavaScript code when pressed. My script adds empty href attribute to such tags, so instead of this:

<a class="track_play_auxiliary" data-trackid="3827312825">...</a>

...it starts looking like this:

<a class="track_play_auxiliary" data-trackid="3827312825" href="">...</a>

Browser interprets empty href as current page, so after pressing the button the page is updated.