File tree 3 files changed +22
-0
lines changed
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ when you're listening to music on various streaming websites.
19
19
* Gaana.com
20
20
* Google Play Music
21
21
* Groove Music
22
+ * HearThis.at
22
23
* Hype Machine
23
24
* iloveradio.de
24
25
* Jamstash
Original file line number Diff line number Diff line change
1
+ keySocket . init (
2
+ "hearthis" ,
3
+ {
4
+ "play-pause" : function ( ) {
5
+ if ( document . querySelector ( ".play_track" ) . className . search ( / h i d d e n / ) > 0 ) {
6
+ document . querySelector ( '.fa-pause' ) . click ( )
7
+ } else {
8
+ document . querySelector ( '.fa-play' ) . click ( )
9
+ }
10
+ } ,
11
+ "next" : function ( ) {
12
+ document . querySelector ( '.fa-fast-forward' ) . click ( )
13
+ }
14
+ // prev is omitted
15
+ // stop is omitted
16
+ }
17
+ ) ;
Original file line number Diff line number Diff line change 104
104
"matches" : [" *://music.microsoft.com/*" ],
105
105
"js" : [" plugin-api.js" , " keysocket-groovemusic.js" ]
106
106
},
107
+ {
108
+ "matches" : [" *://hearthis.at/*" ],
109
+ "js" : [" plugin-api.js" , " keysocket-hearthis.js" ]
110
+ },
107
111
{
108
112
"matches" : [" *://hypem.com/*" ],
109
113
"js" : [" plugin-api.js" , " keysocket-hypem.js" ]
You can’t perform that action at this time.
0 commit comments