diff --git a/README.md b/README.md
index 873f3dc..48f1645 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,7 @@ Install from the [Chrome Web Store](https://chrome.google.com/webstore/detail/pi
* [CollegeHumor](http://www.collegehumor.com)
* [Crunchyroll](http://www.crunchyroll.com)
* [CuriosityStream](http://www.curiositystream.com)
+* [DAZN](https://www.dazn.com)
* [Disney+](http://www.disneyplus.com)
* [Eurosport player](http://www.eurosportplayer.com)
* [FuboTV](http://www.fubo.tv)
diff --git a/out/PiPer-chrome.zip b/out/PiPer-chrome.zip
index e02f213..e9f01f8 100644
Binary files a/out/PiPer-chrome.zip and b/out/PiPer-chrome.zip differ
diff --git a/out/PiPer-safari-legacy.safariextz b/out/PiPer-safari-legacy.safariextz
index 8358eaa..ac3d6ac 100644
Binary files a/out/PiPer-safari-legacy.safariextz and b/out/PiPer-safari-legacy.safariextz differ
diff --git a/out/PiPer-safari.pkg b/out/PiPer-safari.pkg
index 656ee8d..310aee9 100644
Binary files a/out/PiPer-safari.pkg and b/out/PiPer-safari.pkg differ
diff --git a/src/common/scripts/resources/dazn.js b/src/common/scripts/resources/dazn.js
index 82500cd..65e47d8 100755
--- a/src/common/scripts/resources/dazn.js
+++ b/src/common/scripts/resources/dazn.js
@@ -2,29 +2,29 @@ export const domain = 'dazn';
export const resource = {
buttonStyle: (`
- width: 1.5rem;
- height: 1.5rem;
- color: white;
- background: transparent;
- position: relative;
- border: none;
- outline: none;
- border-radius: 0;
- cursor: pointer;
- -webkit-appearance: none;
- margin: 0.5rem;
- z-index: 1;
+ width: 1.5rem;
+ height: 1.5rem;
+ color: white;
+ background: transparent;
+ position: relative;
+ border: none;
+ outline: none;
+ border-radius: 0;
+ cursor: pointer;
+ -webkit-appearance: none;
+ margin: 0.5rem;
+ z-index: 1;
`),
- buttonInsertBefore: function(parent) {
- // The Live indicator might move/cover the PiP button, just place the PiP button before it
- var liveIndicator = document.querySelector('div[data-test-id^="PLAYER_LIVE_INDICATOR"]');
- if (liveIndicator) {
- return liveIndicator;
- }
+ buttonInsertBefore: function(/** Element */ parent) {
+ // The Live indicator might move/cover the PiP button, just place the PiP button before it
+ const liveIndicator = document.querySelector('div[data-test-id^="PLAYER_LIVE_INDICATOR"]');
+ if (liveIndicator) {
+ return liveIndicator;
+ }
return parent.lastChild;
},
buttonParent: function() {
- return document.querySelector('div[data-test-id^="PLAYER_BAR"]');
+ return document.querySelector('div[data-test-id^="PLAYER_BAR"]');
},
videoElement: function() {
return document.querySelector('div[data-test-id^="PLAYER_SOLUTION"] video');
diff --git a/src/safari-legacy/update.plist b/src/safari-legacy/update.plist
index fd27043..64add83 100644
--- a/src/safari-legacy/update.plist
+++ b/src/safari-legacy/update.plist
@@ -8,9 +8,9 @@
CFBundleIdentifier
com.amarcus.safari.piper
CFBundleShortVersionString
- 1.0.4
+ 1.0.3
CFBundleVersion
- 224
+ 233
Developer Identifier
BQ6Q24MF9X
URL