beaufortfrancois / spotify-hotkeys-chrome-extension

Spotify Web Player Hotkeys Chrome Extension
https://chrome.google.com/webstore/detail/kimlaecdbfehihbiieeaeelbdkahophn
95 stars 31 forks source link

updated commands to work on latest chrome and spotify web player #29

Open AaronPinto opened 3 years ago

AaronPinto commented 3 years ago

Hi, I noticed this had stopped working recently, and I fixed it. Feel free to make any changes to my commit.

Thoralf-M commented 3 years ago

Thanks @AaronPinto, I'm having German as language and needed to replace code = 'document.querySelector("[title=\\"Previous\\"]").click()'; with code = 'document.querySelector(".bc13c597ccee51a09ec60253c3c51c75-scss").click()'; to get that part working

AaronPinto commented 3 years ago

@Thoralf-M I've fixed the command codes to use the button class names, so the extension should be language-agnostic now.

AaronPinto commented 3 years ago

@beaufortfrancois would you be able to take a look at this and merge it?

beaufortfrancois commented 3 years ago

My Chrome extension has been taken down sadly. See https://chrome.google.com/webstore/detail/kimlaecdbfehihbiieeaeelbdkahophn

AaronPinto commented 3 years ago

Right, but users can still load the unpacked extension after they clone this repository.