mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
Fixed full screen issue on Vimeo
This commit is contained in:
@@ -65,10 +65,17 @@ chrome.extension.sendMessage({}, function(response) {
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
// Prevent full screen mode on YouTube
|
||||||
container.addEventListener('dblclick', function(e) {
|
container.addEventListener('dblclick', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
// Prevent full screen mode on Vimeo
|
||||||
|
container.addEventListener('mousedown', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
e.stopPropagation();
|
||||||
|
}, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function runAction(action) {
|
function runAction(action) {
|
||||||
|
Reference in New Issue
Block a user