diff --git a/README.md b/README.md
index c9e4e77..eccb3a5 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ Get the latest release from the [Safari Extension Gallery](https://safari-extens
## Supported sites
* [Amazon video](http://www.amazon.com/PrimeVideo)
* [CollegeHumor](http://www.collegehumor.com)
+* [CuriosityStream](http://www.curiositystream.com)
* [Hulu](http://www.hulu.com)
* [LittleThings](http://www.littlethings.com)
* [Mashable](http://www.mashable.com)
diff --git a/out/PiPer.safariextz b/out/PiPer.safariextz
index f663e22..ab053b9 100644
Binary files a/out/PiPer.safariextz and b/out/PiPer.safariextz differ
diff --git a/src/Info.plist b/src/Info.plist
index 60eb016..5ffdd41 100644
--- a/src/Info.plist
+++ b/src/Info.plist
@@ -50,6 +50,8 @@
*.amazon.ca
collegehumor.com
*.collegehumor.com
+ curiositystream.com
+ *.curiositystream.com
hulu.com
*.hulu.com
littlethings.com
diff --git a/src/scripts/main.js b/src/scripts/main.js
index 6bc479c..d6cd43d 100644
--- a/src/scripts/main.js
+++ b/src/scripts/main.js
@@ -115,6 +115,27 @@ const resources = {
return document.getElementById('vjs_video_3_html5_api');
},
},
+
+ 'curiositystream': {
+ buttonDidAppear: function() {
+ const style = document.createElement('style');
+ style.appendChild(document.createTextNode('#' + BUTTON_ID + ':hover{opacity:1!important}'));
+ document.getElementById(BUTTON_ID).appendChild(style);
+ },
+ buttonInsertBefore: function(/** Element */ parent) {
+ return parent.lastChild;
+ },
+ buttonParent: function() {
+ const e = document.getElementById('app');
+ return e && e.querySelector('div[class^="styles__controls"]');
+ },
+ buttonScale: 1.1,
+ buttonStyle: 'height:22px;width:22px;cursor:pointer;padding:0;border:0;opacity:0.8;margin-right:30px;background:transparent',
+ videoElement: function() {
+ const e = document.getElementById('app');
+ return e && e.querySelector('video[class^="styles__video"]');
+ },
+ },
'hulu': {
buttonClassName: 'simple-button',
diff --git a/update.plist b/update.plist
index eb8311e..6d213bd 100644
--- a/update.plist
+++ b/update.plist
@@ -10,7 +10,7 @@
CFBundleShortVersionString
0.1.3
CFBundleVersion
- 18
+ 21
Developer Identifier
BQ6Q24MF9X
URL