Commit e1bb8cc
authored
Fix ad detection (#19)
Changes Spotify ad detection to use newly added data attribute.
Attribute 'data-testid' was split into 'data-testid' ('now-playing-bar' during both playback and ads) and 'data-testadtype' ('ad-type-none' during playback, 'ad-type-ad' during ad).
Tested locally on Chrome.
Fixes #181 parent 12d04f6 commit e1bb8cc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments