diff --git a/README.md b/README.md index ce3b017..4a5b72e 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ Install from the [Chrome Web Store](https://chrome.google.com/webstore/detail/pi * [Video Aktálně](http://video.aktualne.cz) * [Vier](http://www.vier.be) * [Vijf](http://www.vijf.be) +* [VK](http://www.vk.com) * [VRV](http://www.vrv.co) * [VRT NU](http://www.vrt.be/vrtnu/) * [Yelo Play](http://www.yeloplay.be) diff --git a/out/PiPer-chrome.zip b/out/PiPer-chrome.zip index d28597a..0c7a74c 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 2ffb5d3..c2aaa67 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 d9302ce..9169e24 100644 Binary files a/out/PiPer-safari.pkg and b/out/PiPer-safari.pkg differ diff --git a/src/common/scripts/resources/vk.js b/src/common/scripts/resources/vk.js new file mode 100644 index 0000000..1188ad5 --- /dev/null +++ b/src/common/scripts/resources/vk.js @@ -0,0 +1,20 @@ +export const domain = 'vk'; + +export const resource = { + buttonClassName: 'videoplayer_btn', + buttonElementType: 'div', + buttonInsertBefore: function(/** Element */ parent) { + return document.querySelector('div.videoplayer_btn_fullscreen'); + }, + buttonStyle: /** CSS */ (` + width: 24px; + height: 45px; + padding: 0 8px; + `), + buttonParent: function() { + return document.querySelector('div.videoplayer_controls'); + }, + videoElement: function() { + return document.querySelector('video.videoplayer_media_provider'); + }, +}; \ No newline at end of file diff --git a/src/safari-legacy/update.plist b/src/safari-legacy/update.plist index bd4fe63..eba3d9c 100644 --- a/src/safari-legacy/update.plist +++ b/src/safari-legacy/update.plist @@ -10,7 +10,7 @@ CFBundleShortVersionString 1.0.3 CFBundleVersion - 218 + 219 Developer Identifier BQ6Q24MF9X URL