We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea63ad commit f60428eCopy full SHA for f60428e
devtools-snippets/jumpToEndOfVideo.js
@@ -0,0 +1,8 @@
1
+// jumpToEndOfVideo.js
2
+// https://github.com/0xdevalias/userscripts/tree/main/devtools-snippets
3
+// Sets the current time of all video elements to their respective duration (end time)
4
+
5
+Array.from($$('video')).forEach(videoElement => {
6
+ videoElement.currentTime = videoElement.duration;
7
+ console.log(videoElement.currentTime);
8
+})
0 commit comments