Skip to content

Commit

Permalink
Add rekt.network connector (#2507)
Browse files Browse the repository at this point in the history
  • Loading branch information
lebbe committed Aug 3, 2020
1 parent db7604f commit 01075ef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/connectors/rekt.network.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

// A more specific selector simply wouldn't work
Connector.playerSelector = 'body';

Connector.artistTrackSelector = '#npTitle';

Connector.playButtonSelector = '#playerPlay';
7 changes: 7 additions & 0 deletions src/core/connectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,13 @@ const connectors = [{
],
js: 'connectors/epidemicsound.js',
id: 'epidemicsound',
}, {
label: 'Rekt Network',
matches: [
'*://rekt.network/*',
],
js: 'connectors/rekt.network.js',
id: 'rektnetwork',
}, {
label: 'Nightride FM',
matches: [
Expand Down

0 comments on commit 01075ef

Please sign in to comment.