But imagine how cool it would be if that worked on *any* html element 
-
-
-
For picture-in-picture? Do you have a use-case in mind? :)
- Još 4 druga odgovora
Novi razgovor -
-
-
I use a little bookmarklet to toggle PiP back and forth :) javascript:document.pictureInPictureElement === null ? Array.from(document.querySelectorAll('video')).find(v => !v.paused).requestPictureInPicture() : document.exitPictureInPicture();
- Kraj razgovora
Novi razgovor -
-
-
Good choice of video. I will get around to watching it some day.
-
$0.playbackRate = 16 to the rescue
Kraj razgovora
Novi razgovor -
-
-
Why chrome does not support playbackRate with negative values, like -1. Safari does and it can be so useful in animations.
-
Here's the relevant spec issue https://github.com/whatwg/html/issues/3754 … in case you'd like to chime in there. Is the use case reverse playback without relying on currentTime?
- Još 4 druga odgovora
Novi razgovor -
-
-
Knowing that the number is the index of the inspect history also brings up tricks like using
$0.append($1) to reattach the before last inspected node to the last inspected node.
if you forgot a password & don't want to go to settings I do on filled pw fields:
$0.value()Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
But buy today. Goes back up to $2 January 2nd!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
• Lighthouse, PageSpeed Insights, DevTools • Founder TeeJungle
Get the last element you inspected:
$0
If it's a <video>...
Change playback speed:
$0.playbackRate = 2
Show picture-in-picture mode:
$0.requestPictureInPicture()