Skip to content

Commit

Permalink
feat(deezer): support new deezer design
Browse files Browse the repository at this point in the history
* support new deezer design
* support new deezer design - swap prev/next keys
* simplify deezer controls selector
* support new deezer design - fix lint warnings

closes #59
  • Loading branch information
shakhraj authored and GabeDuarteM committed Sep 26, 2018
1 parent eeeaec3 commit bab4099
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ const players: Player[] = [
},
{
controlQueries: {
next: '.control.control-next',
play: '.control.control-play',
prev: '.control.control-prev',
next:
'.control.control-next, .player-controls .svg-icon-group-item:nth-of-type(5) button',
play:
'.control.control-play, .player-controls .svg-icon-group-item:nth-of-type(3) button',
prev:
'.control.control-prev, .player-controls .svg-icon-group-item:nth-of-type(1) button',
},
default: false,
tabQuery: '*://*.deezer.com/*',
Expand Down

0 comments on commit bab4099

Please sign in to comment.